/* tracer2-1 (Tom, 2026-11-12): the PDP v4 look for the add-to-cart box (#product) only.
   Same markup, same toggle, same cart behavior. Loaded on /tracer2-1 only (nox-tracer2-1.php).
   Every rule starts with #product so it beats the theme's and the Upsells card's own class rules. */

#product {
	--t1-tb: #0a8fcc;            /* PDP v4 button blue */
	--t1-tint: #e7f3fa;          /* selected fill */
	--t1-panel: #eef4f8;         /* panel behind size, add-on and Add to cart */
	--t1-line: #d4d4da;
	--t1-ink: #0c0d0d;
	--t1-mute: #6b6b78;
	--t1-lime: var(--wp--preset--color--tertiary, #ccff00);
	--t1-head: var(--wp--preset--font-family--headline, "Rift", "Arial Narrow", sans-serif);
}

/* ---- one light panel: size, the Lamp card, qty + Add to cart ---- */
#product form.variations_form {
	margin: 4px 0 0;
	padding: 18px 16px 20px;
	border-radius: 18px;
	background: var(--t1-panel);
}
#product .variations { margin: 0; }
/* old local-only label ("Light Your Path:") that live no longer prints */
#product .variations > div:not([class]) { display: none; }

/* ---- size ---- */
#product .variations > .grid { row-gap: 10px; }
#product .select-size {
	margin: 0 0 2px;
	font-family: var(--t1-head);
	font-size: 1rem;
	letter-spacing: .1em;
	color: var(--t1-ink);
}
#product .variations .margin-bottom-sm { margin-bottom: 0; }
#product .variations .text-xs a { font-size: .85rem; color: var(--t1-tb); }
#product .variation-radio { margin-bottom: 0; }
#product .variation-radio fieldset { margin: 0; padding: 0; border: 0; }
#product .variation-radio ul.c-list--inline {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
#product .variation-radio ul.c-list--inline > li { margin: 0; padding: 0; }
#product .variation-radio .form-option { position: relative; display: block; width: 100%; margin: 0; }
#product .variation-radio .form-option label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	margin: 0;
	border: 1.5px solid var(--t1-line);
	border-radius: 12px;
	background: #fff;
	color: var(--t1-ink);
	font-family: var(--t1-head);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
#product .variation-radio .form-option label:hover { border-color: #9a9aa6; }
#product .variation-radio .form-option input:checked + label {
	border: 2px solid var(--t1-tb);
	background: var(--t1-tint);
	color: var(--t1-ink);
}
#product .variation-radio .form-option input:focus-visible + label { outline: 3px solid var(--t1-ink); outline-offset: 2px; }
#product .variation-radio .form-option label::before,
#product .variation-radio .form-option label::after { display: none; }
#product .reset_variations { font-size: .8rem; color: var(--t1-mute); }

/* phones and tablets: label + Size Guide on one line, the three sizes full width under it */
@media (max-width: 63.99rem) {
	#product .variations > .grid > .col-4 {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		flex: 0 0 100%;
		max-width: 100%;
	}
	#product .variations > .grid > .col-8 { flex: 0 0 100%; max-width: 100%; }
}

/* ---- the Lamp add-on card (Upsells plugin markup; the switch works as before) ---- */
#product .nox-pa { --pa-primary: var(--t1-tb); --pa-tint: var(--t1-tint); margin: 18px 0 16px; }
#product .nox-pa--tag { margin-top: 22px; }
#product .nox-pa__card {
	padding: 16px 14px 14px;
	border: 1.5px solid var(--t1-line);
	border-radius: 14px;
	background: #fff;
}
#product .nox-pa.is-on .nox-pa__card {
	border: 2px solid var(--t1-tb);
	background: var(--t1-tint);
	padding: 15.5px 13.5px 13.5px;
}
#product .nox-pa__tag {
	left: 14px;
	padding: .38em .75em;
	border-radius: 999px;
	background: var(--t1-tb);
	font-size: 10.5px;
}
#product .nox-pa__badge {
	padding: .32em .65em .28em;
	border-radius: 999px;
	background: linear-gradient(120deg, #e04fb5 0%, #8b5cf6 55%, #2b97f3 100%);
	font-size: 9.5px;
}
#product .nox-pa__img { border-radius: 10px; border-color: var(--t1-line); }
#product .nox-pa__name-link { color: var(--t1-ink); }
#product .nox-pa p.nox-pa__name { font-size: 15.5px; }
#product .nox-pa p.nox-pa__blurb { color: var(--t1-mute); }
#product .nox-pa__switch:checked { background: var(--t1-tb); }
#product .nox-pa.is-on label.nox-pa__swlbl { color: var(--t1-tb); }

/* ---- qty + Add to cart on one row ---- */
#product .variations_button {
	display: flex;
	align-items: stretch;
	gap: 10px;
	margin: 0 !important;
	padding: 0;
}
#product .variations_button > .qty-enhanced,
#product .variations_button > .col-6 { flex: 0 0 auto; max-width: none; width: auto; padding: 0; margin: 0; }
#product .variations_button > .col-6.text-right { flex: 1 1 auto; text-align: left; }
#product .form-qty { display: flex; align-items: center; }
#product .form-qty__label {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
#product .form-qty .quantity { margin: 0; }
#product .form-qty__input {
	display: flex;
	align-items: center;
	height: 56px;
	border: 1.5px solid var(--t1-line);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}
#product .form-qty__input input.qty {
	order: 1;
	width: 34px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--t1-head);
	font-size: 1.3rem;
	text-align: center;
	-moz-appearance: textfield;
}
#product .form-qty__input input.qty::-webkit-outer-spin-button,
#product .form-qty__input input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#product .form-qty__input .btn {
	position: relative;
	width: 38px;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent;
	color: var(--t1-ink);
}
#product .form-qty__input .btn-decrement { order: 0; }
#product .form-qty__input .btn-increment { order: 2; }
#product .single_add_to_cart_button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	height: 100%;
	padding: 0 1em;
	border: 0;
	border-radius: 14px;
	background: var(--t1-tb);
	color: #fff;
	font-family: var(--t1-head);
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1;
}
#product .single_add_to_cart_button:hover,
#product .single_add_to_cart_button:focus-visible { background: #087bb0; color: #fff; }
#product .single_add_to_cart_button.disabled { opacity: 1; cursor: pointer; }
#product .single_variation:empty { display: none; }

/* ---- Buy with Prime ("OR") stays as is, just spaced ---- */
#product .amz_bwp_wrapper { margin-top: 14px; }

/* ---- title block, as on PDP v4 (tracer2-1.js builds .t1-headrow) ---- */
#product p.feature--price { display: none; }
#product .t1-headrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
#product .t1-headl { display: grid; gap: 10px; min-width: 0; }
#product .t1-headr { flex: none; display: grid; justify-items: end; gap: 6px; padding-top: 2px; }
#product .t1-headl h1 { display: grid; gap: 10px; margin: 0; font-size: 1rem; line-height: 1; }
#product .t1-wm { display: block; width: auto; height: clamp(30px, 8.6vw, 40px); max-width: 100%; }
#product .t1-headl h1 small {
	display: block; margin: 0;
	font-family: var(--t1-head); font-weight: 700; font-style: italic; text-transform: uppercase;
	letter-spacing: .03em; font-size: clamp(1.25rem, 5.4vw, 1.6rem); line-height: 1; color: var(--t1-ink);
}
#product .t1-headl > .flex { margin: 0; }
#product .t1-headl .trustspot-inline-star,
#product .t1-headl .trustspot-inline-star .ts-star { color: #f5a400 !important; }
#product .t1-headl .ts-reviews-count {
	color: var(--t1-ink) !important; font-size: 1rem; text-transform: lowercase;
	text-decoration: underline; text-decoration-color: rgba(12, 13, 13, .6); text-underline-offset: 3px;
}
#product .t1-save {
	display: inline-block;
	padding: .32em .6em;
	border-radius: 6px;
	background: var(--t1-lime);
	color: var(--t1-ink);
	font-family: var(--t1-head);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1;
}
#product .t1-headr p.price { display: grid; justify-items: end; gap: 4px; margin: 0; line-height: 1; white-space: nowrap; }
#product .t1-headr p.price .isSale { display: grid; justify-items: end; gap: 4px; }
#product .t1-headr p.price ins { font-family: var(--t1-head); font-weight: 700; font-size: 2.15rem; line-height: 1; color: var(--t1-ink); text-decoration: none; }
#product .t1-headr p.price del { font-size: 1.02rem; color: #77778a; }
@media (min-width: 960px) { #product .t1-headr p.price ins { font-size: 2.5rem; } }

/* ---- shipping row, as on PDP v4: truck + "Ships next business day" left, EST. ARRIVAL over the dates right ---- */
#product p:has(> .shipping-range) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 12px;
	margin: 20px 0 0;
	padding: 0 2px 4px;
	text-align: left;
	line-height: 1.1;
}
#product p:has(> .shipping-range) br { display: none; }
#product p:has(> .shipping-range) > .domestic-feature,
#product p:has(> .shipping-range) > .international-feature {
	grid-column: 1; grid-row: 1 / span 2;
	display: flex; align-items: center; gap: 10px;
	font-size: 1rem; font-weight: 700; line-height: 1.2;
	color: #2a8a3e;
}
#product p:has(> .shipping-range) > .hidden { display: none; }
#product p:has(> .shipping-range) .t1-truck { flex: none; width: 22px; height: 22px; }
#product p:has(> .shipping-range) > strong {
	grid-column: 2; grid-row: 1;
	justify-self: end;
	font-weight: 400;
	font-size: .74rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #5f5f6d;
	white-space: nowrap;
}
#product p:has(> .shipping-range) > .shipping-range {
	grid-column: 2; grid-row: 2;
	justify-self: end;
	font-family: var(--t1-head);
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--t1-ink);
	white-space: nowrap;
}

/* ---- perks, as on PDP v4: outline icon, two short lines, one rule under the whole block ---- */
#product ul.product-attributesgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 12px 2px 16px;
	border-top: 0;
	border-bottom: 1px solid #dcdcd8;
	list-style: none;
}
#product ul.product-attributesgrid > li {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	text-align: left;
	font-size: .82rem;
	line-height: 1.2;
	color: #4a4a55;
}
#product ul.product-attributesgrid > li.hidden { display: none; }
#product ul.product-attributesgrid > li::before { display: none; }
#product ul.product-attributesgrid .t1-perk-ic { flex: none; width: 19px; height: 19px; margin-top: 1px; color: var(--t1-tb); }
#product ul.product-attributesgrid b { display: block; font-size: .82rem; line-height: 1.2; color: var(--t1-ink); }
#product ul.product-attributesgrid small { display: block; font-size: .82rem; line-height: 1.2; color: #4a4a55; }

/* ---- Amazon, as on PDP v4: bolt + "Get it as soon as tomorrow", white outline "Buy on Amazon" button ---- */
#product .c-amazon-now-container { margin-top: 16px; }
#product .c-amazon-now-container p {
	display: flex; align-items: center; justify-content: center; gap: 4px;
	margin: 0 0 8px; font-size: 1rem; color: var(--t1-ink);
}
#product .c-amazon-now-container p b { font-weight: 700; }
#product .c-amazon-now-container .t1-bolt { width: 20px; height: 20px; margin-right: 6px; fill: var(--t1-ink); stroke: none; }
#product a.c-amazon-now-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 56px;
	padding: 0 1em;
	border: 2px solid var(--t1-ink);
	border-radius: 14px;
	background: #fff;
	color: var(--t1-ink);
	font-family: var(--t1-head);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
}
#product a.c-amazon-now-button:hover { background: #f6f6f6; color: var(--t1-ink); }
#product a.c-amazon-now-button .t1-ext { width: 20px; height: 20px; }

/* ---- after a size is picked: Woo's stock line, small and quiet ---- */
#product .single_variation { margin: 8px 0 0; text-align: center; font-size: .85rem; color: var(--t1-mute); }
#product .single_variation p { margin: 0; }
#product .single_variation .woocommerce-variation-price { display: none; }

/* ---- small phones: tighter trust row and Lamp card ---- */
@media (max-width: 400px) {
	#product .nox-pa__card { gap: 10px; padding: 16px 10px 12px 12px; }
	#product .nox-pa.is-on .nox-pa__card { padding: 15.5px 9.5px 11.5px 11.5px; }
}
#product .single_variation > * { margin-top: 0; margin-bottom: 0; }
#product .single_variation > :empty { display: none; }

/* ---- round 2 (Tom: "looking wacky") ---- */
/* Lamp card: photo sits beside the name instead of floating mid-card; switch stays centred */
#product .nox-pa__card { align-items: flex-start; }
#product .nox-pa__ctl { align-self: center; }
#product .nox-pa__img { width: 60px; height: 60px; margin-top: 2px; }
#product .nox-pa p.nox-pa__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
#product .nox-pa__price s, #product .nox-pa__save { margin-left: 0; }

/* qty: thin drawn − and + instead of the theme's 35px Rift dash and plus; number in the body font */
#product .form-qty__input .btn .btn-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#product .form-qty__input .btn::before,
#product .form-qty__input .btn-increment::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 2px;
	border-radius: 1px;
	background: var(--t1-ink);
	transform: translate(-50%, -50%);
}
#product .form-qty__input .btn-increment::after { width: 2px; height: 14px; }
#product .form-qty__input input.qty {
	font-family: var(--wp--preset--font-family--primary, "Apercu Regular", system-ui, sans-serif);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--t1-ink);
}

/* ---- round 3 fixes: outline icons (the theme fills svgs), perks on two lines at phone width ---- */
#product p:has(> .shipping-range) .t1-truck,
#product a.c-amazon-now-button .t1-ext,
#product ul.product-attributesgrid .t1-perk-ic { display: inline-block; fill: none; stroke: currentColor; }
#product ul.product-attributesgrid { gap: 6px; }
#product ul.product-attributesgrid > li { gap: 5px; letter-spacing: 0; }
#product ul.product-attributesgrid b,
#product ul.product-attributesgrid small { white-space: nowrap; letter-spacing: 0; }
#product ul.product-attributesgrid .t1-perk-ic { width: 18px; height: 18px; }
@media (max-width: 374px) { #product ul.product-attributesgrid small { white-space: normal; } }

/* ---- round 4: v4 title details, and less white space around the section ---- */
#product .t1-headl h1 small::before { display: none; }
#product .t1-headr p.price del { font-family: var(--wp--preset--font-family--primary, "Apercu Regular", system-ui, sans-serif); font-weight: 400; }
#product.o-section { padding-top: 24px; padding-bottom: 32px; }
@media (min-width: 64rem) { #product.o-section { padding-top: 48px; padding-bottom: 56px; } }

/* ---- round 5 (Tom, 2026-11-13): one t-shirt line under the sizes (PDP v4), no quantity box ---- */
#product .t1-sizefit { margin: 8px 0 0; font-size: .86rem; line-height: 1.3; color: #6b6b78; text-align: center; }
#product .t1-sizefit:empty { display: none; }
#product .t1-sizefit b { font-weight: 600; color: #3d3d48; }
#product .variations_button > .form-qty { display: none; }
#product .variations_button > .col-6.text-right { flex: 1 1 100%; }

/* ---- round 6 (Tom, 2026-11-13): perks anchored as three equal columns with thin dividers; no "In stock" line ---- */
#product ul.product-attributesgrid { gap: 0; padding: 12px 0; border-top: 1px solid #dcdcd8; }
#product ul.product-attributesgrid > li { flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; padding: 0 6px; text-align: center; }
#product ul.product-attributesgrid > li:not(.hidden) ~ li:not(.hidden) { border-left: 1px solid #dcdcd8; }
#product ul.product-attributesgrid .t1-perk-ic { width: 20px; height: 20px; margin: 0 0 2px; }
#product .single_variation .woocommerce-variation-availability:has(.in-stock) { display: none; }

/* ---- round 7 (Tom's mock, 2026-11-13): Lamp card as "Popular add-on": gradient tag on the edge, blue eyebrow,
   big name, price row, switch top-right; no blurb, no pill, no "Add" text ---- */
#product .nox-pa__card { position: relative; align-items: flex-start; gap: 12px; padding: 18px 14px 16px; border-radius: 16px; }
#product .nox-pa.is-on .nox-pa__card { padding: 17.5px 13.5px 15.5px; }
#product .nox-pa__tag {
	left: 14px;
	padding: .42em .9em;
	background: linear-gradient(90deg, #7b5cf5 0%, #d35bc6 100%);
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
}
#product .nox-pa__img { width: 64px; height: 64px; margin-top: 0; }
#product .nox-pa__t { flex: 1 1 auto; min-width: 0; }
#product .nox-pa p.t1-pa-eyebrow {
	display: flex; align-items: center; min-height: 28px; margin: 0; padding-right: 60px;
	font-family: var(--t1-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; line-height: 1;
	text-transform: uppercase; color: var(--t1-tb);
}
#product .nox-pa p.nox-pa__name { margin: 2px 0 4px; font-size: 17px; font-weight: 700; line-height: 1.2; }
#product .nox-pa p.nox-pa__price { gap: 4px 8px; font-size: 15px; }
#product .nox-pa p.nox-pa__price b { font-size: 17px; }
#product .nox-pa p.nox-pa__blurb { display: none; }
#product .nox-pa__ctl { position: absolute; top: 18px; right: 14px; align-self: auto; }
#product .nox-pa.is-on .nox-pa__ctl { top: 17.5px; right: 13.5px; }
#product .nox-pa label.nox-pa__swlbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 400px) {
	#product .nox-pa__card { gap: 10px; padding: 18px 12px 14px; }
	#product .nox-pa.is-on .nox-pa__card { padding: 17.5px 11.5px 13.5px; }
	#product .nox-pa__ctl { right: 12px; }
	#product .nox-pa.is-on .nox-pa__ctl { right: 11.5px; }
	#product .nox-pa p.nox-pa__name { font-size: 16px; }
}

/* ---- round 8 (Tom, 2026-11-13): size line wraps whole, Amazon button centred, one space before "tomorrow", card full width ---- */
#product .t1-sizefit b { display: inline-block; white-space: nowrap; }
#product a.c-amazon-now-button .t1-ext { color: var(--t1-ink); stroke: var(--t1-ink); }
#product .nox-pa { width: 100%; max-width: none; }
/* desktop too: "Select size" + Size Guide on one line above the sizes (as on phones and PDP v4), so the sizes and
   the t-shirt line get the panel's full width and the line stays on one line */
#product .variations > .grid > .col-4 { display: flex; align-items: baseline; justify-content: space-between; flex: 0 0 100%; max-width: 100%; }
#product .variations > .grid > .col-8 { flex: 0 0 100%; max-width: 100%; }

/* ================= round 9 (Tom, 2026-11-13): the same look on /lighthound-v1 and /39g-v1 ================= */
/* Titles without a PDP v4 wordmark (LightHound, 39g): the page's own title text, sized like the Tracer2 wordmark */
#product .t1-headl .t1-title { display: grid; gap: 10px; margin: 0; padding: 0; font-size: 1rem; line-height: 1; text-align: left; }
#product .t1-headl .t1-title::before, #product .t1-headl .t1-title::after { display: none; }
#product .t1-headl .t1-title--text .t1-name {
	display: block;
	font-family: var(--t1-head); font-weight: 700; font-style: italic; text-transform: uppercase;
	font-size: clamp(2.3rem, 10.5vw, 3rem); line-height: .86; letter-spacing: .01em; color: var(--t1-ink);
}
#product .t1-headl .t1-title--text .t1-name span { color: var(--t1-tb); }
#product .t1-headl .t1-title--text .t1-name sub { bottom: 0; font-size: 1em; vertical-align: baseline; text-transform: lowercase; color: var(--t1-tb); }
#product .t1-headl .t1-title small {
	display: block; margin: 0;
	font-family: var(--t1-head); font-weight: 700; font-style: italic; text-transform: uppercase;
	letter-spacing: .03em; font-size: clamp(1.25rem, 5.4vw, 1.6rem); line-height: 1; color: var(--t1-ink);
}
#product .t1-headl .t1-title small::before { display: none; }
#product .t1-headl > div { margin: 0; }

/* 39g: the block editor's price block, styled like the theme price on the other two */
#product .t1-headr .t1-price { margin: 0; line-height: 1; white-space: nowrap; }
#product .t1-headr .t1-price .wc-block-components-product-price { display: block; margin: 0; }
#product .t1-headr .t1-price .isSale { display: grid; justify-items: end; gap: 4px; }
#product .t1-headr .t1-price ins { font-family: var(--t1-head); font-weight: 700; font-size: 2.15rem; line-height: 1; color: var(--t1-ink); text-decoration: none; background: none; }
#product .t1-headr .t1-price del { font-family: var(--wp--preset--font-family--primary, "Apercu Regular", system-ui, sans-serif); font-weight: 400; font-size: 1.02rem; color: #77778a; }
@media (min-width: 960px) { #product .t1-headr .t1-price ins { font-size: 2.5rem; } }

/* any number of sizes on one row (Tracer2 has 3, LightHound 4) */
#product .variation-radio ul.c-list--inline { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }

/* 39g: no sizes and no add-on, so no panel: just the full-width Add to cart */
#product.t1-39g form.cart { display: block; margin: 0 0 18px; padding: 0; }
#product.t1-39g form.cart > .form-qty { display: none; }
#product.t1-39g form.cart > .col-6:not(.form-qty) { display: block; width: 100%; max-width: none; flex: none; padding: 0; margin: 0; }
#product.t1-39g .single_add_to_cart_button { width: 100%; height: 56px; }
#product.t1-39g hr.wp-block-separator { display: none; }
#product.t1-39g blockquote.wp-block-quote:has(> p:empty:only-child),
#product.t1-39g p.wp-block-paragraph:empty { display: none; }
#product.t1-39g ul.product-attributesgrid { width: 100%; max-width: none; margin: 0; list-style: none; }
#product.t1-39g ul.product-attributesgrid > li { width: auto; max-width: none; flex: none; margin: 0; }

/* round 9 fixes after the first look */
/* title accents in the theme's own blue, as on the live titles; 39g keeps its lower-case small "g" */
#product .t1-headl .t1-title--text .t1-name span,
#product .t1-headl .t1-title--text .t1-name sub { color: #0c71c7; }
#product.t1-39g .t1-headl .t1-title--text .t1-name { text-transform: none; }
#product.t1-39g .t1-headl .t1-title--text .t1-name sub { font-size: .57em; text-transform: lowercase; }
/* 39g price: the block's inner spans carry their own size */
#product .t1-headr .t1-price ins *, #product .t1-headr .t1-price del * { font: inherit; color: inherit; }
#product .t1-headr .t1-price del { text-decoration: line-through; opacity: 1; }
/* 39g spacing: the same gutters and section padding as the other two; "Updated" chip close under the title */
#product.t1-39g { padding-top: 24px; padding-bottom: 32px; }
#product.t1-39g .wp-block-columns { gap: 20px; }
#product.t1-39g p.wp-block-paragraph:has(> mark) { margin: 0 0 16px; }
@media (min-width: 64rem) { #product.t1-39g { padding-top: 48px; padding-bottom: 56px; } #product.t1-39g .wp-block-columns { gap: 40px; } }
/* the child theme forces 18px !important on block prices */
#product .t1-headr .t1-price .amount, #product .t1-headr .t1-price .amount * { font-size: inherit !important; }
/* the local copy runs a newer WordPress whose global styles add width:100% to groups, which makes this full-width
   box 48px too narrow on phones. Live and dev don't have that rule; this keeps all three the same. */
#product.t1-39g { width: auto; }
/* was-price: the $ and the digits in one font (Tracer2 and LightHound too) */
#product .t1-headr p.price del * { font: inherit; color: inherit; }
#product .t1-headr del .woocommerce-Price-currencySymbol { font-family: inherit !important; font-weight: inherit !important; }

/* ---- rounds 10 to 12 (Tom, 2026-11-13): the no-size notice. The theme's script adds .form-error-msg after the size
   list when Add to cart is pressed with no size; tracer2-1.js rewrites its text and adds the Size Guide link.
   Round 10: red pill, red edges, a nudge ("a little aggressive"). Round 11: white note, blue edges (too soft).
   Round 12, in between: ONE plain red line under the sizes, the size buttons outlined in red, no box, no movement. ---- */
#product .variation-radio .form-error-msg {
	position: static; clip: auto;
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 5px;
	margin: 8px 0 0; padding: 0;
	border: 0; border-radius: 0; background: none;
	color: #b3122f;
	font-size: .9rem; font-weight: 600; line-height: 1.3; text-align: center;
	animation: none;
}
#product .variation-radio .form-error-msg span { white-space: nowrap; }
#product .variation-radio .form-error-msg a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
#product .variation-radio:has(.form-error-msg) .form-option label,
#product .variation-radio:has(.form-error-msg) .form-option label:hover { border-color: #c8193f; }

/* ================= round 13 (Tom, 2026-11-14) ================= */
/* Left side of the title row sizes the line under the name: the new LightHound line ("Light Up & Reflective
   Harness") must stay on one line at every width, so it shrinks to fit on narrow phones. */
#product .t1-headl { flex: 1 1 0; container-type: inline-size; }
#product.t1-lighthound .t1-headl .t1-title small {
	white-space: nowrap;
	font-size: clamp(1.25rem, 5.4vw, 1.6rem);
	font-size: min(clamp(1.25rem, 5.4vw, 1.6rem), 8.5cqi);
}

/* 39g: the right column as wide as LightHound's (LightHound's sits in the right half with 6.25vw on its left, 120px
   from 1440px up; 39g's columns already have a 40px gap, so 20px less here) */
@media (min-width: 64rem) {
	/* WordPress shares the row evenly after padding, so pin both halves (same as before) and pad inside the right one */
	#product.t1-39g .wp-block-columns > .wp-block-column { flex: 0 0 calc(50% - 20px); box-sizing: border-box; }
	#product.t1-39g .wp-block-columns > .wp-block-column + .wp-block-column { padding-left: calc(6.25vw - 20px); }
}
@media (min-width: 90rem) {
	#product.t1-39g .wp-block-columns > .wp-block-column + .wp-block-column { padding-left: 100px; }
}

/* 39g: the lanyard card and Add to cart in the same light panel as Tracer2 and LightHound */
#product.t1-39g form.cart:has(.nox-pa) { margin: 0 0 18px; padding: 18px 16px 20px; border-radius: 18px; background: var(--t1-panel); }
#product.t1-39g form.cart .nox-pa { margin: 6px 0 16px; }
/* a card with no blue line above the name: keep the name clear of the switch */
#product .nox-pa__t:not(:has(.t1-pa-eyebrow)) p.nox-pa__name { display: flex; align-items: center; min-height: 28px; margin-top: 0; padding-right: 60px; }
/* the theme gives the last visible paragraph a 24px bottom margin (39g card, where no line follows the price) */
#product .nox-pa p.nox-pa__price { margin-bottom: 0; }
/* (round 14's grey line under the 39g lanyard price was removed in round 15: the eyebrow says it) */

/* round 16 (Tom, 2026-11-14: "Adjustable line crowds toggle"): the name sat 0 to 2px under the switch on all three
   cards; give it clear space below the eyebrow row */
#product .nox-pa p.t1-pa-eyebrow + p.nox-pa__name { margin-top: 8px; }
/* round 17: the 39g eyebrow "Another way to wear it" is the longest; on narrow phones tighten it so it stays on one line */
@media (max-width: 400px) {
	#product.t1-39g .nox-pa p.t1-pa-eyebrow { padding-right: 52px; font-size: 12px; letter-spacing: .07em; }
}
/* one line where it fits beside the switch (360 to 400); narrower phones let it wrap rather than run under the switch */
@media (min-width: 355px) and (max-width: 400px) {
	#product.t1-39g .nox-pa p.t1-pa-eyebrow { white-space: nowrap; }
}
