/**
 * SHLabz Storefront.
 *
 * Every rule is scoped under .shlabz, and the tokens are defined on .shlabz
 * rather than :root, so the theme's own variables and typography are never
 * touched. Fonts are deliberately inherited — the plugin adopts whatever the
 * theme already uses.
 */

.shlabz {
	--shlabz-brand: #19ed56;
	--shlabz-brand-hi: #12d94b;
	--shlabz-brand-deep: #0b9c3b;
	--shlabz-brand-tint: #e8fdef;
	--shlabz-on-brand: #041206;
	--shlabz-ink: #0d1211;
	--shlabz-ink-2: #47504d;
	--shlabz-ink-3: #7a837f;
	--shlabz-line: #e8ecea;
	--shlabz-line-2: #d2d8d5;
	--shlabz-soft: #f6f8f7;
	--shlabz-shadow: 0 1px 2px rgba(13, 18, 17, .04), 0 8px 24px -16px rgba(13, 18, 17, .18);
	--shlabz-ease: cubic-bezier(.2, 0, 0, 1);

	box-sizing: border-box;
	color: var(--shlabz-ink);
	font-variant-numeric: tabular-nums;
}

.shlabz *,
.shlabz *::before,
.shlabz *::after {
	box-sizing: border-box;
}

body.shlabz-locked {
	overflow: hidden;
}

.shlabz-mono {
	font-variant-numeric: tabular-nums;
}

/* ── buttons ────────────────────────────────────────────────────────── */

.shlabz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: none;
	font: inherit;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: -.01em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background .2s var(--shlabz-ease), color .2s var(--shlabz-ease),
		border-color .2s var(--shlabz-ease), transform .18s var(--shlabz-ease);
}

.shlabz-btn:active {
	transform: translateY(1px);
}

.shlabz-btn svg {
	width: 15px;
	height: 15px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.shlabz-btn--dark {
	background: var(--shlabz-ink);
	border-color: var(--shlabz-ink);
	color: #fff;
}

.shlabz-btn--line {
	border-color: var(--shlabz-line-2);
	color: var(--shlabz-ink);
}

.shlabz-btn--sm {
	min-height: 42px;
	padding: 0 16px;
	font-size: 14px;
}

@media (hover: hover) {
	.shlabz-btn--dark:hover { background: var(--shlabz-ink-2); border-color: var(--shlabz-ink-2); color: #fff; }
	.shlabz-btn--line:hover { border-color: var(--shlabz-brand-deep); color: var(--shlabz-brand-deep); background: var(--shlabz-brand-tint); }
}

/* ── the purchase panel ─────────────────────────────────────────────── */

.shlabz-buy {
	margin: 20px 0;
	border: 1px solid var(--shlabz-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--shlabz-shadow);
	overflow: hidden;
}

.shlabz-buy__sec {
	padding: 15px 16px;
	border-bottom: 1px solid var(--shlabz-line);
}

.shlabz-lbl {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--shlabz-ink-3);
}

.shlabz-tiers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.shlabz-tier {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 13px 8px 11px;
	border: 1.5px solid var(--shlabz-line);
	border-radius: 14px;
	background: #fff;
	font: inherit;
	text-align: center;
	cursor: pointer;
	transition: border-color .2s var(--shlabz-ease), background .2s var(--shlabz-ease),
		box-shadow .25s var(--shlabz-ease), transform .18s var(--shlabz-ease);
}

.shlabz-tier:active { transform: translateY(1px); }
.shlabz-tier__q { font-size: 14.5px; font-weight: 800; letter-spacing: -.02em; color: var(--shlabz-ink); }

.shlabz-tier__u {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--shlabz-ink-3);
	line-height: 1.25;
}

.shlabz-tier__u s { font-size: 11px; opacity: .75; text-decoration-thickness: 1px; }
.shlabz-tier__u span { display: block; }
.shlabz-tier__u b { font-size: 13.5px; font-weight: 800; color: var(--shlabz-ink); letter-spacing: -.02em; }

.shlabz-tier__b {
	margin-top: 4px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--shlabz-brand-tint);
	color: #0a7a30;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	white-space: nowrap;
}

.shlabz-tier__b--flat { background: var(--shlabz-soft); color: var(--shlabz-ink-3); }
.shlabz-tier.is-on { border-color: var(--shlabz-ink); box-shadow: 0 0 0 1.5px var(--shlabz-ink) inset, var(--shlabz-shadow); }
.shlabz-tier.is-on .shlabz-tier__b { background: var(--shlabz-brand); color: var(--shlabz-on-brand); }
.shlabz-tier.is-on .shlabz-tier__b--flat { background: var(--shlabz-ink); color: #fff; }

@media (hover: hover) {
	.shlabz-tier:hover { border-color: var(--shlabz-line-2); }
	.shlabz-tier.is-on:hover { border-color: var(--shlabz-ink); }
}

/* the water add-on */

.shlabz-req {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--shlabz-brand-deep);
}

.shlabz-dot {
	width: 7px;
	height: 7px;
	flex: none;
	border-radius: 999px;
	background: var(--shlabz-brand);
	box-shadow: 0 0 0 3px var(--shlabz-brand-tint);
}

.shlabz-wrow {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 11px 0 0;
	padding: 10px 11px;
	border: 1.5px solid var(--shlabz-line);
	border-radius: 14px;
	background: var(--shlabz-soft);
	cursor: pointer;
	transition: border-color .2s var(--shlabz-ease), background .2s var(--shlabz-ease);
}

.shlabz-wrow__cb { position: absolute; opacity: 0; width: 0; height: 0; }

.shlabz-wrow__box {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 7px;
	border: 1.8px solid var(--shlabz-line-2);
	background: #fff;
	display: grid;
	place-items: center;
	transition: background .18s var(--shlabz-ease), border-color .18s var(--shlabz-ease);
}

.shlabz-wrow__box svg {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: #fff;
	stroke-width: 3.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0;
	transform: scale(.4);
	transition: opacity .18s var(--shlabz-ease), transform .18s var(--shlabz-ease);
}

.shlabz-wrow__cb:checked + .shlabz-wrow__box { background: var(--shlabz-brand-deep); border-color: var(--shlabz-brand-deep); }
.shlabz-wrow__cb:checked + .shlabz-wrow__box svg { opacity: 1; transform: none; }
.shlabz-wrow__cb:focus-visible + .shlabz-wrow__box { outline: 2px solid var(--shlabz-brand-deep); outline-offset: 2px; }

.shlabz-wrow__img {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	object-fit: cover;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .06);
}

.shlabz-wrow__t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.shlabz-wrow__t b { font-size: 14px; font-weight: 800; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shlabz-wrow__t i { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--shlabz-ink-3); }

.shlabz-wrow__p { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.shlabz-wrow__p b { font-size: 14.5px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.shlabz-wrow__p i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--shlabz-ink-3); white-space: nowrap; }

.shlabz-wrow.is-off { background: #fff; border-color: var(--shlabz-line); }
.shlabz-wrow.is-off .shlabz-wrow__t b,
.shlabz-wrow.is-off .shlabz-wrow__p b { color: var(--shlabz-ink-3); }

@media (hover: hover) { .shlabz-wrow:hover { border-color: var(--shlabz-line-2); } }

.shlabz-wrow__n { margin: 9px 2px 0; font-size: 11.5px; line-height: 1.5; color: var(--shlabz-ink-3); }

/* the total */

.shlabz-buy__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 16px;
	background: var(--shlabz-soft);
}

.shlabz-buy__tl { font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--shlabz-ink-3); }
.shlabz-buy__tv { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.shlabz-buy__tv b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }

.shlabz-buy__tv i:not(:empty) {
	font-style: normal;
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--shlabz-brand-tint);
	color: #0a7a30;
	font-size: 11.5px;
	font-weight: 800;
}

/* the stack link — a link, not a button, but still a 42px target */

.shlabz-stacklink {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 10px 0 0;
	min-height: 44px;
	padding: 11px 4px;
	font-size: 13.5px;
	font-weight: 800;
	color: var(--shlabz-ink-2);
	letter-spacing: -.01em;
	text-decoration: none;
	transition: color .2s var(--shlabz-ease);
}

.shlabz-stacklink svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .22s var(--shlabz-ease);
}

@media (hover: hover) {
	.shlabz-stacklink:hover { color: var(--shlabz-brand-deep); }
	.shlabz-stacklink:hover svg { transform: translateX(3px); }
}

/* ── the certificate disclosure ─────────────────────────────────────── */

.shlabz-coa {
	margin: 26px 0;
	border: 1px solid var(--shlabz-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--shlabz-shadow);
	overflow: hidden;
}

.shlabz-coa--has { border-color: rgba(11, 156, 59, .28); }

.shlabz-coa__top {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 16px;
	border: 0;
	background: #fff;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: pointer;
	transition: background .2s var(--shlabz-ease);
}

.shlabz-coa__top--flat { cursor: default; }
.shlabz-coa__top:focus-visible { outline: 2px solid var(--shlabz-brand-deep); outline-offset: -2px; }

@media (hover: hover) {
	.shlabz-coa__top:not(.shlabz-coa__top--flat):hover { background: var(--shlabz-soft); }
}

.shlabz-coa__ico {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	background: var(--shlabz-brand-tint);
	border: 1px solid rgba(11, 156, 59, .18);
}

.shlabz-coa__ico svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: var(--shlabz-brand-deep);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.shlabz-coa__ttl { flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 800; letter-spacing: -.025em; line-height: 1.25; }

.shlabz-coa__pct {
	flex: none;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--shlabz-brand-tint);
	color: #0a7a30;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: -.01em;
	white-space: nowrap;
}

.shlabz-coa__pct--n { background: var(--shlabz-soft); color: var(--shlabz-ink-3); }

.shlabz-coa__chev {
	flex: none;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: var(--shlabz-ink-3);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .3s var(--shlabz-ease);
}

.shlabz-coa.is-open .shlabz-coa__chev { transform: rotate(180deg); stroke: var(--shlabz-ink); }

/* 0fr → 1fr opens the panel without measuring anything */
.shlabz-coa__wrap {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .34s var(--shlabz-ease);
}

.shlabz-coa.is-open .shlabz-coa__wrap { grid-template-rows: 1fr; }
.shlabz-coa__panel { min-height: 0; overflow: hidden; }
.shlabz-coa__inner { padding: 2px 16px 16px; }

.shlabz-coa__d {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	margin: 0;
	background: var(--shlabz-line);
	border: 1px solid var(--shlabz-line);
	border-radius: 14px;
	overflow: hidden;
}

.shlabz-coa__d > div { background: var(--shlabz-soft); padding: 11px 13px; }
.shlabz-coa__d dt { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--shlabz-ink-3); }
.shlabz-coa__d dd { margin: 4px 0 0; font-size: 14.5px; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.shlabz-coa__hero { font-size: 19px; color: var(--shlabz-brand-deep); }

.shlabz-coa__doc {
	display: block;
	position: relative;
	width: 100%;
	margin-top: 12px;
	padding: 0;
	border: 1px solid var(--shlabz-line);
	border-radius: 14px;
	overflow: hidden;
	background: var(--shlabz-soft);
	cursor: zoom-in;
	-webkit-tap-highlight-color: transparent;
}

.shlabz-coa__doc img { display: block; width: 100%; height: auto; background: #fff; transition: transform .45s var(--shlabz-ease); }
.shlabz-coa__doc:focus-visible { outline: 2px solid var(--shlabz-brand-deep); outline-offset: 2px; }

@media (hover: hover) { .shlabz-coa__doc:hover img { transform: scale(1.012); } }

.shlabz-coa__mag {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(9, 12, 11, .86);
	color: #fff;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: -.01em;
}

.shlabz-coa__mag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.shlabz-coa__pdfwrap { margin-top: 12px; border: 1px solid var(--shlabz-line); border-radius: 14px; overflow: hidden; }
.shlabz-coa__pdf { display: block; width: 100%; height: min(76vh, 860px); border: 0; background: var(--shlabz-soft); }

.shlabz-coa__row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.shlabz-coa__row .shlabz-btn { flex: 1 1 180px; }
.shlabz-coa__n { margin: 12px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--shlabz-ink-3); }

/* ── the viewer ─────────────────────────────────────────────────────── */

.shlabz-coav {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(9, 12, 11, .55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity .22s var(--shlabz-ease);
}

.shlabz-coav.is-open { opacity: 1; }
.shlabz-coav[hidden] { display: none; }

.shlabz-coav__card {
	width: min(var(--shlabz-cw, 760px), 100%);
	height: min(96vh, 1180px);
	max-height: calc(100vh - 40px);
	background: #fff;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55);
	transform: translateY(8px) scale(.99);
	transition: transform .28s var(--shlabz-ease);
}

.shlabz-coav.is-open .shlabz-coav__card { transform: none; }

.shlabz-coav__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 16px 14px 18px;
	border-bottom: 1px solid var(--shlabz-line);
}

.shlabz-coav__ttl { min-width: 0; }
.shlabz-coav__top b { display: block; font-size: 15px; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shlabz-coav__src { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 700; color: var(--shlabz-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.shlabz-coav__x {
	flex: none;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid var(--shlabz-line);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
}

.shlabz-coav__x svg { width: 17px; height: 17px; fill: none; stroke: var(--shlabz-ink); stroke-width: 1.9; stroke-linecap: round; }

.shlabz-coav__stage {
	flex: 1;
	min-height: 0;
	overflow: auto;
	background: #f4f6f5;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-x pan-y;
	scrollbar-width: thin;
}

.shlabz-coav__sheet { padding: 16px; }

/* width, not transform: the scroll container then sees the zoomed size */
.shlabz-coav__doc {
	display: block;
	margin: 0 auto;
	width: calc(var(--shlabz-z, 1) * var(--shlabz-fitw, 100%));
	max-width: none;
	height: auto;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .35);
	cursor: zoom-in;
	-webkit-user-select: none;
	user-select: none;
}

.shlabz-coav__stage.is-zoomed .shlabz-coav__doc { cursor: grab; }
.shlabz-coav__stage.is-dragging .shlabz-coav__doc { cursor: grabbing; }

.shlabz-coav__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding: 12px 16px;
	border-top: 1px solid var(--shlabz-line);
	background: #fff;
}

.shlabz-coav__zoom {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--shlabz-line);
	border-radius: 999px;
	background: var(--shlabz-soft);
}

.shlabz-coav__zoom button {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--shlabz-ink);
	cursor: pointer;
	font: inherit;
}

.shlabz-coav__zoom button:disabled { opacity: .35; cursor: default; }
.shlabz-coav__zoom svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.shlabz-coav__pct { min-width: 56px; text-align: center; font-size: 12.5px; font-weight: 800; color: var(--shlabz-ink-2); }
.shlabz-coav__acts { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
	.shlabz-coa__wrap,
	.shlabz-coa__chev,
	.shlabz-coav,
	.shlabz-coav__card,
	.shlabz-coa__doc img { transition: none; }
}

/* ── batch results ──────────────────────────────────────────────────── */

.shlabz-labbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }

.shlabz-labsearch {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 320px;
	min-width: 0;
	max-width: 460px;
	height: 52px;
	padding: 0 18px;
	border: 1.5px solid var(--shlabz-line);
	border-radius: 999px;
	background: #fff;
}

.shlabz-labsearch svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--shlabz-ink-3); stroke-width: 1.9; stroke-linecap: round; }

.shlabz-labsearch input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 15px;
	color: var(--shlabz-ink);
	outline: none;
	padding: 0;
}

.shlabz-labcount { font-size: 13px; font-weight: 700; color: var(--shlabz-ink-3); }

.shlabz-labgrid { display: grid; gap: 10px; }

.shlabz-labcard {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 10px;
	row-gap: 8px;
	align-items: center;
	padding: 13px;
	border: 1px solid var(--shlabz-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--shlabz-shadow);
}

.shlabz-labcard[hidden] { display: none; }

.shlabz-labcard__n { grid-column: 1; grid-row: 1; margin: 0; font-size: 15.5px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.shlabz-labcard__n a {
	color: inherit;
	text-decoration: none;
	/* the visible line stays 18px; the tap target does not */
	position: relative;
	display: inline-block;
	padding: 2px 0;
}

.shlabz-labcard__n a::after {
	content: '';
	position: absolute;
	top: -11px;
	right: -6px;
	bottom: -11px;
	left: -6px;
}

.shlabz-labcard__sz {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--shlabz-soft);
	border: 1px solid var(--shlabz-line);
	font-size: 11.5px;
	font-weight: 800;
	color: var(--shlabz-ink-2);
	white-space: nowrap;
}

.shlabz-labcard__b { grid-column: 1; grid-row: 2; font-size: 11.5px; color: var(--shlabz-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shlabz-labcard__d { grid-column: 2; grid-row: 2; justify-self: end; font-size: 11.5px; color: var(--shlabz-ink-3); white-space: nowrap; }

.shlabz-labcard__tile {
	grid-row: 3;
	padding: 7px 10px 8px;
	border: 1px solid var(--shlabz-line);
	border-radius: 12px;
	background: var(--shlabz-soft);
	line-height: 1.15;
}

.shlabz-labcard__tile--p { grid-column: 1; }
.shlabz-labcard__tile--c { grid-column: 2; }
.shlabz-labcard__tile span { display: block; margin-bottom: 3px; font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--shlabz-ink-3); }
.shlabz-labcard__tile b { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.shlabz-labcard__tile--p b { color: var(--shlabz-brand-deep); }

.shlabz-labcard__acts { grid-column: 1 / -1; grid-row: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.shlabz-labcard--multi .shlabz-labcard__tile--p { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: baseline; gap: 9px; padding: 6px 10px; }
.shlabz-labcard--multi .shlabz-labcard__tile--p span { margin-bottom: 0; }
.shlabz-labcard--multi .shlabz-labcard__tile--c { grid-column: 1 / -1; grid-row: 4; }
.shlabz-labcard--multi .shlabz-labcard__tile--c b { font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.shlabz-labcard--multi .shlabz-labcard__acts { grid-row: 5; }

.shlabz-verify {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	height: 42px;
	padding: 0 10px;
	border: 1.5px solid var(--shlabz-line-2);
	border-radius: 999px;
	background: none;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	color: var(--shlabz-ink);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background .2s var(--shlabz-ease), border-color .2s var(--shlabz-ease),
		color .2s var(--shlabz-ease), transform .18s var(--shlabz-ease);
}

.shlabz-verify:active { transform: translateY(1px); }
.shlabz-verify svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.shlabz-verify--doc { border-color: var(--shlabz-ink); background: var(--shlabz-ink); color: #fff; }

@media (hover: hover) {
	.shlabz-verify:hover { border-color: var(--shlabz-brand-deep); color: var(--shlabz-brand-deep); background: var(--shlabz-brand-tint); }
	.shlabz-verify--doc:hover { border-color: var(--shlabz-ink-2); background: var(--shlabz-ink-2); color: #fff; }
}

.shlabz-lab__empty,
.shlabz-lab__none { margin: 18px 0; color: var(--shlabz-ink-3); }
.shlabz-lab__none[hidden] { display: none; }

/* ── phones ─────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
	.shlabz-buy { margin: 16px 0; border-radius: 16px; }
	.shlabz-buy__sec,
	.shlabz-buy__total { padding: 13px 14px; }
	.shlabz-buy__tv b { font-size: 22px; }
	.shlabz-wrow { padding: 9px 10px; gap: 10px; }
	.shlabz-wrow__img { width: 34px; height: 34px; }
	.shlabz-stacklink { margin-top: 8px; font-size: 13px; }

	.shlabz-coav { padding: 0; }
	.shlabz-coav__card { width: 100%; height: 100%; max-height: 100dvh; border-radius: 0; }
	.shlabz-coav__top { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
	.shlabz-coav__sheet { padding: 10px; }
	.shlabz-coav__bar { gap: 6px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
	.shlabz-coav__zoom button { width: 44px; height: 44px; }
	.shlabz-coav__acts { width: 100%; margin-left: 0; }
	.shlabz-coav__acts .shlabz-btn { flex: 1 1 120px; min-width: 0; }

	.shlabz-labsearch { flex: none; width: 100%; max-width: none; height: 50px; }
}

@media (max-width: 430px) {
	.shlabz-coa__top { gap: 9px; padding: 12px 14px; }
	.shlabz-coa__ico { width: 34px; height: 34px; border-radius: 11px; }
	.shlabz-coa__ico svg { width: 17px; height: 17px; }
	.shlabz-coa__ttl { font-size: 15px; }
	.shlabz-coa__pct { padding: 5px 10px; font-size: 12px; }
	.shlabz-coa__inner { padding: 2px 14px 14px; }
}

@media (max-width: 374px) {
	.shlabz-coa__top { gap: 8px; padding: 11px 13px; }
	.shlabz-coa__ico { width: 30px; height: 30px; border-radius: 10px; }
	.shlabz-coa__ttl { font-size: 14px; }
	.shlabz-coa__pct { padding: 5px 9px; font-size: 11.5px; }
	.shlabz-coa__inner { padding: 2px 13px 13px; }
}

@media (max-width: 359px) {
	.shlabz-coa__ico { display: none; }
	.shlabz-coa__d { grid-template-columns: 1fr; }
}
