/* HealThyRam Thyrocare — /lab-tests/ hub components (rc.8).
   Every colour, radius, shadow and motion value comes from ht-tokens.css
   (HealThyRam Design System). No hard-coded hex below. */

/* rc.10.1 — Martfury sets html { font-size: 62.5% } (10px root), so the
   rem-based type tokens in ht-tokens.css rendered at 62.5% on healthyram.com
   (verified 17 Sep 2026: card body 8.75px). Pin the type scale in px for the
   hub; every other token is already px. */
:root {
	--text-h1-size: 26px;
	--text-h2-size: 19px;
	--text-h3-size: 17px;
	--text-body-size: 16px;
	--text-small-size: 14px;
	--text-micro-size: 12px;
}

.htc-tiles,
.htc-cards,
.htc-ladder,
.htc-trust {
	font-family: var(--font-body);
	color: var(--text-body);
}

/* ---------- Concern tiles ---------- */

.htc-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-4);
	margin: 0;
	padding: 0;
}

.htc-tile {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-5);
	background: var(--surface-card);
	border: 1px solid var(--border-default);
	border-radius: var(--radius-default);
	box-shadow: var(--shadow-card);
	text-decoration: none;
	color: var(--text-body);
	transition: box-shadow var(--duration-medium) var(--ease-default), border-color var(--duration-medium) var(--ease-default), transform var(--duration-medium) var(--ease-default);
}

.htc-tile:hover,
.htc-tile:focus-visible {
	box-shadow: var(--shadow-card-hover);
	border-color: var(--accent-primary);
	transform: translateY(-2px);
	color: var(--text-body);
}

.htc-tile.is-active {
	border-color: var(--accent-primary);
	background: var(--surface-tint-green);
}

.htc-tile[data-kind="standard"] {
	background: var(--surface-tint-orange);
}

.htc-tile-name {
	font-family: var(--font-display);
	font-size: var(--text-h3-size);
	line-height: var(--text-heading-leading);
	letter-spacing: var(--text-heading-tracking);
}

.htc-tile-line {
	font-size: var(--text-small-size);
	color: var(--text-muted);
	line-height: 1.45;
}

.htc-tile-cta {
	margin-top: auto;
	font-size: var(--text-small-size);
	font-weight: 600;
	color: var(--accent-primary);
}

/* ---------- Cards ---------- */

.htc-cards-heading,
.htc-ladder-heading {
	font-family: var(--font-display);
	font-size: var(--text-h2-size);
	letter-spacing: var(--text-heading-tracking);
	margin: 0 0 var(--space-4);
}

.htc-cards-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3);
	margin: 0 0 var(--space-4);
	padding: var(--space-3) var(--space-4);
	background: var(--surface-tint-green);
	border-radius: var(--radius-sm);
	font-size: var(--text-small-size);
}

.htc-cards-filter[hidden],
.htc-cards-empty[hidden] {
	display: none;
}

.htc-cards-clear {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	color: var(--accent-primary);
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
}

.htc-cards-empty {
	margin: 0 0 var(--space-4);
	padding: var(--space-4);
	background: var(--surface-tint-orange);
	border-radius: var(--radius-sm);
}

.htc-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-4);
}

.htc-card {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-5);
	background: var(--surface-card);
	border: 1px solid var(--border-default);
	border-radius: var(--radius-default);
	box-shadow: var(--shadow-card);
	transition: box-shadow var(--duration-medium) var(--ease-default);
}

.htc-card:hover {
	box-shadow: var(--shadow-card-hover);
}

.htc-card.is-hidden {
	display: none;
}

.htc-card-kicker {
	font-size: var(--text-micro-size);
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--accent-primary-hover);
}

.htc-card-title {
	font-family: var(--font-display);
	font-size: var(--text-h3-size);
	margin: 0;
	line-height: var(--text-heading-leading);
}

.htc-card-title a {
	color: var(--text-body);
	text-decoration: none;
}

.htc-card-looks {
	margin: 0;
	font-size: var(--text-small-size);
	color: var(--accent-secondary);
	font-weight: 600;
}

.htc-card-summary {
	margin: 0;
	font-size: var(--text-small-size);
	color: var(--text-muted);
	line-height: 1.5;
}

.htc-card-facts {
	list-style: none;
	margin: var(--space-1) 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.htc-card-facts li {
	font-size: var(--text-micro-size);
	padding: 2px var(--space-2);
	border-radius: var(--radius-sm);
	background: var(--surface-tint-green);
	color: var(--accent-primary-hover);
}

.htc-card-foot {
	margin-top: auto;
	padding-top: var(--space-3);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	flex-wrap: wrap;
}

.htc-card-price {
	font-family: var(--font-display);
	font-size: var(--text-h2-size);
}

.htc-card-price del {
	display: none; /* One honest price — never a strike-through. */
}

.htc-btn {
	display: inline-block;
	padding: 10px var(--space-4);
	background: var(--accent-primary);
	color: var(--text-on-brand) !important;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-btn);
	text-decoration: none !important;
	font-weight: 600;
	font-size: var(--text-small-size);
	transition: background var(--duration-fast) var(--ease-default), box-shadow var(--duration-fast) var(--ease-default);
}

.htc-btn:hover,
.htc-btn:focus-visible {
	background: var(--accent-primary-hover);
	box-shadow: var(--shadow-btn-hover);
}

.htc-card-disclose {
	margin: var(--space-1) 0 0;
	font-size: var(--text-micro-size);
	color: var(--text-muted);
}

/* ---------- Trust strip ---------- */

.htc-trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-3);
}

.htc-trust li {
	padding: var(--space-3) var(--space-4);
	border-left: 3px solid var(--accent-primary);
	background: var(--surface-card);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-size: var(--text-small-size);
	line-height: 1.45;
}

/* ---------- Ladder ---------- */

.htc-ladder {
	margin: var(--space-6) 0 0;
	padding: var(--space-5);
	background: var(--surface-tint-green);
	border-radius: var(--radius-default);
}

.htc-ladder-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--space-4);
}

.htc-ladder-step {
	display: flex;
	gap: var(--space-4);
	align-items: flex-start;
}

.htc-ladder-n {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--accent-primary);
	color: var(--text-on-brand);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: var(--text-small-size);
}

.htc-ladder-body h3 {
	margin: 0 0 var(--space-1);
	font-family: var(--font-display);
	font-size: var(--text-h3-size);
}

.htc-ladder-body p {
	margin: 0 0 var(--space-1);
	font-size: var(--text-small-size);
	color: var(--text-muted);
	line-height: 1.5;
}

.htc-ladder-price {
	color: var(--text-body) !important;
	font-weight: 600;
}

.htc-link {
	color: var(--accent-primary);
	font-size: var(--text-small-size);
	font-weight: 600;
	text-decoration: none;
}

.htc-ladder-discovery {
	margin: var(--space-4) 0 0;
	font-size: var(--text-small-size);
}

.htc-ladder-note {
	margin: var(--space-3) 0 0;
	font-size: var(--text-micro-size);
	color: var(--text-muted);
}

.htc-admin-note {
	padding: var(--space-3);
	border: 1px dashed var(--accent-secondary);
	border-radius: var(--radius-sm);
	font-size: var(--text-small-size);
	color: var(--text-muted);
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
	.htc-tiles,
	.htc-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.htc-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.htc-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-3);
	}
	.htc-tile {
		padding: var(--space-4);
	}
	.htc-tile-line {
		display: none; /* Name + CTA only on small phones — the line returns on the card. */
	}
	.htc-cards,
	.htc-trust {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.htc-tile,
	.htc-card,
	.htc-btn {
		transition: none;
	}
	.htc-tile:hover {
		transform: none;
	}
}

/* ---------- Spotlight band (rc.9) ---------- */

.htc-spotlight {
	font-family: var(--font-body);
	color: var(--text-body);
	background: var(--surface-card);
	border: 1px solid var(--border-default);
	border-left: 4px solid var(--accent-secondary);
	border-radius: var(--radius-default);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

.htc-sp-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	padding: var(--space-3) var(--space-5) 0;
}

.htc-sp-tab {
	font: inherit;
	font-size: var(--text-small-size);
	font-weight: 600;
	padding: 6px var(--space-3);
	border: 1px solid var(--border-default);
	border-radius: 999px;
	background: var(--surface-page);
	color: var(--text-muted);
	cursor: pointer;
}

.htc-sp-tab.is-active,
.htc-sp-tab:focus-visible {
	background: var(--surface-tint-orange);
	border-color: var(--accent-secondary);
	color: var(--text-body);
	outline: none;
}

.htc-sp-panel {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
	padding: var(--space-5);
	align-items: center;
}

.htc-sp-panel.has-image {
	grid-template-columns: 3fr 2fr;
}

.htc-sp-panel[hidden] {
	display: none;
}

.htc-sp-kicker {
	display: block;
	font-size: var(--text-micro-size);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--accent-secondary);
	margin-bottom: var(--space-1);
}

.htc-sp-title {
	font-family: var(--font-display);
	font-size: var(--text-h2-size);
	line-height: var(--text-heading-leading);
	letter-spacing: var(--text-heading-tracking);
	margin: 0 0 var(--space-2);
}

.htc-sp-line {
	margin: 0 0 var(--space-3);
	color: var(--text-muted);
	line-height: 1.5;
	max-width: 62ch;
}

.htc-sp-media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
}

@media (max-width: 700px) {
	.htc-sp-panel.has-image {
		grid-template-columns: 1fr;
	}
	.htc-sp-media {
		order: -1;
	}
}

/* ======================================================================
   rc.10.4 — redesigned hub (approved mock v5, 18 Sep 2026)
   Search, shelves, compact cards, compare table, included strip, quiz,
   lead + organisation forms, sticky bar. Tokens only; px type scale (rc.10.1).
   ====================================================================== */

.htc-shelf, .htc-search, .htc-quiz, .htc-org, .htc-included, .htc-compare, .htc-sticky {
	font-family: var(--font-body);
	color: var(--text-body);
	box-sizing: border-box;
}
.htc-shelf *, .htc-search *, .htc-quiz *, .htc-org *, .htc-included *, .htc-compare *, .htc-sticky * { box-sizing: border-box; }

.htc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--ht-green-dark); color: var(--text-on-brand); font-size: 15px; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; line-height: 1.2; }
.htc-btn:hover, .htc-btn:focus-visible { background: var(--ht-ink); color: var(--text-on-brand); }
.htc-btn-outline { background: transparent; color: var(--ht-green-dark); border: 1.5px solid var(--ht-green-dark); }
.htc-btn-outline:hover, .htc-btn-outline:focus-visible { background: var(--surface-tint-green); color: var(--ht-green-dark); }
.htc-btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.htc-link { background: none; border: 0; padding: 0; color: var(--ht-green-dark); font-weight: 500; cursor: pointer; text-decoration: none; font-size: 15px; }
.htc-link:hover { color: var(--ht-ink); text-decoration: underline; }
.htc-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.3; }
.htc-badge-orange { background: var(--surface-tint-orange); color: var(--ht-ink); }
.htc-badge-green { background: var(--surface-tint-green); color: var(--ht-green-dark); }
.htc-admin-note { font-size: 13px; color: var(--ht-error); }

/* ---------- Concern tiles: compact (10 across on desktop) ---------- */
.htc-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.htc-tile { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; box-shadow: none; }
.htc-tile-name { font-size: 15px; font-weight: 500; }
.htc-tile-line, .htc-tile-cta { display: none; }
.htc-tile::before { content: ""; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: var(--surface-tint-green); }
@media (max-width: 900px) { .htc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .htc-tile { padding: 12px 14px; } .htc-tile-name { font-size: 14px; } }

/* ---------- Search ---------- */
.htc-search { position: relative; margin: 0 0 16px; }
.htc-search-box { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 20px; background: var(--surface-card); border: 2px solid var(--ht-green-dark); border-radius: 14px; }
.htc-search-icon { color: var(--ht-green-dark); display: inline-flex; }
.htc-search-input { flex: 1 1 auto; min-width: 0; height: 44px; border: 0 !important; outline: none; background: transparent !important; font-size: 18px; box-shadow: none !important; padding: 0 !important; margin: 0 !important; color: var(--text-body); }
.htc-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.htc-search-count { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.htc-search-results { position: absolute; left: 0; right: 0; top: calc(100% - 4px); z-index: 30; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: 0 0 14px 14px; box-shadow: 0 12px 32px rgba(26, 26, 46, 0.10); overflow: hidden; }
.htc-search-results[hidden] { display: none; }
.htc-search-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border-default); text-decoration: none; color: var(--text-body); }
.htc-search-item:first-child { border-top: 0; }
.htc-search-item:hover, .htc-search-item:focus-visible { background: var(--surface-tint-green); color: var(--text-body); }
.htc-search-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.htc-search-title { font-size: 15px; font-weight: 500; }
.htc-search-meta { font-size: 13px; color: var(--text-muted); }
.htc-search-side { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.htc-search-price { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.htc-search-empty { margin: 0; padding: 14px 16px; font-size: 14px; color: var(--text-muted); }
@media (max-width: 900px) { .htc-search-box { height: 52px; padding: 0 14px; border-radius: 12px; } .htc-search-input { font-size: 16px; } .htc-search-count { display: none; } }

/* ---------- Shelves ---------- */
.htc-shelf { margin: 0 0 8px; }
.htc-shelf-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 0 0 20px; }
.htc-shelf-title { margin: 0 0 6px; font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--text-body); }
.htc-shelf-sub { margin: 0; font-size: 16px; color: var(--text-muted); }
.htc-shelf-grid { display: grid; gap: 20px; }
.htc-shelf-grid-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.htc-shelf-grid-aarogyam { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.htc-shelf-grid-popular { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.htc-shelf-disclose { margin: 14px 0 0; font-size: 12px; color: var(--text-muted); }
@media (max-width: 1100px) { .htc-shelf-grid-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .htc-shelf-grid-aarogyam, .htc-shelf-grid-popular { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.htc-shelf-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
	.htc-shelf-title { font-size: 22px; }
	.htc-shelf-sub { font-size: 14px; }
	.htc-shelf-grid-panel { grid-template-columns: 1fr; gap: 12px; }
	.htc-shelf-grid-aarogyam { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding-bottom: 4px; }
	.htc-shelf-grid-aarogyam > * { flex: 0 0 250px; scroll-snap-align: start; }
	.htc-shelf-grid-popular { display: flex; flex-direction: column; gap: 0; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: 12px; overflow: hidden; }
}

/* Panel card */
.htc-pcard { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--surface-card); border: 1px solid var(--border-default); border-top: 4px solid var(--ht-orange); border-radius: 14px; }
.htc-pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.htc-pcard-title { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.2; }
.htc-pcard-title a { color: var(--text-body); text-decoration: none; }
.htc-pcard-for { margin: 0; font-size: 14px; line-height: 1.5; }
.htc-pcard-markers, .htc-pcard-meta { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.htc-pcard-call { margin: 0; font-size: 13px; font-weight: 500; color: var(--ht-green-dark); }
.htc-pcard-call::before { content: "✓ "; }
.htc-pcard-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.htc-pcard-pay { display: flex; flex-direction: column; gap: 2px; }
.htc-pcard-price { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.htc-pcard-mode { font-size: 12px; color: var(--text-muted); }
@media (max-width: 900px) { .htc-pcard { padding: 16px; border-top: 1px solid var(--border-default); border-left: 4px solid var(--ht-orange); border-radius: 12px; } .htc-pcard-title { font-size: 18px; } .htc-pcard-price { font-size: 18px; } }

/* Compact card */
.htc-ccard { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: 12px; }
.htc-ccard-title { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.3; }
.htc-ccard-title a { color: var(--text-body); text-decoration: none; }
.htc-shelf-grid-aarogyam .htc-ccard-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.htc-ccard-line, .htc-ccard-meta { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.htc-ccard-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.htc-ccard-price { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
@media (max-width: 900px) {
	.htc-shelf-grid-popular .htc-ccard { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 12px 14px; border: 0; border-top: 1px solid var(--border-default); border-radius: 0; }
	.htc-shelf-grid-popular .htc-ccard:first-child { border-top: 0; }
	.htc-shelf-grid-popular .htc-ccard-title { flex: 1 1 60%; font-size: 15px; }
	.htc-shelf-grid-popular .htc-ccard-line { flex: 1 1 100%; order: 3; font-size: 12px; }
	.htc-shelf-grid-popular .htc-ccard-meta { display: none; }
	.htc-shelf-grid-popular .htc-ccard-foot { margin: 0; padding: 0; flex: 0 0 auto; }
	.htc-shelf-grid-popular .htc-ccard-price { font-size: 16px; }
}

/* ---------- Compare table ---------- */
.htc-compare { margin: 20px 0 8px; padding: 24px; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: 16px; }
.htc-compare[hidden] { display: none; }
.htc-compare-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.htc-compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.htc-compare-table th, .htc-compare-table td { padding: 12px 10px; text-align: left; border-top: 1px solid var(--border-default); vertical-align: middle; }
.htc-compare-table thead th { border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); font-weight: 500; }
.htc-compare-table tbody th { font-weight: 500; }
.htc-compare-table tbody th a { color: var(--text-body); text-decoration: none; }
.htc-compare-n { display: inline-block; min-width: 34px; }
.htc-compare-bar { display: inline-block; height: 6px; max-width: 90px; border-radius: 3px; background: var(--ht-green); vertical-align: middle; }
.htc-compare-notes { font-size: 13px; color: var(--text-muted); }
@media (max-width: 900px) {
	.htc-compare { padding: 14px; }
	.htc-compare-table, .htc-compare-table tbody, .htc-compare-table tr { display: block; }
	.htc-compare-table thead { display: none; }
	.htc-compare-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 0; border-top: 1px solid var(--border-default); }
	.htc-compare-table th, .htc-compare-table td { padding: 0; border: 0; }
	.htc-compare-table tbody th { grid-column: 1 / 2; }
	.htc-compare-table td:nth-child(3) { grid-column: 2 / 3; grid-row: 1; text-align: right; font-weight: 500; }
	.htc-compare-table td:nth-child(2), .htc-compare-table td:nth-child(4) { grid-column: 1 / 2; font-size: 13px; color: var(--text-muted); }
	.htc-compare-table td:nth-child(5) { grid-column: 2 / 3; grid-row: 2 / 4; align-self: center; text-align: right; }
	.htc-compare-bar { display: none; }
}

/* ---------- Included strip ---------- */
.htc-included { margin: 0 0 20px; padding: 16px 20px; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: 12px; }
.htc-included-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); margin-bottom: 12px; }
.htc-included-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 20px; }
.htc-included-compact .htc-included-grid, .htc-booking .htc-included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.htc-included-item { display: flex; gap: 10px; align-items: flex-start; }
.htc-included-n { width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; background: var(--surface-tint-orange); color: #9A5A00; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.htc-included-item strong { display: block; font-size: 14px; font-weight: 500; }
.htc-included-item span:last-child { font-size: 12px; line-height: 1.4; color: var(--text-muted); }
.htc-booking .htc-included { margin: 12px 0; }
@media (max-width: 900px) { .htc-included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Quiz ---------- */
.htc-quiz { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--surface-card); border: 1px solid var(--border-default); border-top: 4px solid var(--ht-orange); border-radius: 16px; }
.htc-quiz-standalone { max-width: 560px; margin: 0 auto; }
.htc-quiz-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.htc-quiz-meta { font-size: 12px; color: var(--text-muted); }
.htc-quiz-progress { display: flex; gap: 6px; }
.htc-quiz-progress span { height: 4px; flex: 1 1 auto; border-radius: 2px; background: var(--border-default); }
.htc-quiz-progress span.is-done { background: var(--ht-green-dark); }
.htc-quiz-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.htc-quiz-question { margin: 0 0 10px; padding: 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.25; }
.htc-quiz-options { display: flex; flex-direction: column; gap: 8px; }
.htc-quiz-opt { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--border-default); background: var(--surface-page); color: var(--text-body); font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; font-family: inherit; }
.htc-quiz-opt:hover, .htc-quiz-opt:focus-visible { border-color: var(--ht-green-dark); background: var(--surface-tint-green); }
.htc-quiz-opt.is-selected { border: 2px solid var(--ht-green-dark); background: var(--surface-tint-green); }
.htc-quiz-other { margin-top: 8px; height: 44px; padding: 0 14px; border: 1.5px solid var(--border-default); border-radius: 10px; font-size: 15px; width: 100%; }
.htc-quiz-note { margin: 0; font-size: 12px; color: var(--text-muted); }
.htc-quiz-msg, .htc-lead-msg { font-size: 14px; color: var(--ht-green-dark); min-height: 1em; }
.htc-quiz-res { display: flex; flex-direction: column; gap: 14px; }
.htc-quiz-res-title { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.25; }
.htc-quiz-res-why { margin: 0; font-size: 15px; line-height: 1.5; }
.htc-quiz-res-links { margin: 0; text-align: center; font-size: 14px; }
.htc-lead-form { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--surface-tint-orange); border-radius: 12px; }
.htc-lead-title { margin: 0; font-size: 14px; font-weight: 500; }
.htc-lead-form input[type="email"], .htc-lead-form input[type="tel"] { height: 44px; padding: 0 12px; border: 1.5px solid var(--border-default); border-radius: 10px; font-size: 15px; background: var(--surface-card); width: 100%; }
.htc-lead-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.4; color: var(--text-muted); }
.htc-quiz-disclose { margin: 0; font-size: 11px; line-height: 1.5; color: var(--text-muted); }
.htc-quiz-result[hidden], .htc-quiz-other[hidden], .htc-quiz-q[hidden] { display: none; }

/* ---------- Organisation enquiry ---------- */
.htc-org { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 32px; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: 16px; }
.htc-org-form { display: flex; flex-direction: column; gap: 10px; }
.htc-org-form input, .htc-org-form select, .htc-org-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border-default); border-radius: 10px; font-size: 15px; font-family: inherit; background: var(--surface-page); }
.htc-org-form input, .htc-org-form select { height: 44px; }
.htc-org-interest { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.htc-org-interest legend { font-size: 13px; color: var(--text-muted); padding: 0; margin-bottom: 6px; }
.htc-org-interest label { font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .htc-org { grid-template-columns: 1fr; gap: 18px; padding: 18px; } }

/* ---------- Sticky bar (phone) ---------- */
.htc-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--surface-card); border-top: 1px solid var(--border-default); box-shadow: 0 -6px 18px rgba(26, 26, 46, 0.10); }
.htc-sticky[hidden] { display: none; }
.htc-sticky-search { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; height: 44px; padding: 0 12px; border: 1.5px solid var(--border-default); border-radius: 10px; background: var(--surface-card); color: var(--text-muted); font-size: 14px; font-family: inherit; }
.htc-sticky-search svg { color: var(--ht-green-dark); }
.htc-sticky-pin { height: 44px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--ht-green-dark); background: var(--surface-tint-green); color: var(--ht-green-dark); font-size: 13px; font-weight: 500; font-family: inherit; }
@media (min-width: 900px) { .htc-sticky { display: none !important; } }

/* Pincode row: next-slot line */
.htc-sv-next { font-weight: 500; color: var(--ht-green-dark); }
.htc-pcard.is-hidden, .htc-ccard.is-hidden { display: none; }

/* rc.10.5 — fixes from the 18 Sep live preview of draft #75199 */
a.htc-btn.htc-btn-outline, .htc-btn.htc-btn-outline, .htc-shelf a.htc-btn-outline, .htc-compare a.htc-btn-outline { color: var(--ht-green-dark) !important; background: transparent !important; }
a.htc-btn.htc-btn-outline:hover, .htc-btn.htc-btn-outline:hover { background: var(--surface-tint-green) !important; color: var(--ht-green-dark) !important; }
a.htc-btn:not(.htc-btn-outline), .htc-shelf a.htc-btn:not(.htc-btn-outline) { color: var(--text-on-brand) !important; }
.htc-org-interest input[type="checkbox"], .htc-lead-consent input[type="checkbox"] { width: 18px !important; height: 18px !important; min-width: 18px; margin: 0 !important; padding: 0 !important; flex: 0 0 18px; appearance: auto; -webkit-appearance: checkbox; }
.htc-org-interest label { align-items: center; white-space: nowrap; }
.htc-tile::before { display: none; }
/* Pincode check as a slim row on hub pages (product pages keep the stacked widget). */
.htc-shelf ~ * .htc-serviceability, .elementor-widget-shortcode .htc-serviceability { padding: 12px 16px; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: 12px; }
.elementor-widget-shortcode .htc-sv-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.elementor-widget-shortcode .htc-sv-label { margin: 0; font-size: 15px; font-weight: 500; white-space: nowrap; }
.elementor-widget-shortcode .htc-sv-controls { display: inline-flex; gap: 8px; align-items: center; }
.elementor-widget-shortcode .htc-sv-input { height: 44px !important; width: 170px; padding: 0 12px !important; border: 1.5px solid var(--border-default) !important; border-radius: 10px !important; font-size: 16px; margin: 0 !important; }
.elementor-widget-shortcode .htc-sv-check { height: 44px; padding: 0 16px; border-radius: 10px; border: 1.5px solid var(--ht-green-dark); background: transparent; color: var(--ht-green-dark); font-weight: 500; }
.elementor-widget-shortcode .htc-sv-result p { margin: 8px 0 0; font-size: 14px; }
@media (max-width: 900px) { .elementor-widget-shortcode .htc-sv-form { flex-direction: column; align-items: stretch; } .elementor-widget-shortcode .htc-sv-input { width: 100%; } }

/* ---------- rc.10.6 — density pass (18 Sep 2026 preview on a 1254 px laptop) ----------
   The hub is measured for 1280-wide laptops first. No new copy, no logic; tokens where they
   exist. One new local token: a visible card border (ht-tokens.css has no "strong" line). */
.htc-shelf, .htc-quiz, .htc-org, .htc-included, .htc-compare, .htc-search, .htc-tiles, .htc-trust, .htc-serviceability { --htc-border-strong: #CFDCC3; }

/* Buttons and inputs: 40 px control height across the hub. Theme resets. */
.htc-btn { min-height: 40px; padding: 0 16px; font-size: 14px; white-space: nowrap; margin: 0; }
.htc-btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.htc-quiz-opt, .htc-sv-check, .htc-sticky-pin, .htc-org-form button, .htc-lead-form button { margin: 0 !important; }

/* Hero */
.elementor-widget-shortcode .htc-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; }
.elementor-widget-shortcode .htc-trust li { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; border-radius: 0; font-size: 14px; line-height: 1.4; color: var(--text-body); }
.elementor-widget-shortcode .htc-trust li::before { content: "\2713"; color: var(--ht-green-dark); font-weight: 700; }

/* Quiz card: two-column answers so the card sits level with the hero copy */
.htc-quiz { padding: 18px 18px 16px; gap: 10px; }
.htc-quiz-question { font-size: 20px; margin-bottom: 8px; }
.htc-quiz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.htc-quiz-opt { min-height: 40px; padding: 8px 12px; font-size: 13px; line-height: 1.25; border-width: 1px; border-color: var(--htc-border-strong); }
.htc-quiz-opt.is-selected { border-width: 2px; }
.htc-quiz-other { height: 40px; font-size: 14px; }
.htc-quiz-standalone { padding: 22px; }
@media (max-width: 600px) { .htc-quiz-options { grid-template-columns: 1fr; } }

/* Pincode row (own full-width row under the hero in the rc.10.6 template) */
.elementor-widget-shortcode .htc-serviceability { margin: 0; padding: 10px 14px; border-color: var(--htc-border-strong); }
.elementor-widget-shortcode .htc-sv-label { font-size: 14px; }
.elementor-widget-shortcode .htc-sv-input { height: 40px !important; width: 150px; font-size: 15px; letter-spacing: 0; }
.elementor-widget-shortcode .htc-sv-controls { flex-wrap: nowrap; }
.elementor-widget-shortcode .htc-sv-check { height: 40px; padding: 0 14px; font-size: 14px; font-family: inherit; }
.elementor-widget-shortcode .htc-sv-result p { margin: 0; font-size: 14px; }
.elementor-widget-shortcode .htc-sv-form:not([hidden]) + .htc-sv-result p { margin-top: 8px; }

/* Search */
.htc-search { margin-bottom: 12px; }
.htc-search-box { height: 52px; padding: 0 16px; border-radius: 12px; }
.htc-search-input { font-size: 16px; }

/* Concern tiles */
.htc-tiles { gap: 10px; }
.htc-tile { padding: 10px 14px; min-height: 48px; border-color: var(--htc-border-strong); }
.htc-tile-name { font-size: 14px; }

/* Shelves and cards */
.htc-shelf-head { margin-bottom: 14px; }
.htc-shelf-title { font-size: 24px; margin-bottom: 4px; }
.htc-shelf-sub { font-size: 15px; }
.htc-shelf-grid { gap: 16px; }
.htc-shelf-grid-popular { gap: 14px; }
.htc-pcard { padding: 18px; gap: 8px; border: 1.5px solid var(--htc-border-strong); border-top: 4px solid var(--ht-orange); box-shadow: 0 1px 2px rgba(26, 26, 46, 0.04); }
.htc-pcard-title { font-size: 20px; }
.htc-pcard-for { font-size: 14px; line-height: 1.45; }
.htc-pcard-price { font-size: 20px; }
.htc-pcard-foot { padding-top: 4px; }
.htc-ccard { padding: 16px; gap: 6px; border: 1.5px solid var(--htc-border-strong); }
.htc-shelf-grid-aarogyam .htc-ccard-title { font-size: 18px; }
.htc-ccard-price { font-size: 17px; }
.htc-included { padding: 14px 18px; margin-bottom: 16px; border-color: var(--htc-border-strong); }
.htc-included-kicker { margin-bottom: 10px; }
.htc-compare { padding: 18px; border-color: var(--htc-border-strong); }
.htc-compare-table { font-size: 14px; }
.htc-compare-table th, .htc-compare-table td { padding: 10px 8px; }

/* Organisation block */
.htc-org { padding: 24px; gap: 24px; border-color: var(--htc-border-strong); }
.htc-org-form input, .htc-org-form select { height: 40px; font-size: 14px; }
.htc-org-form textarea { font-size: 14px; }
.htc-lead-form input[type="email"], .htc-lead-form input[type="tel"] { height: 40px; font-size: 14px; }

@media (max-width: 900px) {
	.htc-quiz { padding: 16px; }
	.htc-quiz-question { font-size: 18px; }
	.htc-pcard { padding: 14px; }
	.htc-shelf-title { font-size: 21px; }
	.elementor-widget-shortcode .htc-trust { gap: 4px 14px; }
	.elementor-widget-shortcode .htc-trust li { font-size: 13px; }
}

/* rc.10.6 — pincode form must stay hidden once a pincode is remembered (rc.10.5 flex rule beat [hidden]) */
.elementor-widget-shortcode .htc-sv-form[hidden] { display: none !important; }
.elementor-widget-shortcode .htc-sv-input { width: 190px; }
.elementor-widget-shortcode .htc-sv-check { white-space: nowrap; }

/* rc.10.6 — Spotlight without an image reads as the mock's promo strip: one row, CTA on the right */
.htc-spotlight-single .htc-sp-panel:not(.has-image) { padding: 14px 20px; }
.htc-spotlight-single .htc-sp-panel:not(.has-image) .htc-sp-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kicker cta" "title cta" "line cta"; column-gap: 24px; align-items: center; }
.htc-spotlight-single .htc-sp-panel:not(.has-image) .htc-sp-kicker { grid-area: kicker; margin-bottom: 2px; }
.htc-spotlight-single .htc-sp-panel:not(.has-image) .htc-sp-title { grid-area: title; font-size: 18px; margin: 0 0 4px; }
.htc-spotlight-single .htc-sp-panel:not(.has-image) .htc-sp-line { grid-area: line; margin: 0; font-size: 14px; max-width: none; }
.htc-spotlight-single .htc-sp-panel:not(.has-image) .htc-sp-cta { grid-area: cta; align-self: center; }
@media (max-width: 700px) { .htc-spotlight-single .htc-sp-panel:not(.has-image) .htc-sp-body { grid-template-columns: 1fr; grid-template-areas: "kicker" "title" "line" "cta"; } .htc-spotlight-single .htc-sp-panel:not(.has-image) .htc-sp-cta { justify-self: start; margin-top: 10px; } }

/* ---------- rc.10.7 — quiz Back, organisation strip ---------- */
.htc-quiz-msg:empty, .htc-lead-msg:empty { display: none; }
.htc-quiz-back { display: inline-block; margin-top: 10px; font-size: 13px; }
.htc-quiz-back[hidden] { display: none; }
.htc-org { display: block; padding: 0; overflow: hidden; }
.htc-org-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.htc-org-title { margin: 0 0 2px; font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.25; color: var(--text-body); }
.htc-org-line { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.htc-org-toggle { flex-shrink: 0; }
.htc-org-body { display: none; padding: 4px 20px 20px; border-top: 1px solid var(--border-default); }
.htc-org.is-open .htc-org-body { display: block; padding-top: 16px; }
.htc-org.is-open .htc-org-toggle { background: var(--surface-tint-green) !important; }
.htc-org-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; max-width: 760px; }
.htc-org-form .htc-org-interest, .htc-org-form .htc-org-msg, .htc-org-form .htc-lead-msg, .htc-org-form button[type="submit"] { grid-column: 1 / -1; }
.htc-org-form button[type="submit"] { justify-self: start; }
@media (max-width: 700px) {
	.htc-org-head { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
	.htc-org-toggle { width: 100%; }
	.htc-org-body { padding: 4px 16px 16px; }
	.htc-org-form { grid-template-columns: 1fr; gap: 8px; }
	.htc-org-form button[type="submit"] { width: 100%; }
}

/* rc.10.8 — quiz result names the panel */
.htc-quiz-res-name { color: var(--ht-green-dark); }
.htc-quiz-res-note { margin: 0; font-size: 13px; color: var(--text-muted); }

/* ---------- rc.10.9 — icons, quiz hint, lead form ---------- */
.htc-ico { width: 22px; height: 22px; flex: 0 0 22px; color: var(--ht-green-dark); }
.htc-quiz-opt { gap: 10px; }
.htc-quiz-opt[hidden] { display: none; }
.htc-quiz-opt > span { min-width: 0; }
.htc-quiz-hint { margin: 2px 0 0; font-size: 12px; color: var(--text-muted); }
.htc-tile .htc-ico { width: 24px; height: 24px; flex: 0 0 24px; }
.htc-lead-form .htc-btn { justify-content: center; }
@media (max-width: 900px) { .htc-ico { width: 20px; height: 20px; flex-basis: 20px; } .htc-tile .htc-ico { width: 20px; height: 20px; flex-basis: 20px; } }

/* ---------- rc.10.10 ---------- */
/* Rupee sign: Roboto Slab has no ₹ glyph in some builds — fall back for prices. */
.htc-search-price, .htc-pcard-price, .htc-ccard-price, .htc-compare-table td, .htc-sp-title .htc-price { font-family: "Roboto Slab", "Noto Sans", Roboto, Arial, sans-serif; }
.htc-powered { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 13px; color: var(--text-muted); }
/* rc.10.22: Martfury's `img:not(.lazy){height:auto}` has the same specificity and loads later, so the
   logo rendered at its intrinsic 400×91. !important on our own element only. */
.htc-powered img { height: 22px !important; width: auto !important; max-width: none !important; flex: 0 0 auto; }
.htc-shelf .htc-included { margin: 16px 0 0; }
@media (max-width: 900px) { .htc-powered { flex-wrap: wrap; } }

/* ======================================================================
   rc.10.23 — phone density pass (founder phone screenshots, 23 Sep 2026; measured live at 412 px).
   Scoped to hub pages (`body.htc-hub-page`, HTC_Frontend::body_class) so product pages and the
   rest of the site are untouched. Elementor's mobile section padding (28/24) + column padding (10)
   + widget spacing (20) stacked to 72 px between blocks; the popular-tests rows put the foot before
   the line (order:3) so Book fell under the title; the theme's floating WhatsApp bubble sat on the
   Book buttons; the plugin's own sticky bar was hidden behind the theme's mobile bottom nav.
   ====================================================================== */
@media (max-width: 767px) {
	.htc-hub-page .elementor-top-section { padding-top: 22px !important; padding-bottom: 14px !important; }
	.htc-hub-page .elementor-widget-wrap { padding: 0 !important; }
	.htc-hub-page .elementor-widget:not(:last-child) { margin-bottom: 14px; }
	.htc-hub-page .elementor-column + .elementor-column { margin-top: 12px; }
	/* Elementor button widgets (the "Find my panel" band): full width, not floated right. */
	.htc-hub-page .elementor-widget-button .elementor-button-wrapper { text-align: left; }
	.htc-hub-page .elementor-widget-button .elementor-button { width: 100%; justify-content: center; }
	/* "How it works" step numbers are 44 px inline spans in the template; 32 px at phone width. */
	.htc-hub-page .elementor-widget-text-editor p > span[style*="width:44px"] { width: 32px !important; height: 32px !important; border-radius: 9px !important; font-size: 14px; }
	/* Popular tests: title + price + line on the left, Book pinned right (founder request, 23 Sep). */
	.htc-shelf-grid-popular .htc-ccard { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title book" "price book" "line book"; column-gap: 16px; row-gap: 3px; align-items: center; padding: 12px 14px; }
	.htc-shelf-grid-popular .htc-ccard-title { grid-area: title; flex: none; font-size: 15px; }
	.htc-shelf-grid-popular .htc-ccard-line { grid-area: line; flex: none; order: 0; font-size: 12px; }
	.htc-shelf-grid-popular .htc-ccard-foot { display: contents; }
	.htc-shelf-grid-popular .htc-ccard-price { grid-area: price; font-size: 16px; }
	.htc-shelf-grid-popular .htc-ccard-foot .htc-btn { grid-area: book; align-self: center; min-width: 76px; }
	/* Aarogyam rail: 84 % cards so the next card visibly peeks (was a 30 px sliver at 250 px). */
	.htc-shelf-grid-aarogyam > * { flex: 0 0 84% !important; }
	/* Partner logo a touch smaller on phones. */
	.htc-powered img { height: 20px !important; }
	/* Plugin sticky bar sat behind Martfury's fixed mobile nav (#mf-navigation-mobile, 67 px, z 999999):
	   the nav already carries Search, so the bar is dropped when the nav is present. */
	body:has(#mf-navigation-mobile) .htc-sticky { display: none !important; }
	/* Kiwi floating WhatsApp bubble (#kiwi-big-iframe-wrapper, inline bottom:130px right:5px) covered the
	   Book buttons and the Aarogyam cards: kept on the right (thumb side — founder, 23 Sep), moved up just above the theme nav. */
	.htc-hub-page #kiwi-big-iframe-wrapper { right: 8px !important; bottom: 76px !important; }
	/* rc.10.24 — pincode row: the input carried a fixed 180 px basis and the button was nowrap, so the pair
	   was 339 px inside a 320 px box and "Check Availability" hung out of the card. Input takes the remainder. */
	.elementor-widget-shortcode .htc-sv-controls { display: flex !important; width: 100%; gap: 8px; }
	.elementor-widget-shortcode .htc-sv-input { flex: 1 1 0 !important; min-width: 0; width: auto !important; }
	.elementor-widget-shortcode .htc-sv-check { flex: 0 0 auto; padding: 0 12px !important; }
}
