/**
 * adorit_set196_leuchtie.css — SET shell v2, DESIGNED PARENT UI (dev 900002)
 * set196v1 (17.10, impl-C): clone of the proven LIVE set30 CSS
 * (setp30v20, md5 4cb4a81d248d4825ad12a25efdac1da3) with the SPEC §7
 * deltas: own namespace .s196- (both shells load site-wide — zero
 * cross-contamination), collar card = ONE colour picker + ONE neck field
 * (no print ink / print text / view tabs), single hero window CONTAIN-FIT
 * (the 13 render assets vary in aspect: cream 453 is 880×763 vs ~881×532
 * for the other 12 — object-fit: contain + centered handles both),
 * picture-in-picture + view-tab + print-tint rules removed with their
 * features. Everything else (P362 design language, terracotta step badges,
 * §3 popup, harmony advisor, buy column, mobile slim bar, hidden-frame
 * pattern) ports 1:1 from the proven set30 sheet.
 */

.s196-shell {
	max-width: 1240px;
	margin: 0 auto;
	padding: 4px 12px 8px 12px;
	box-sizing: border-box;
	font-family: inherit;
	color: #2f2a24;
}
.s196-shell *,
.s196-shell *::before,
.s196-shell *::after { box-sizing: border-box; }

/* ---------------- intro strip ---------------- */
.s196-intro { padding: 10px 2px 6px 2px; }
.s196-intro-kicker {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: #c2562d;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
/* set30 fix 4 (owner 16.10): H1 = the product's own name, EXACT P362 title
   treatment (.ats-intro-title: 21px / 700 / #1f2937); the former page title
   ("Stelle dein SET zusammen") sits below as the muted sub line. */
.s196-intro-title {
	margin: 0 0 6px 0;
	font-size: 21px;
	line-height: 1.2;
	font-weight: 700;
	color: #1f2937;
}
.s196-cfgsub {
	margin: 0 0 7px 0;
	font-size: 15.5px;
	font-weight: 700;
	color: #6b5f4f;
	line-height: 1.3;
}
.s196-expl {
	margin: 0 0 8px 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: #57534e;
	max-width: 720px;
}

/* ---------------- main grid ----------------
   Desktop (>=1100px): [collar 1fr | + 36px | leuchtie 1fr | buy 264px]
   Below: everything stacks; the buy column becomes a card (861-1099) and
   the fixed slim bottom bar (<=860, gold standard §2 overlap gate). */
.s196-main { display: block; }
@media (min-width: 1100px) {
	.s196-main {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 264px;
		grid-template-rows: auto auto;
		column-gap: 14px;
		align-items: start;
	}
	.s196-card-collar { grid-column: 1; grid-row: 1; }
	.s196-plus { grid-column: 2; grid-row: 1; }
	.s196-card-lc { grid-column: 3; grid-row: 1; }
	.s196-advisor { grid-column: 1 / 4; grid-row: 2; }
	.s196-buy {
		grid-column: 4;
		grid-row: 1 / 3;
		position: sticky;
		top: 74px;
	}
}
@media (min-width: 861px) and (max-width: 1099px) {
	.s196-buy { margin-top: 10px; }
}

.s196-plus {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	font-weight: 300;
	color: #c2562d;
	line-height: 1;
	user-select: none;
	padding-top: 150px;
}
@media (max-width: 1099px) {
	.s196-plus { display: none; }
}

/* ---------------- cards ---------------- */
.s196-card {
	background: #fff;
	border: 1.5px solid #e7ded2;
	border-radius: 14px;
	padding: 12px 12px 12px 14px;
	margin: 0 0 12px 0;
}
.s196-herolabel {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px 1px;
}
.s196-herotitle { font-size: 15px; font-weight: 800; color: #2f2a24; margin-right: 6px; }

/* ---------------- heroes ----------------
   SINGLE collar window (no view tabs): contain-fit — the 13 render assets
   vary in aspect (cream 453 is 880×763, the other 12 ~881×532), so the img
   is centered and contained, never cropped or stretched. The LEUCHTIE hero
   shares the same window (set30 impl-H fix 5, aligned hero box). */
.s196-collarhero {
	position: relative;
	border: 1px solid #e6dfd3;
	border-radius: 12px;
	background: #faf7f3;
	overflow: hidden;
	aspect-ratio: 1.348;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}
.s196-collarhero img#s196-collarimg {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	transition: opacity 0.25s ease;
}
.s196-lchero {
	position: relative;
	border: 1px solid #e6dfd3;
	border-radius: 12px;
	background: #2b2b2e;
	overflow: hidden;
	aspect-ratio: 1.348;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	transition: box-shadow 0.3s ease;
}
.s196-lchero img#s196-lcimg {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	transition: opacity 0.25s ease;
}
.s196-heroloading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 13.5px;
	color: #6b7280;
	background: #faf7f3;
	z-index: 2;
	pointer-events: none;
}
.s196-lchero .s196-heroloading { background: #2b2b2e; color: #d8d5cd; }
.s196-heroloading.s196-done { display: none; }
.s196-spinner {
	width: 20px;
	height: 20px;
	border: 3px solid #e6dfd3;
	border-top-color: #c2562d;
	border-radius: 50%;
	animation: s196spin 0.9s linear infinite;
	flex: 0 0 auto;
}
@keyframes s196spin { to { transform: rotate(360deg); } }
.s196-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;
}
.s196-frameerror.s196-show { display: flex; }

/* ---------------- pickers + fields ---------------- */
.s196-picks { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; }
.s196-field { margin: 0; min-width: 0; }
/* H3 space efficiency (set30, owner 16.10): the LEUCHTIE control zone is ONE
   band — colour pick left (~40%), the 15 size chips flow the FULL remaining
   width, Standard/Premium sit side by side. Scoped to the LEUCHTIE card and
   to >=861px; on <=860px the single-column flow is the compacter shape. */
@media (min-width: 861px) {
	.s196-card-lc .s196-picks {
		grid-template-columns: minmax(132px, 40%) minmax(0, 1fr);
		grid-template-areas:
			"lcc lcs"
			"note note"
			"lcsn lcsn";
		gap: 5px 10px;
		margin-top: 6px;
	}
	.s196-card-lc #s196-field-lcc { grid-area: lcc; }
	.s196-card-lc #s196-field-lcs { grid-area: lcs; }
	.s196-card-lc #s196-field-lcsn { grid-area: lcsn; }
	.s196-card-lc .s196-harmonynote { grid-area: note; margin: 0 1px; }
}
.s196-card-lc .s196-sensorchip { padding: 6px 9px; }
.s196-card-lc .s196-sensor-txt small { line-height: 1.2; }
.s196-card-lc .s196-fieldlabel { margin: 0 0 3px 1px; }
.s196-card-lc .s196-heroprice { margin-top: 6px; }
/* collar card: colour pick + neck field side by side on wide screens */
@media (min-width: 861px) {
	.s196-card-collar .s196-picks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.s196-fieldlabel {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	row-gap: 2px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #6b5f4f;
	margin: 0 0 4px 1px;
}
.s196-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;
	position: relative;
}
.s196-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;
}
.s196-stepnum.s196-done .s196-stepcheck { display: block; }
.s196-stepnum.s196-done { box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.35); }
.s196-harmonynote {
	font-size: 10.5px;
	color: #8a8177;
	margin: 3px 2px 0 2px;
	line-height: 1.35;
}
.s196-pick { min-width: 0; }
.s196-pickbtn {
	display: flex;
	align-items: center;
	gap: 9px;
	width: 100%;
	min-height: 44px;
	padding: 5px 9px;
	background: #faf7f3;
	border: 1.5px solid #e7ded2;
	border-radius: 10px;
	cursor: pointer;
	font: inherit;
	color: #2f2a24;
	text-align: left;
}
.s196-pickbtn:hover { border-color: #c2562d; }
.s196-pickbtn .s196-pickdot {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	overflow: hidden;
	background: #efe9df;
	display: flex;
	align-items: center;
	justify-content: center;
}
.s196-pickdot img { width: 100%; height: 100%; object-fit: cover; display: block; outline: 1px solid rgba(31, 27, 22, 0.30); outline-offset: -1px; }
.s196-pickname {
	flex: 1 1 auto;
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}
.s196-pickname.s196-railpending { color: #9a8d7c; font-size: 12.5px; }
.s196-pickchev { flex: 0 0 auto; color: #b45f38; font-size: 11px; }
.s196-railpending { font-size: 12.5px; color: #9ca3af; padding: 4px 2px; }

.s196-input {
	width: 100%;
	box-sizing: border-box;
	border: 1.4px solid #2f2a24;
	border-radius: 6px;
	height: 40px;
	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: #2f2a24;
	transition: border-color 0.18s ease, color 0.18s ease;
}
.s196-input:focus { border-color: #c2562d; box-shadow: 0 0 0 2px rgba(194, 86, 45, 0.18); }
.s196-input::placeholder { color: inherit; opacity: 0.45; font-weight: 600; letter-spacing: 0.06em; }
#s196-field-neck { position: relative; }
.s196-sizewrap { display: inline-flex; align-items: center; gap: 8px; }
.s196-input-size { max-width: 110px; text-align: left; text-transform: none; letter-spacing: 0.04em; }
.s196-hcm { font-size: 13px; font-weight: 700; color: #8a8177; }
.s196-guide-link, .s196-guide-link-pop {
	color: #b45f38;
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
	margin-left: 8px;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 600;
}
.s196-guide-link-pop { display: inline-block; margin: 8px 0 0 0; font-weight: 700; }
.s196-fmsg {
	display: none;
	margin: 4px 1px 0 1px;
	font-size: 12px;
	font-weight: 600;
	color: #b91c1c;
	line-height: 1.3;
}
.s196-fielderr .s196-input { outline: 2px solid #c0392b; outline-offset: 1px; }
.s196-field.s196-fielderr .s196-fmsg { display: block; }

/* ---------------- LEUCHTIE colour chip (set30 fix 2) ----------------
   The 12-colour grid is gone; the lc hex dot rides the shared pick-button
   anatomy (.s196-pickdot 24px) and reappears in the §3 popup (.s196-palitem).
   Size chips + sensor chips below stay visible as rows. */
.s196-glowdot {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: block;
	box-shadow: inset 0 0 0 1px rgba(31, 27, 22, 0.25), 0 0 8px rgba(43, 43, 46, 0.18);
}
#s196-pickdot-lc { background: transparent; }
#s196-pickdot-lc .s196-glowdot { width: 24px; height: 24px; }
.s196-palitem .s196-glowdot.s196-palhexdot { width: 36px; height: 36px; }

.s196-sizechips { display: flex; flex-wrap: wrap; gap: 3px; }
.s196-sizechip {
	flex: 0 0 auto;
	min-width: 30px;
	min-height: 44px;
	padding: 5px 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #e7ded2;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 12.5px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	text-align: center;
	line-height: 1.2;
}
.s196-sizechip:hover { border-color: #c2562d; }
.s196-sizechip.s196-sel {
	border-color: #c2562d;
	box-shadow: inset 0 0 0 1px #c2562d;
	background: #fdf3ee;
	color: #1f2937;
	font-weight: 700;
}

.s196-sensors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.s196-sensorchip {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 10px;
	background: #fff;
	border: 1.5px solid #e7ded2;
	border-radius: 10px;
	cursor: pointer;
	font: inherit;
	text-align: left;
	position: relative;
	min-width: 0;
}
.s196-sensorchip:hover { border-color: #c2562d; }
.s196-sensorchip.s196-sel { border-color: #c2562d; box-shadow: inset 0 0 0 1px #c2562d; background: #fdf3ee; }
.s196-sensor-radio {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid #c9c0b2;
	background: #fff;
	box-sizing: border-box;
}
.s196-sensorchip.s196-sel .s196-sensor-radio { border-color: #c2562d; background: radial-gradient(circle, #c2562d 45%, #fff 50%); }
.s196-sensor-txt { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.s196-sensor-txt strong { display: block; font-size: 13px; color: #2f2a24; }
.s196-sensor-txt small { display: block; font-size: 10.5px; color: #8a8177; }
.s196-sensorplus {
	position: absolute;
	top: -8px;
	right: 8px;
	background: #c2562d;
	color: #fff;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	padding: 1px 7px;
}

/* ---------------- harmony advisor strip ---------------- */
.s196-advisor {
	background: #faf7f3;
	border: 1.5px solid #e7ded2;
	border-radius: 14px;
	padding: 12px 14px;
	margin: 0 0 12px 0;
}
.s196-advhead { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.s196-advtitle {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #6b5f4f;
}
.s196-advlead { font-size: 14px; font-weight: 700; color: #2f2a24; margin: 0 0 10px 1px; }
.s196-advdots { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.s196-advdot {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid rgba(31, 27, 22, 0.18);
	cursor: pointer;
	padding: 0;
	position: relative;
	transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}
.s196-advdot::after {
	content: '';
	position: absolute;
	inset: -13px;
	border-radius: 50%;
}
.s196-advdot:hover { transform: scale(1.08); }
.s196-advdot.s196-adv-rec {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(46, 125, 50, 0.55), 0 0 10px rgba(46, 125, 50, 0.35);
	border-color: #fff;
}
.s196-advdot.s196-adv-caution { opacity: 0.32; filter: grayscale(0.9); cursor: help; }
.s196-advdot.s196-adv-sel {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #c2562d, 0 0 12px rgba(194, 86, 45, 0.45);
}

/* ---------------- heroprice captions ---------------- */
.s196-heroprice {
	font-size: 15px;
	font-weight: 700;
	color: #2f2a24;
	margin: 10px 2px 0 2px;
}

/* ---------------- buy column ---------------- */
.s196-buy {
	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, 0.07);
}
.s196-buy .s196-err { width: 100%; }
.s196-pricebox { display: flex; flex-direction: column; gap: 8px; }
.s196-comp-line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; color: #6b5f4f; }
.s196-comp-line span:first-child { white-space: normal; min-width: 0; }
.s196-comp-line span:last-child { flex-shrink: 0; white-space: nowrap; }
.s196-comp-line span:last-child { font-weight: 700; color: #2f2a24; }
.s196-price-line { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; flex-wrap: nowrap; white-space: nowrap; }
.s196-orig { text-decoration: line-through; color: #9a8d7c; font-size: 13px; font-weight: 600; }
.s196-pctbadge {
	background: #c2562d;
	color: #fff;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	padding: 2px 8px;
	letter-spacing: 0.03em;
	line-height: 1.4;
	margin: 0 2px;
	white-space: nowrap;
}
.s196-total-price { font-size: 24px; font-weight: 800; color: #2f2a24; margin-left: auto; }
.s196-save-line { font-size: 12px; color: #2e7d32; font-weight: 700; text-align: right; }
.s196-buybtn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 13px 10px;
	background: #c2562d;
	color: #fff;
	border: 0;
	border-radius: 10px;
	font: inherit;
	font-size: 15.5px;
	font-weight: 800;
	cursor: pointer;
	line-height: 1.2;
	margin-top: 4px;
}
.s196-buybtn:hover { background: #a9481f; }
.s196-buybtn:disabled,
.s196-buybtn.s196-disabled { background: #e5ddd2; color: #9a9285; cursor: not-allowed; }
.s196-stepnum-btn { margin-right: 8px; width: 22px; height: 22px; flex: 0 0 22px; background: #fff; color: #c2562d; }
.s196-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;
	margin-top: 8px;
}
.s196-wa:hover { background: #f2fbf5; }
.s196-trust {
	border-top: 1px solid #efe9df;
	padding-top: 10px;
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.s196-trustrow { font-size: 13.5px; color: #4b4237; line-height: 1.45; }
.s196-err {
	display: none;
	background: #fef2f2;
	border: 1.5px solid #fca5a5;
	color: #b91c1c;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 8px;
}
.s196-err.s196-show { display: block; }
.s196-err button {
	margin-left: 10px;
	background: #b91c1c;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 4px 12px;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}
.s196-mobtrust { display: none; }

/* ---------------- hidden frames (offscreen-parked, JS alive) ----------------
   P362 leash-frame pattern: laid out at desktop size, parked offscreen so
   both product pages' JS boots and updates — never visibility:hidden. */
.s196-frame {
	position: absolute;
	left: -12000px;
	top: 0;
	width: 1240px;
	height: 2000px;
	opacity: 0;
	pointer-events: none;
	border: 0;
	background: #fff;
}
#s196-frame-b { height: 2400px; }

/* ---------------- dot gallery popup (§3) ---------------- */
.s196-palbackdrop { position: fixed; inset: 0; background: rgba(20, 18, 15, 0.35); z-index: 5090; }
[hidden].s196-palbackdrop { display: none; }
.s196-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, 0.18);
	padding: 12px 12px 14px;
	box-sizing: border-box;
}
.s196-pal[hidden] { display: none; }
.s196-palhead { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px 2px; }
.s196-paltitle {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #6b5f4f;
}
.s196-palclose { background: none; border: 0; font-size: 15px; line-height: 1; color: #9a8d7c; cursor: pointer; padding: 4px 6px; }
.s196-palgrid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
.s196-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;
}
.s196-palitem img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: block; outline: 1px solid rgba(31, 27, 22, 0.30); outline-offset: -1px; }
.s196-palitem .s196-dotless { width: 36px; height: 36px; border-radius: 50%; background: #efe9df; display: inline-block; }
.s196-palname { font-size: 10.5px; color: #4b4237; text-align: center; line-height: 1.15; max-width: 100%; overflow: hidden; }
.s196-palitem:hover { border-color: #c2562d; }
.s196-palitem.s196-sel { border-color: #c2562d; box-shadow: 0 0 0 2px rgba(194, 86, 45, 0.25); }
.s196-palitem.s196-sel .s196-palname { font-weight: 700; color: #2f2a24; }

/* ---------------- tip popovers ---------------- */
.s196-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;
	position: relative;
}
.s196-tipbtn:hover { background: #c2562d; color: #fff; }
/* overlay-control tap-target law (gold standard §9): small control on a big
   surface gets an effective >=44px hit area via a transparent ::after */
.s196-tipbtn::after { content: ''; position: absolute; inset: -13px; border-radius: 50%; }
.s196-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, 0.16);
	padding: 10px 12px;
}
.s196-tipbox[hidden] { display: none; }
.s196-tipbox-txt { font-size: 12.5px; color: #4b4237; line-height: 1.45; }

/* ---------------- measuring-guide modal ---------------- */
.s196-gmodal {
	position: fixed;
	inset: 0;
	z-index: 5200;
	background: rgba(20, 18, 15, 0.92);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 16px;
}
.s196-gmodal[hidden] { display: none; }
.s196-gmodal-card {
	position: relative;
	background: #fff;
	border-radius: 12px;
	width: min(680px, 94vw);
	height: min(80vh, 720px);
	overflow: hidden;
	margin-top: 6vh;
}
.s196-gmodal-close { position: absolute; top: 10px; right: 12px; z-index: 2; background: #fff; border: 0; font-size: 20px; color: #6b5f4f; cursor: pointer; }
.s196-gmodal-card iframe { width: 100%; height: 100%; border: 0; }

/* ---------------- toast ---------------- */
.s196-toast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%);
	background: #1f2937;
	color: #fff;
	padding: 11px 18px;
	border-radius: 9px;
	font-size: 14px;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
	opacity: 0;
	transition: opacity 0.25s;
	z-index: 9999;
	pointer-events: none;
	max-width: 88vw;
}
.s196-toast.s196-on { opacity: 1; }

/* ======================================================================
   TABLET (861-1099px): cards stack full width, buy becomes an in-flow card
   ====================================================================== */
@media (max-width: 1099px) {
	.s196-advisor { margin-top: 2px; }
}

/* ======================================================================
   MOBILE (<=860px): stacked cards + fixed slim bottom bar
   ====================================================================== */
@media (max-width: 860px) {
	.s196-shell { padding: 2px 10px 6px 10px; }
	.s196-intro { padding: 6px 0 2px 0; }
	.s196-intro-title { font-size: 17px; }
	.s196-cfgsub { font-size: 14px; }
	.s196-expl { font-size: 12.5px; }
	.s196-card { padding: 10px 10px 10px 12px; margin-bottom: 10px; }
	.s196-collarhero, .s196-lchero { min-height: 200px; }
	.s196-lchero img#s196-lcimg { max-height: 100%; }
	.s196-picks { grid-template-columns: minmax(0, 1fr); }
	.s196-heroprice { margin-top: 8px; font-size: 14px; }
	.s196-sensors { grid-template-columns: minmax(0, 1fr); }
	.s196-advdots { gap: 14px; }
	/* mobile in-flow trust + WhatsApp block */
	.s196-mobtrust {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 6px 10px 4px;
	}
	.s196-mobtrust .s196-wa { display: flex; }
	.s196-mobtrust .s196-trust { display: flex; }
	.s196-mobtrust .adorit-product-shipping-teaser { margin: 0; }
	/* fixed slim bottom bar: CURRENT price + savings hint + add button only
	   (gold standard §2 — the slim bar stays price+button) */
	.s196-buy {
		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, 0.12);
		margin: 0;
	}
	.s196-buy .s196-pricebox { flex: 1 1 auto; min-width: 0; overflow: hidden; gap: 0; }
	.s196-buy .s196-comp-line, .s196-buy .s196-pctbadge, .s196-buy .s196-orig { display: none !important; }
	.s196-buy .s196-price-line { margin: 0; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
	.s196-buy .s196-total-price { font-size: 19px !important; font-weight: 800 !important; margin-left: 0 !important; white-space: nowrap; }
	.s196-buy .s196-save-line { font-size: 10.5px !important; text-align: left !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
	.s196-buy .s196-buybtn { width: auto; flex: 0 0 auto; padding: 11px 14px; font-size: 14px; white-space: nowrap; margin-top: 0; flex-direction: row; }
	.s196-buy .s196-trust, .s196-buy .s196-wa { display: none !important; }
	.s196-buy .s196-err { flex: 1 1 100%; order: 3; }
	.s196-err { flex-basis: 100%; }
	/* popup becomes a bottom sheet above the sticky bar */
	.s196-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));
	}
	.s196-tipbox { left: 10px !important; right: 10px !important; width: auto; }
	body.s196-active { padding-bottom: 96px !important; }
	.s196-advdot { width: 32px; height: 32px; }
}
@media (max-width: 419px) {
	.s196-intro-title { font-size: 16px; }
	.s196-cfgsub { font-size: 13.5px; }
}

/* setp30v19 (carried): contain the moved description block (the share-widget
   row overflowed the viewport by ~95px on mobile); keep inner Gambio widgets
   within the shell width. */
.s196-desc { max-width: 100%; overflow-x: clip; }
.s196-desc .shariff, .s196-desc [class*="shariff"], .s196-desc .tab-content, .s196-desc .nav-tabs { max-width: 100%; }
