/**
 * adorit_fieldtrial_set.css — FieldTrial SET shell (product 362)
 * Binding layout: RAILS ABOVE, HEROES BELOW (owner-approved mock, PLAN.md B1).
 * Own namespace .ats- — touches nothing outside the 362 SET shell.
 * Terracotta #c2562d per configurator gold standard (P30 .ahc-num).
 */

.ats-shell {
	max-width: 1140px;
	margin: 0 auto;
	padding: 4px 12px 8px 12px;
	box-sizing: border-box;
	font-family: inherit;
	color: #1f2937;
}
.ats-shell *,
.ats-shell *::before,
.ats-shell *::after { box-sizing: border-box; }

/* ---------------- compact intro strip ---------------- */
.ats-intro {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 2px 8px 2px;
}
.ats-intro-imgwrap {
	flex: 0 0 auto;
	width: 96px;
	height: 96px;
	border-radius: 12px;
	border: 1px solid #e6dfd3;
	background: #fff;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ats-intro-imgwrap img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}
.ats-intro-txt { flex: 1 1 auto; min-width: 0; }
.ats-intro-kicker {
	display: block;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8a8377;
	margin-bottom: 3px;
}
.ats-intro-title {
	margin: 0 0 6px 0;
	font-size: 21px;
	line-height: 1.2;
	font-weight: 700;
	color: #1f2937;
}
.ats-savechip {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: #c2562d;
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
}

/* ---------------- RAILS BAND (above the heroes) ---------------- */
.ats-rails { margin: 6px 0 12px 0; }
.ats-rail { margin: 0 0 8px 0; }
.ats-railtitle {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b7280;
	margin: 0 0 5px 1px;
}
.ats-railrow {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 6px;
	padding: 2px 1px 6px 1px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.ats-railrow::-webkit-scrollbar { height: 6px; }
.ats-railrow::-webkit-scrollbar-thumb { background: #e6dfd3; border-radius: 3px; }
.ats-railitem {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px 4px 5px;
	border: 1.5px solid #e6dfd3;
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 12.5px;
	color: #374151;
	line-height: 1.2;
	white-space: nowrap;
}
.ats-railitem img {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	background: #f3efe8;
}
.ats-railitem .ats-dotless {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: block;
	background: #e6dfd3;
}
.ats-railitem:hover { border-color: #c2562d; }
.ats-railitem.ats-sel {
	border-color: #c2562d;
	box-shadow: inset 0 0 0 1px #c2562d;
	font-weight: 700;
	color: #1f2937;
}
.ats-railitem.ats-off { opacity: 0.4; cursor: not-allowed; }
.ats-railpending {
	font-size: 12.5px;
	color: #9ca3af;
	padding: 5px 2px;
	white-space: nowrap;
}

/* ---------------- mobile segmented tabs ---------------- */
.ats-tabbar { display: none; margin: 0 0 8px 0; }
.ats-tab {
	flex: 1 1 50%;
	padding: 11px 6px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	border: 1.5px solid #e6dfd3;
	background: #fff;
	color: #6b7280;
	cursor: pointer;
}
.ats-tab:first-child { border-radius: 10px 0 0 10px; }
.ats-tab:last-child { border-radius: 0 10px 10px 0; }
.ats-tab.ats-tab-on {
	background: #c2562d;
	border-color: #c2562d;
	color: #fff;
}

/* ---------------- HEROES ROW (below the rails) ---------------- */
.ats-heroes {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}
.ats-herolabel {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 7px 1px;
}
.ats-heronum {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #c2562d;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
}
.ats-collarhero {
	position: relative;
	border: 1px solid #e6dfd3;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	min-height: 220px;
}
.ats-frame {
	display: block;
	width: 100%;
	border: 0;
	background: #fff;
	height: 420px;
}
.ats-leashhero {
	position: relative;
	border: 1px solid #e6dfd3;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}
/* the REAL leash configurator (iframe 252) is fully visually hidden but must
   keep running: parked offscreen at desktop size — its selects/price/form are
   mirrored and POSTed parent-side (contract: "may be fully visually hidden
   — but its JS must keep running") */
.ats-leashhero .ats-frame {
	position: absolute;
	left: -20000px;
	top: 0;
	width: 1240px;
	height: 1800px;
	opacity: 0;
	pointer-events: none;
	border: 0;
}
.ats-leashhero img {
	max-width: 100%;
	max-height: 460px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}
.ats-leashhero img.ats-grey { filter: grayscale(1); opacity: 0.55; }
.ats-fallbacknote {
	display: none;
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	text-align: center;
	padding: 6px 10px;
	border-radius: 8px;
	background: #f3f4f6;
	border: 1px dashed #9ca3af;
	color: #6b7280;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	pointer-events: none;
}
.ats-fallbacknote.ats-note-on { display: block; }
.ats-heroloading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 13.5px;
	color: #6b7280;
	background: #fff;
	z-index: 2;
	pointer-events: none;
}
.ats-heroloading.ats-done { display: none; }
.ats-spinner {
	width: 20px;
	height: 20px;
	border: 3px solid #e6dfd3;
	border-top-color: #c2562d;
	border-radius: 50%;
	animation: ats-spin 0.9s linear infinite;
	flex: 0 0 auto;
}
@keyframes ats-spin { to { transform: rotate(360deg); } }
.ats-frameerror {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	font-size: 13.5px;
	color: #b91c1c;
	background: #fff;
	z-index: 3;
}
.ats-frameerror.ats-show { display: flex; }

/* ---------------- CONTROL BAND (below the heroes) ---------------- */
.ats-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin: 12px 0 6px 0;
}
.ats-field { margin: 0 0 12px 0; }
.ats-fieldlabel {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b7280;
	margin: 0 0 5px 1px;
}
.ats-input {
	width: 100%;
	box-sizing: border-box;
	border: 1.4px solid #2f2a24;
	border-radius: 6px;
	height: 38px;
	padding: 0 12px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
	outline: none;
	background: #fff;
	color: #1f2937;
}
.ats-input:focus { border-color: #c2562d; box-shadow: 0 0 0 2px rgba(194, 86, 45, 0.18); }
.ats-field-head { position: relative; }
.ats-input-head { max-width: 140px; text-align: left; padding-right: 40px; }
.ats-hcm {
	position: absolute;
	left: 118px;
	top: 34px;
	font-size: 13px;
	font-weight: 700;
	color: #8a8177;
}
.ats-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ats-chip {
	padding: 8px 14px;
	border: 1.5px solid #e6dfd3;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	line-height: 1.2;
}
.ats-chip:hover { border-color: #c2562d; }
.ats-chip.ats-sel {
	border-color: #c2562d;
	box-shadow: inset 0 0 0 1px #c2562d;
	background: #fdf3ee;
	color: #1f2937;
	font-weight: 700;
}
.ats-fmsg {
	display: none;
	margin: 4px 1px 0 1px;
	font-size: 12px;
	font-weight: 600;
	color: #b91c1c;
	line-height: 1.3;
}
.ats-fielderr .ats-input,
.ats-field.ats-fielderr .ats-chips { outline: 2px solid #c0392b; outline-offset: 1px; }
.ats-field.ats-fielderr .ats-fmsg { display: block; }

/* ---------------- STICKY BUY ROW ---------------- */
.ats-buyrow {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4900;
	background: #ffffff;
	border-top: 1px solid #e6dfd3;
	box-shadow: 0 -3px 14px rgba(31, 41, 55, 0.10);
	padding: 10px 14px;
}
.ats-buyrow-inner {
	max-width: 1140px;
	margin: 0 auto;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 16px;
	justify-content: flex-end;
	flex-wrap: wrap;
}
.ats-pricebox { line-height: 1.25; }
.ats-price-line { display: flex; align-items: baseline; gap: 10px; }
.ats-total-label { font-size: 13px; color: #6b7280; }
.ats-total-price { font-size: 21px; font-weight: 700; color: #1f2937; }
.ats-save-line { font-size: 12.5px; font-weight: 600; color: #047857; }
.ats-buybtn {
	background: #c2562d;
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 13px 26px;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.2;
	min-width: 240px;
}
.ats-buybtn:hover { background: #a9481f; }
.ats-buybtn:disabled,
.ats-buybtn.ats-disabled {
	background: #e5ddd2;
	color: #9a9285;
	cursor: not-allowed;
}
.ats-err {
	display: none;
	width: 100%;
	background: #fef2f2;
	border: 1.5px solid #fca5a5;
	color: #b91c1c;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.4;
}
.ats-err.ats-show { display: block; }
.ats-err button {
	margin-left: 10px;
	background: #b91c1c;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 4px 12px;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}

/* ---------------- page space for sticky row ---------------- */
body.ats-active { padding-bottom: 92px !important; }

/* ---------------- MOBILE (< 768px): segmented tabs ---------------- */
@media (max-width: 767px) {
	.ats-shell { padding: 2px 10px 6px 10px; }
	.ats-intro { gap: 12px; padding: 8px 0 6px 0; }
	.ats-intro-imgwrap { width: 72px; height: 72px; }
	.ats-intro-title { font-size: 17px; }
	.ats-savechip { font-size: 11.5px; padding: 3px 9px; }
	/* rails stay on top; single horizontal strips */
	.ats-railrow { gap: 5px; }
	.ats-railitem { padding: 3px 8px 3px 4px; font-size: 12px; }
	.ats-railitem img, .ats-railitem .ats-dotless { width: 22px; height: 22px; }
	/* tabs visible, only the active pane shows */
	.ats-tabbar { display: flex; }
	.ats-heroes, .ats-controls { display: block; }
	.ats-pane { display: none; }
	.ats-pane.ats-pane-on { display: block; }
	.ats-pane-leash { margin-top: 12px; }
	.ats-controls .ats-pane { margin-top: 0; }
	.ats-frame { height: 340px; }
	.ats-leashhero { min-height: 240px; }
	.ats-leashhero img { max-height: 320px; }
	.ats-buyrow { padding: 8px 10px; }
	.ats-buyrow-inner { flex-direction: row; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: nowrap; }
	.ats-pricebox { min-width: 0; }
	.ats-total-price { font-size: 17px; }
	.ats-save-line { font-size: 11px; }
	.ats-buybtn { min-width: 0; flex: 1 1 auto; padding: 12px 14px; font-size: 15px; }
	.ats-err { flex: 1 1 100%; order: 3; }
	body.ats-active { padding-bottom: 132px !important; }
}

/* ---------------- 390px class guard: no horizontal overflow ---------------- */
@media (max-width: 419px) {
	.ats-intro-title { font-size: 15.5px; }
	.ats-hcm { left: 96px; }
}

/* ---- picker chips + dot gallery popup (gold-standard §3 open-state law:
   no always-open dot rail; closed chips open the dot gallery; ≤860px the
   gallery becomes a bottom sheet above the sticky bar) ---- */
.ats-picks { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px 0; }
.ats-pick { flex: 1 1 210px; min-width: 190px; max-width: 330px; }
.ats-picklabel {
	font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
	color: #6b5f4f; margin: 0 0 4px 2px;
}
.ats-pickbtn {
	display: flex; align-items: center; gap: 9px; width: 100%; min-height: 46px;
	padding: 6px 10px; background: #faf7f3; border: 1.5px solid #e7ded2; border-radius: 10px;
	cursor: pointer; font: inherit; color: #2f2a24; text-align: left;
}
.ats-pickbtn:hover { border-color: #c2562d; }
.ats-pickbtn .ats-pickdot {
	flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
	background: #efe9df; display: flex; align-items: center; justify-content: center;
}
.ats-pickdot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ats-pickname {
	flex: 1 1 auto; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ats-pickname.ats-railpending { color: #9a8d7c; font-size: 12.5px; }
.ats-pickchev { flex: 0 0 auto; color: #b45f38; font-size: 11px; }
.ats-palbackdrop { position: fixed; inset: 0; background: rgba(20,18,15,.35); z-index: 5090; }
[hidden].ats-palbackdrop { display: none; }
.ats-pal {
	position: fixed; z-index: 5100; width: 308px; max-width: calc(100vw - 16px);
	max-height: 62vh; overflow: auto; background: #fff; border: 1px solid #e7ded2;
	border-radius: 12px; box-shadow: 0 18px 40px rgba(20,18,15,.18); padding: 12px 12px 14px;
	box-sizing: border-box;
}
.ats-pal[hidden] { display: none; }
.ats-palhead { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px 2px; }
.ats-paltitle {
	font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #6b5f4f;
}
.ats-palclose { background: none; border: 0; font-size: 15px; line-height: 1; color: #9a8d7c; cursor: pointer; padding: 4px 6px; }
.ats-palgrid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
.ats-palitem {
	width: 78px; display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 7px 3px 5px; background: #fff; border: 1.5px solid #eee6da; border-radius: 10px;
	cursor: pointer; font: inherit;
}
.ats-palitem img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: block; }
.ats-palitem .ats-dotless { width: 36px; height: 36px; border-radius: 50%; background: #efe9df; display: inline-block; }
.ats-palname { font-size: 10.5px; color: #4b4237; text-align: center; line-height: 1.15; max-width: 100%; overflow: hidden; }
.ats-palitem:hover { border-color: #c2562d; }
.ats-palitem.ats-sel { border-color: #c2562d; box-shadow: 0 0 0 2px rgba(194,86,45,.25); }
.ats-palitem.ats-sel .ats-palname { font-weight: 700; color: #2f2a24; }
.ats-palitem.ats-off { opacity: .38; cursor: not-allowed; }
.ats-palitem:disabled { cursor: not-allowed; }
@media (max-width: 860px) {
	.ats-pick { flex: 1 1 100%; max-width: none; }
	.ats-pal {
		left: 0 !important; right: 0 !important; top: auto !important; bottom: 76px !important;
		width: auto; max-width: none; border-radius: 16px 16px 0 0; max-height: 60vh;
		padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
	}
}

/* ---- per-hero component prices + original-vs-SET price presentation ---- */
.ats-heroprice {
	font-size: 16px; font-weight: 700; color: #2f2a24; margin: 7px 2px 0 2px; text-align: left;
}
.ats-orig {
	text-decoration: line-through; color: #9a8d7c; font-size: 15px; font-weight: 600;
}
.ats-pctbadge {
	background: #c2562d; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800;
	padding: 2px 8px; letter-spacing: .03em; line-height: 1.4; margin: 0 2px;
}

/* ---- round 5 (owner 14.10): paracord band, strap/ink under collar hero, "+" ---- */
.ats-picks-head {
	font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
	color: #2f2a24; margin: 2px 0 6px 2px;
}
.ats-picks-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.ats-picks-grid .ats-pick { max-width: none; flex: none; }
.ats-pick-inline { max-width: none; flex: none; margin: 0; }
.ats-plus {
	display: flex; align-items: center; justify-content: center;
	font-size: 46px; font-weight: 300; color: #c2562d; line-height: 1;
	align-self: center; justify-self: center; user-select: none;
}
.ats-heroes {
	grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
}
.ats-input::placeholder { color: inherit; opacity: .45; font-weight: 600; letter-spacing: .06em; }
@media (max-width: 860px) {
	.ats-heroes { grid-template-columns: minmax(0, 1fr); }
	.ats-plus { font-size: 34px; padding: 2px 0; }
	.ats-picks-grid { grid-template-columns: minmax(0, 1fr); }
}

/* the "+" reads as SET = collar + leash with BOTH heroes visible (desktop);
   on mobile the panes are exclusive tabs — a plus between a visible and a
   hidden pane floats meaninglessly, so it hides there */
@media (max-width: 860px) {
	.ats-plus { display: none; }
}

/* ---- round 6 (owner 14.10): step sequence 1-8, info dots, block frontiers ---- */
.ats-cfgtitle {
	font-size: 19px; font-weight: 800; color: #2f2a24; margin: 10px 0 8px 2px;
	letter-spacing: .01em;
}
.ats-block {
	border: 1.5px solid #e7ded2; border-radius: 12px; background: #faf7f3;
	padding: 12px 12px 12px 14px; margin: 0 0 12px 0;
}
.ats-rails.ats-block { padding: 10px 12px 4px 14px; }
.ats-controls .ats-block { padding-bottom: 6px; }
.ats-stepnum {
	display: inline-flex; align-items: center; justify-content: center;
	width: 21px; height: 21px; border-radius: 50%; background: #c2562d; color: #fff;
	font-size: 12px; font-weight: 800; line-height: 1; margin-right: 7px;
	flex: 0 0 21px; vertical-align: middle;
}
.ats-stepnum-btn { margin-right: 8px; width: 22px; height: 22px; flex: 0 0 22px; background: #fff; color: #c2562d; }
.ats-picks-head, .ats-fieldlabel { align-items: center; }
.ats-fieldlabel { display: flex; }
.ats-herolabel { display: flex; align-items: center; }
.ats-herotitle { font-size: 15px; font-weight: 800; color: #2f2a24; margin-right: 6px; }
.ats-tipbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 19px; height: 19px; border-radius: 50%; background: #fff;
	border: 1.5px solid #c2562d; color: #c2562d; font-size: 11px; font-style: italic;
	font-weight: 700; line-height: 1; cursor: pointer; padding: 0; margin-left: 5px;
	flex: 0 0 19px; font-family: Georgia, serif;
}
.ats-tipbtn:hover { background: #c2562d; color: #fff; }
.ats-tipbox {
	position: fixed; z-index: 5150; width: 272px; max-width: calc(100vw - 20px);
	background: #fff; border: 1px solid #e7ded2; border-radius: 10px;
	box-shadow: 0 12px 30px rgba(20,18,15,.16); padding: 10px 12px;
}
.ats-tipbox[hidden] { display: none; }
.ats-tipbox-txt { font-size: 12.5px; color: #4b4237; line-height: 1.45; }
.ats-guide-link, .ats-guide-link-pop {
	color: #b45f38; font-size: 12px; text-decoration: underline; cursor: pointer; margin-left: 8px;
}
.ats-guide-link-pop { display: inline-block; margin: 8px 0 0 0; font-weight: 700; }
.ats-gmodal { position: fixed; inset: 0; z-index: 5200; background: rgba(20,18,15,.92); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ats-gmodal[hidden] { display: none; }
.ats-gmodal-card { position: relative; background: #fff; border-radius: 12px; width: min(680px, 94vw); height: min(80vh, 720px); overflow: hidden; }
.ats-gmodal-close { position: absolute; top: 10px; right: 12px; z-index: 2; background: #fff; border: 0; font-size: 20px; color: #6b5f4f; cursor: pointer; }
.ats-gmodal-card iframe { width: 100%; height: 100%; border: 0; }
/* consistent paracord chip orientation: identical equal-width chips */
.ats-picks-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.ats-picks-grid .ats-pick { display: flex; flex-direction: column; }
.ats-picks-grid .ats-pickbtn { width: 100%; min-height: 48px; }
/* text input: strap-coloured box (border + left bar), ink-coloured text */
.ats-input { transition: border-color .18s ease, color .18s ease; }
@media (max-width: 860px) {
	.ats-cfgtitle { font-size: 17px; }
	.ats-tipbox { left: 10px !important; right: 10px !important; width: auto; }
}

/* ---- round 7 (owner 14.10): right buy column, chips over heroes, equal heroes,
   step checks, disciplined layout. Desktop: shell becomes a 4-column grid —
   [collar 1fr | + 48px | leash 1fr | buy 264px]; the band spans all columns. ---- */
@media (min-width: 861px) {
	.ats-shell {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 264px;
		grid-template-rows: auto auto auto;
		column-gap: 14px;
		align-items: start;
	}
	.ats-cfgtitle, .ats-rails { grid-column: 1 / -1; }
	.ats-tabbar { display: none !important; }
	.ats-heroes { grid-column: 1 / 4; grid-row: 2; }
	.ats-controls { grid-column: 1 / 4; grid-row: 3; }
	.ats-buyrow {
		grid-column: 4; grid-row: 2 / 4;
		position: sticky; top: 74px;
		width: 264px;
	}
}
.ats-buyrow {
	background: #fff; border: 1.5px solid #e7ded2; border-radius: 14px;
	padding: 14px; box-sizing: border-box;
	box-shadow: 0 6px 22px rgba(20,18,15,.07);
}
.ats-buyrow-inner { display: flex; flex-direction: column; gap: 10px; }
.ats-comp-line { display: flex; justify-content: space-between; font-size: 13px; color: #6b5f4f; }
.ats-comp-line span:last-child { font-weight: 700; color: #2f2a24; }
.ats-price-line { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
/* owner 15.10: SET savings must be visible on cart + checkout steps (GX3 runs
   ot modules only at the order-total process). Terracotta accent, warm-card
   family — same colour law as the SET page. */
#ats-setbanner { margin: 10px 0; }
.ats-setbanner-in {
	background: #faf7f3; border: 1.5px solid #c2562d; border-radius: 10px;
	padding: 10px 14px; display: flex; flex-direction: column; gap: 2px;
}
.ats-setbanner-title { font-size: 16px; font-weight: 800; color: #c2562d; letter-spacing: .01em; }
.ats-setbanner-sub { font-size: 13.5px; color: #4b4237; line-height: 1.45; }
/* owner 15.10: SET promo CTA on the 249/252 configurator pages (the 10 %
   also applies to separately-bought pairs — ot_setbundle) */
#ats-setpromo { margin: 10px 0; }
.ats-setpromo-in {
	background: #faf7f3; border: 1.5px solid #c2562d; border-radius: 10px;
	padding: 10px 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.ats-setpromo-txt { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; }
.ats-setpromo-badge {
	background: #c2562d; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800;
	padding: 3px 9px; letter-spacing: .03em; white-space: nowrap;
}
.ats-setpromo-line { font-size: 14px; font-weight: 600; color: #2f2a24; line-height: 1.35; }
.ats-setpromo-btn {
	background: #c2562d; color: #fff; border-radius: 8px; font-size: 13.5px; font-weight: 700;
	padding: 8px 14px; text-decoration: none; white-space: nowrap; line-height: 1.2;
}
.ats-setpromo-btn:hover { background: #a8481f; color: #fff; }
.ats-orig { font-size: 14px; }
.ats-total-price { font-size: 26px; font-weight: 800; color: #2f2a24; margin-left: auto; }
.ats-save-line { font-size: 12.5px; color: #2e7d32; font-weight: 700; text-align: right; }
.ats-buybtn {
	display: flex; align-items: center; justify-content: center; width: 100%;
	padding: 13px 10px; font-size: 15.5px; font-weight: 800;
}
.ats-wa {
	display: flex; align-items: center; justify-content: center; width: 100%;
	padding: 11px 10px; background: #fff; border: 1.5px solid #25a244; border-radius: 10px;
	color: #1c7c33; font-weight: 700; font-size: 14px; text-decoration: none;
}
.ats-wa:hover { background: #f2fbf5; }
.ats-ship { border-top: 1px solid #efe9df; padding-top: 10px; }
.ats-shiphead { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #6b5f4f; margin-bottom: 4px; }
.ats-shiprow { font-size: 14px; color: #4b4237; line-height: 1.45; }
.ats-trust { border-top: 1px solid #efe9df; padding-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.ats-trustrow { font-size: 14px; color: #4b4237; line-height: 1.45; }
/* step checkmarks: attached to each badge, appear only when done */
.ats-stepnum { position: relative; }
.ats-stepcheck {
	display: none; position: absolute; top: -5px; right: -6px;
	width: 14px; height: 14px; border-radius: 50%; background: #2e7d32; color: #fff;
	font-size: 9px; line-height: 14px; text-align: center; font-weight: 800;
}
.ats-stepnum.ats-done .ats-stepcheck { display: block; }
.ats-stepnum.ats-done { box-shadow: 0 0 0 2px rgba(46,125,50,.35); }
/* paracord chips: centered above their heroes (same 3-col geometry as heroes) */
@media (min-width: 861px) {
	.ats-picks-grid {
		grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
		align-items: end;
	}
	.ats-picks-grid .ats-pick { width: 300px; margin: 0 auto; }
	.ats-picks-grid .ats-pick[data-kind="cord"] { grid-column: 1; }
	.ats-picks-grid .ats-pick[data-kind="cordleash"] { grid-column: 3; }
}
/* owner 15.10: same-colour checkbox between the paracord selectors — ticked
   (default) = one colour for both sides, unticked = free leash colour */
.ats-cordlink { align-self: center; justify-self: center; }
.ats-cordlink label {
	display: flex; flex-direction: column; align-items: center; gap: 3px;
	cursor: pointer; color: #6b5f4f; font-size: 9px; line-height: 1.15; text-align: center;
}
.ats-cordlink input { accent-color: #c2562d; width: 15px; height: 15px; margin: 0; cursor: pointer; }
@media (min-width: 861px) {
	.ats-cordlink { grid-column: 2; align-self: end; margin-bottom: 14px; }
}
@media (max-width: 860px) {
	.ats-cordlink { grid-column: 1 / -1; grid-row: 2; }
	.ats-cordlink label { flex-direction: row; justify-content: center; gap: 6px; font-size: 11px; }
}
/* equal hero heights */
.ats-collarhero, .ats-leashhero { height: 380px; }
/* owner 15.10: the leash renders are square — cover fills the hero window
   edge-to-edge so hero 2 shows at the same visual size as hero 1 (contain
   left a ~173px grey square on white) */
.ats-leashhero img#ats-leashimg { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.ats-collarhero iframe.ats-frame { height: 100%; }
/* mobile: slim modern bottom bar (buy column returns to fixed bar) */
@media (max-width: 860px) {
	.ats-buyrow {
		position: fixed; left: 0; right: 0; bottom: 0; width: auto; z-index: 4900;
		border-radius: 14px 14px 0 0; border-left: 0; border-right: 0; border-bottom: 0;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
		box-shadow: 0 -8px 24px rgba(20,18,15,.12);
	}
	.ats-buyrow-inner { flex-direction: row; align-items: center; gap: 10px; }
	.ats-err { flex-basis: 100%; }
	.ats-pricebox { flex: 1 1 auto; }
	.ats-comp-line, .ats-ship, .ats-trust, .ats-wa { display: none; }
	.ats-price-line { margin: 0; }
	.ats-total-price { font-size: 20px; }
	.ats-save-line { text-align: left; }
	.ats-buybtn { width: auto; flex: 0 0 auto; padding: 11px 16px; }
	.ats-collarhero, .ats-leashhero { height: 300px; }
}

/* round 7 fix: intro + section title span the content columns (band aligns
   its inner grid to the HERO columns, not into the buy column) */
@media (min-width: 861px) {
	.ats-intro { grid-column: 1 / -1; }
	.ats-cfgtitle { grid-column: 1 / 4; }
	.ats-rails.ats-picks { grid-column: 1 / 4; }
}

/* mobile: single-column paracord band (a later 2-col base rule was winning at
   equal specificity — keep this LAST) */
@media (max-width: 860px) {
	.ats-picks-grid { grid-template-columns: minmax(0, 1fr); }
	.ats-picks-grid .ats-pick { width: auto; }
}

/* ---- round 8 (vision pass): explicit grid rows — the paracord band MUST sit
   above the heroes (auto-placement had pushed it below the controls); the buy
   column spans heroes+controls rows on the right ---- */
@media (min-width: 861px) {
	.ats-shell {
		grid-template-rows: auto auto auto auto auto;
	}
	.ats-intro { grid-column: 1 / -1; grid-row: 1; }
	.ats-cfgtitle { grid-column: 1 / 4; grid-row: 2; }
	.ats-rails.ats-picks { grid-column: 1 / 4; grid-row: 3; }
	.ats-tabbar { grid-column: 1 / 4; grid-row: 3; }
	.ats-heroes { grid-column: 1 / 4; grid-row: 4; }
	.ats-controls { grid-column: 1 / 4; grid-row: 5; }
	.ats-buyrow { grid-column: 4; grid-row: 4 / 6; }
}

/* round 8 polish: price block on clean lines (no wrapping in the narrow card) */
.ats-price-line { flex-wrap: nowrap; white-space: nowrap; }
.ats-orig { font-size: 13px; }
.ats-total-price { font-size: 24px; }
.ats-comp-line { white-space: nowrap; }

/* ---- round 9: whitespace reduction (owner goal: −35% desktop + mobile) ----
   Baselines measured: desktop shell 1127px, mobile 1222px.
   Biggest wastes: hero card 380px over a 167px hero; collar controls 353px vs
   leash 203px; intro 114/155px; block paddings/gaps. */
.ats-collarhero { height: auto !important; min-height: 120px; }
.ats-collarhero iframe.ats-frame { display: block; }
.ats-intro { margin-bottom: 6px; }
.ats-intro-imgwrap img { max-width: 74px; max-height: 74px; }
.ats-cfgtitle { margin: 2px 0 6px; font-size: 17px; }
.ats-rails.ats-picks { padding: 8px 10px 2px; margin-bottom: 8px; }
.ats-picks-head { margin-bottom: 5px; }
.ats-pickbtn { min-height: 40px; padding: 4px 8px; }
.ats-pickdot { width: 22px; height: 22px; flex-basis: 22px; }
.ats-block { padding: 8px 10px; margin-bottom: 8px; }
.ats-heroes { gap: 10px; }
.ats-herolabel { margin-bottom: 4px; }
.ats-herotitle { font-size: 14px; }
/* owner 15.10: component prices moved under the cream control boxes */
.ats-heroprice { margin: 12px 2px 0; font-size: 15px; }
.ats-controls .ats-pane-collar .ats-heroprice { grid-column: 1 / -1; }
.ats-plus { font-size: 30px; }
.ats-controls { gap: 8px; }
.ats-controls .ats-pane-collar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 6px 10px;
	align-content: start;
}
.ats-controls .ats-pane-collar .ats-field { margin: 0; }
.ats-controls .ats-pane-leash .ats-field { margin-bottom: 6px; }
/* owner 15.10: more air between the length chips and the closure row */
.ats-controls .ats-pane-leash #ats-field-hook { margin-top: 16px; }
/* closure chips read like the length chips: green "standard" above the name
   (NOTE: ats-chips-hook is an ID — a class selector here silently deads the
   rule, the h31 selector-mismatch law) */
#ats-chips-hook .ats-chip {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; line-height: 1.1; gap: 1px;
}
#ats-chips-hook .ats-chip .ats-stdlab {
	font-size: 8px; font-weight: 700; color: #2e7d32; letter-spacing: .02em;
	text-transform: lowercase; line-height: 1;
}
#ats-chips-hook .ats-chip .ats-strlen { font-size: 12.5px; font-weight: 700; }
.ats-input { min-height: 38px; }
.ats-chip { padding: 6px 10px; }
.ats-fieldlabel { margin-bottom: 3px; }
.ats-shell { margin-bottom: 8px; }
@media (min-width: 861px) {
	.ats-controls { grid-row: 5; }
}
@media (max-width: 860px) {
	.ats-collarhero, .ats-leashhero { height: auto !important; }
	.ats-controls .ats-pane-collar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ats-intro { padding: 4px 0; }
	.ats-pickbtn { min-height: 38px; }
	.ats-tabbar { margin-bottom: 6px; }
}

/* round 9b: second squeeze pass */
.ats-intro { padding: 2px 0; gap: 10px; align-items: center; }
.ats-intro-imgwrap { flex: 0 0 74px; }
.ats-intro-imgwrap img { width: 74px; height: auto; }
.ats-intro-kicker { font-size: 10px; margin-bottom: 2px; }
.ats-intro-title { font-size: 20px; margin: 0 0 4px; }
.ats-savechip { font-size: 11px; padding: 3px 8px; }
.ats-rails.ats-picks { padding: 6px 10px 4px; }
.ats-picks-head { font-size: 12px; margin-bottom: 4px; }
.ats-picklabel { font-size: 10px; margin-bottom: 2px; }
.ats-pickname { font-size: 13px; }
.ats-fieldlabel { font-size: 11px; }
.ats-herolabel { margin-bottom: 3px; }
.ats-block { margin-bottom: 6px; }

/* fallback note overlays the photo (was stacking in flow: +25px on the hero) */
.ats-leashhero { overflow: hidden; }
.ats-leashhero .ats-fallbacknote { position: absolute; left: 8px; right: 8px; bottom: 6px; margin: 0; }
.ats-leashhero img#ats-leashimg { height: 100%; }

/* the JS hero-height lock owns the box — the old 220px min-height floor
   fought the inline height (220 computed over a 195px inline) */
.ats-leashhero { min-height: 0 !important; }
.ats-collarhero { min-height: 0 !important; }

/* round 9c mobile: overflow fixes (2-col pickers must shrink; the inline guide
   link is redundant with the head info-dot popover on narrow screens) */
@media (max-width: 860px) {
	.ats-pickbtn { min-width: 0; }
	.ats-pickname { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
	.ats-pick.ats-pick-inline { min-width: 0; }
	.ats-guide-link { display: none; }
	.ats-fieldlabel { flex-wrap: wrap; }
}

/* round 9d mobile: paracord chips side-by-side (ellipsis handles the names),
   tighter intro/tabbar/inputs */
@media (max-width: 860px) {
	.ats-picks-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
	.ats-picks-grid .ats-pick { width: auto; min-width: 0; }
	.ats-pickbtn { min-height: 34px; padding: 3px 6px; gap: 5px; }
	.ats-pickname { font-size: 11.5px; }
	.ats-pickchev { display: none; }
	.ats-intro-title { font-size: 17px; }
	.ats-intro-imgwrap { flex: 0 0 60px; }
	.ats-intro-imgwrap img { width: 60px; }
	.ats-tabbar { margin-bottom: 4px; }
	.ats-tab { padding: 8px 6px; font-size: 13px; }
	.ats-input { min-height: 36px; }
	.ats-cfgtitle { font-size: 16px; margin: 0 0 5px; }
}

/* ---- round 10 (owner 14.10 evening): buy box higher (right third, top at the
   "Configure your set" row) + no field overflow into the leash card at narrow
   desktop widths ---- */
@media (min-width: 861px) {
	.ats-buyrow { grid-row: 2 / 6; }
}
/* the chips/labels must be allowed to shrink: their nowrap min-content was
   overflowing the collar pane's grid track into the leash pane (paid: print +
   head fields "scrambled" over the leash configurator at narrow widths) */
.ats-pick { min-width: 0; }
.ats-pickbtn { min-width: 0; }
.ats-pickname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ats-controls .ats-pane { min-width: 0; }
.ats-controls { gap: 10px; }
.ats-fieldlabel { flex-wrap: wrap; row-gap: 2px; }

/* ---- round 12 (owner 14.10 evening): strap-fill text field (P249/P30
   ftsTintField behaviour — JS side), one-line length chips, leash pane
   stretch, breathing room restored ---- */

/* the leash card stretches to match the collar card — no white void under the
   shorter leash fields; the fields distribute evenly inside */
@media (min-width: 861px) {
	.ats-controls { align-items: stretch; }
	.ats-controls .ats-pane-leash { align-content: space-evenly; }
}

/* one-line length chips: 6 compact chips, the STANDARD chip carries a small
   green word above the number */
.ats-chips-length { flex-wrap: nowrap; gap: 4px; }
.ats-chips-length .ats-chip {
	flex: 1 1 0; min-width: 0; text-align: center;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	line-height: 1.1; padding: 4px 2px; gap: 1px;
}
.ats-chips-length .ats-chip .ats-stdlab {
	font-size: 8px; font-weight: 700; color: #2e7d32; letter-spacing: .02em;
	text-transform: lowercase; line-height: 1;
}
.ats-chips-length .ats-chip .ats-strlen { font-size: 12.5px; font-weight: 700; }
/* breathing room back where round 9 over-compressed */
.ats-block { padding: 10px 12px; margin-bottom: 10px; }
.ats-controls { gap: 14px; margin: 10px 0 6px; }
.ats-controls .ats-pane-collar { gap: 10px 12px; }
.ats-fieldlabel { margin-bottom: 5px; }
.ats-guide-link { font-size: 11.5px; display: inline-block; margin: 4px 0 0 0; }
/* step 4/5 row: text wider, head narrower */
.ats-controls .ats-pane-collar { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.ats-controls .ats-pane-collar #ats-field-head { display: flex; flex-direction: column; }
.ats-controls .ats-pane-collar #ats-field-head .ats-fieldlabel { align-items: flex-start; }
@media (max-width: 860px) {
	.ats-chips-length { flex-wrap: nowrap; }
	.ats-chips-length .ats-chip { flex: 1 1 0; }
	.ats-chips-length .ats-chip .ats-strlen { font-size: 11.5px; }
	.ats-block { padding: 9px 10px; margin-bottom: 8px; }
}

/* round 12b: the length-chips container is an ID, not a class — the earlier
   .ats-chips-length rules never matched (paid: chips wrapped anyway) */
#ats-chips-length { flex-wrap: nowrap; gap: 4px; }
#ats-chips-length .ats-chip {
	flex: 1 1 0; min-width: 0; text-align: center;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	line-height: 1.1; padding: 4px 2px; gap: 1px;
}
#ats-chips-length .ats-chip .ats-stdlab {
	font-size: 8px; font-weight: 700; color: #2e7d32; letter-spacing: .02em;
	line-height: 1; text-transform: lowercase;
}
#ats-chips-length .ats-chip .ats-strlen { font-size: 12.5px; font-weight: 700; }
/* step 5 label on one line — the unit lives in the input suffix */
#ats-headlabel { font-size: 10px; letter-spacing: .03em; }
#ats-field-head .ats-guide-link { margin-top: 3px; }

/* ---- round 13 (owner 14.10): longer text box (own full-width row), head
   field below it, visible swatch rings for light colours ---- */
@media (min-width: 861px) {
	.ats-controls .ats-pane-collar { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
	#ats-field-text, #ats-field-head { grid-column: 1 / -1; }
	#ats-field-head .ats-input { max-width: 220px; }
}
@media (max-width: 860px) {
	#ats-field-text, #ats-field-head { grid-column: 1 / -1; }
}
/* light swatches (cream, white, pastels) must read on white cards */
.ats-palitem img, .ats-pickdot img, .ats-pickdot .ats-dotless, .ats-palitem .ats-dotless {
	box-shadow: inset 0 0 0 1px rgba(31, 27, 22, .22);
}
.ats-gmodal[hidden] { display: none; }
.ats-gmodal { align-items: flex-start; }

/* round 13b: light ink dots need a CONTOUR — inset box-shadow is invisible on
   <img> content; outline draws over it (paid: cream/pastel dots invisible) */
.ats-palitem img, .ats-pickdot img {
	outline: 1px solid rgba(31, 27, 22, .30);
	outline-offset: -1px;
}

/* round 14 (owner 14.10): the leash fields must run PARALLEL to the biothane
   fields — top-aligned under their step badges, never vertically centred in
   the stretched card (space-evenly was the defect) */
@media (min-width: 861px) {
	.ats-controls .ats-pane-leash { align-content: start; }
	.ats-controls .ats-pane-leash .ats-field { margin-bottom: 10px; }
	.ats-controls .ats-pane-leash .ats-field:last-child { margin-bottom: 0; }
}

/* ======================================================================
   15.10 MOBILE BAR FIX (owner report: "SET in winkelmand" button painted
   over the price at 390px). Cause: the later-round rules
   .ats-total-price{margin-left:auto} + 20-26px size make .ats-price-line
   overflow its min-width:0 box under the button on narrow screens.
   Mobile standard (gold standard section 2): the sticky bar carries the
   CURRENT price only - struck price, badge and component lines drop out.
   ====================================================================== */
@media (max-width: 560px) {
	.ats-buyrow .ats-comp-line { display: none !important; }
	.ats-buyrow .ats-orig,
	.ats-buyrow .ats-pctbadge { display: none !important; }
	.ats-buyrow .ats-price-line { margin-top: 0; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
	.ats-buyrow .ats-total-price { font-size: 19px !important; font-weight: 800 !important; margin-left: 0 !important; white-space: nowrap; }
	.ats-buyrow .ats-save-line { font-size: 10.5px !important; text-align: left !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
	.ats-buyrow .ats-pricebox { flex: 1 1 auto !important; min-width: 0 !important; overflow: hidden; }
	.ats-buyrow .ats-buybtn { flex: 0 0 auto !important; width: auto !important; padding: 11px 12px !important; font-size: 14px !important; white-space: nowrap; }
}

/* ---- 2026-10-15 trust block + ship teaser (dev-parity): icons in markup;
   mobile in-flow trust + WhatsApp block; the shop's own shipping teaser
   lives in the buy column (desktop) and as a clone atop the mobile block ---- */
.ats-mobtrust { display: none; }
@media (max-width: 860px) {
	.ats-mobtrust {
		display: flex; flex-direction: column; gap: 10px;
		padding: 14px 10px 4px;
	}
	.ats-mobtrust .ats-wa { display: flex; }
	.ats-mobtrust .ats-trust { display: flex; }
	.ats-buyrow .adorit-product-shipping-teaser { display: none !important; }
}
.ats-mobtrust .adorit-product-shipping-teaser { margin: 0; }
