/* ==========================================================================
   LAB TESTS MANAGER - FRONTEND ULTRA-PREMIUM PRODUCT CARD & GRID (V4.18.0)
   Brand Palette:
   - Deep Burgundy / Purple: #521542
   - Rich Amber / Gold:      #BC8836
   - Deep Medical Teal:      #054A4C
   - Warm Silk Cream:        #FCF7F4
   ========================================================================== */

.ltm-test-grid,
.ltm-single-container,
.ltm-checkout-wrap,
.ltm-cust-portal,
.ltm-reports-portal-wrap {
	--ltm-primary: #521542;
	--ltm-primary-dark: #3D0D32;
	--ltm-primary-light: #701C5A;
	--ltm-gold: #BC8836;
	--ltm-gold-light: #F2DDB7;
	--ltm-gold-dark: #966624;
	--ltm-teal: #054A4C;
	--ltm-teal-light: #0B6363;
	--ltm-bg-cream: #FCF7F4;
	--ltm-text-dark: #1E293B;
	--ltm-text-muted: #64748B;
	--ltm-border-subtle: #F1E5D8;
	--ltm-radius-card: 6px;
	--ltm-radius-btn: 6px;
	--ltm-radius-pill: 20px;
}

/* ==========================================================================
   1. GRID CONTAINER
   ========================================================================== */
.ltm-test-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 28px;
	margin: 24px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	box-sizing: border-box;
}

.ltm-test-grid * {
	box-sizing: border-box;
}

/* ==========================================================================
   2. LUXURY TEST CARD
   ========================================================================== */
.ltm-test-card {
	position: relative;
	background: #FFFFFF;
	border: 1px solid #E4D8E0;
	border-left: 3px solid var(--ltm-primary);
	border-radius: 0;
	padding: 22px 20px;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: border-color 0.18s ease, transform 0.18s ease;
	overflow: hidden;
	cursor: pointer;
}

.ltm-test-card:hover {
	transform: translateY(-2px);
	border-color: #C89B3C;
	border-left-color: var(--ltm-primary);
	box-shadow: 0 4px 12px rgba(82, 21, 66, 0.07);
}

.ltm-test-card:hover .ltm-test-title {
	color: var(--ltm-primary);
}

/* ==========================================================================
   3. CARD TOP BAR (Category & Discount Badge)
   ========================================================================== */
.ltm-card-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

.ltm-card-cat-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--ltm-bg-cream);
	color: var(--ltm-primary);
	border: 1px solid var(--ltm-gold-light);
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 4px 10px;
	border-radius: var(--ltm-radius-pill);
}

.ltm-card-cat-badge svg {
	stroke: var(--ltm-gold);
	flex-shrink: 0;
}

.ltm-card-discount-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #FCF7F4;
	color: var(--ltm-gold-dark);
	border: 1px solid var(--ltm-gold-light);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.03em;
	padding: 3px 9px;
	border-radius: 4px;
}

.ltm-card-discount-badge svg {
	fill: var(--ltm-gold-dark);
}

/* ==========================================================================
   4. CARD TITLE
   ========================================================================== */
.ltm-test-title {
	font-size: 19px;
	font-weight: 700;
	color: var(--ltm-primary);
	line-height: 1.35;
	margin: 0 0 12px 0;
	letter-spacing: -0.01em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ==========================================================================
   5. PRICE SECTION
   ========================================================================== */
.ltm-card-price-wrap {
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px dashed #E2E8F0;
}

.ltm-price-group {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px 12px;
}

.ltm-current-price,
.ltm-current-price .woocommerce-Price-amount {
	font-size: 24px;
	font-weight: 800;
	color: var(--ltm-primary);
	letter-spacing: -0.02em;
	line-height: 1;
}

.ltm-regular-price,
.ltm-regular-price .woocommerce-Price-amount {
	font-size: 15px;
	font-weight: 500;
	color: var(--ltm-text-muted);
	text-decoration: line-through;
}

.ltm-save-amount {
	display: inline-flex;
	align-items: center;
	font-size: 11.5px;
	font-weight: 700;
	color: #15803D;
	background: #DCFCE7;
	border: 1px solid #BBF7D0;
	padding: 2px 8px;
	border-radius: 6px;
}

/* ==========================================================================
   6. TESTS / PARAMETERS SECTION
   ========================================================================== */
.ltm-card-tests-section {
	background: #FAFAFA;
	border: 1px solid #EDE0E8;
	border-left: 2px solid var(--ltm-primary);
	border-radius: 0;
	padding: 11px 13px;
	margin-bottom: 14px;
}

.ltm-tests-header {
	margin-bottom: 8px;
}

.ltm-tests-count-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: var(--ltm-teal);
	font-weight: 700;
}

.ltm-tests-count-tag svg {
	stroke: var(--ltm-teal);
	flex-shrink: 0;
}

.ltm-tests-pills-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ltm-test-pill {
	display: inline-block;
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	color: #475569;
	font-size: 11.5px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 14px;
	white-space: nowrap;
	max-width: 170px;
	text-overflow: ellipsis;
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.ltm-test-pill-more {
	background: var(--ltm-bg-cream);
	border: 1px solid var(--ltm-gold-light);
	color: var(--ltm-gold-dark);
	font-size: 11.5px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 14px;
	cursor: pointer;
	outline: none;
	transition: all 0.2s ease;
}

.ltm-test-pill-more:hover {
	background: var(--ltm-gold);
	color: #FFFFFF;
	border-color: var(--ltm-gold);
	transform: scale(1.03);
}

/* ==========================================================================
   7. SPECS & HIGHLIGHTS GRID
   ========================================================================== */
.ltm-card-specs-grid {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}

.ltm-spec-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: #475569;
	line-height: 1.4;
}

.ltm-spec-icon {
	width: 20px;
	height: 20px;
	border-radius: 0;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--ltm-primary);
}

.ltm-spec-text {
	display: flex;
	align-items: baseline;
	gap: 4px;
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ltm-spec-lbl {
	font-weight: 700;
	color: #334155;
	flex-shrink: 0;
}

.ltm-spec-val {
	color: #64748B;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ==========================================================================
   8. HOME COLLECTION BADGE
   ========================================================================== */
.ltm-card-home-collection {
	display: flex;
	align-items: center;
	gap: 7px;
	background: #F0FDF4;
	border: 1px solid #BBF7D0;
	border-left: 2px solid #10B981;
	padding: 7px 10px;
	border-radius: 0;
	font-size: 12px;
	font-weight: 700;
	color: #065F46;
	margin-bottom: 16px;
}

.ltm-card-home-collection svg {
	stroke: #10B981;
	flex-shrink: 0;
}

/* ==========================================================================
   9. CTA BOOK BUTTON
   ========================================================================== */
.ltm-card-action {
	margin-top: auto;
}

.ltm-book-button {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--ltm-primary);
	color: #FFFFFF;
	border: none;
	border-radius: 5px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	text-align: center;
	transition: background 0.18s ease, transform 0.15s ease;
	outline: none;
}

.ltm-book-button .ltm-btn-arrow {
	transition: transform 0.18s ease;
	stroke: #FFFFFF;
}

.ltm-book-button:hover {
	background: var(--ltm-primary-dark);
	transform: translateY(-1px);
}

.ltm-book-button:hover .ltm-btn-arrow {
	transform: translateX(3px);
}

.ltm-book-button:active {
	transform: translateY(0);
}

.ltm-book-button.loading {
	opacity: 0.75;
	pointer-events: none;
	background: #94A3B8;
}

/* ==========================================================================
   10. PARAMETERS LIGHTBOX MODAL
   ========================================================================== */
.ltm-test-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	animation: ltmModalFadeIn 0.2s ease forwards;
}

.ltm-test-modal-box {
	background: #FFFFFF;
	border-radius: 16px;
	max-width: 520px;
	width: 100%;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	animation: ltmModalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ltm-test-modal-hdr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	background: var(--ltm-primary);
	color: #FFFFFF;
}

.ltm-test-modal-hdr-left {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ltm-test-modal-badge {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ltm-gold-light);
}

.ltm-test-modal-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: #FFFFFF;
}

.ltm-test-modal-close {
	background: none;
	border: none;
	color: #FFFFFF;
	font-size: 26px;
	font-weight: 300;
	cursor: pointer;
	line-height: 1;
	padding: 0 4px;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

.ltm-test-modal-close:hover {
	opacity: 1;
}

.ltm-test-modal-body {
	padding: 20px 22px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ltm-modal-param-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: #334155;
}

.ltm-modal-param-item svg {
	flex-shrink: 0;
}

.ltm-test-modal-ftr {
	padding: 14px 22px;
	background: #F8FAFC;
	border-top: 1px solid #E2E8F0;
	text-align: right;
}

.ltm-test-modal-ftr .button {
	background: var(--ltm-primary);
	color: #FFFFFF;
	border: none;
	padding: 8px 18px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.ltm-test-modal-ftr .button:hover {
	background: var(--ltm-primary-dark);
}

@keyframes ltmModalFadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes ltmModalScaleIn {
	from {
		transform: scale(0.94);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

/* ==========================================================================
   11. RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 640px) {
	.ltm-test-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.ltm-test-card {
		padding: 20px;
	}

	.ltm-current-price,
	.ltm-current-price .woocommerce-Price-amount {
		font-size: 21px;
	}

	.ltm-test-title {
		font-size: 17.5px;
	}
}

/* ==========================================================================
   4. SINGLE TEST DETAIL PAGE
   ========================================================================== */

.ltm-single-container {
	background: var(--ltm-bg-cream);
	padding: 36px 20px 48px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--ltm-text-dark);
}

.ltm-single-wrapper {
	max-width: 1140px;
	margin: 0 auto;
}

/* ── LAYOUT GRID ─────────────────────────────────────────── */
.ltm-single-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 40px;
	align-items: start;
}

@media (max-width: 960px) {
	.ltm-single-container {
		padding: 24px 14px 40px !important;
	}
	.ltm-single-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.ltm-single-title {
		font-size: 22px !important;
		margin-bottom: 16px !important;
	}
	.ltm-single-right {
		position: static !important;
	}
}

@media (max-width: 480px) {
	.ltm-single-params-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ══════════════════════════════════════════════════════════
   LEFT – CLEAN EDITORIAL PANEL (no card, no shadow)
   ══════════════════════════════════════════════════════════ */
.ltm-single-left {
	/* purely content flow – no box, no shadow */
}

.ltm-single-hdr-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.ltm-single-cat-badge,
.ltm-single-hc-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 11px;
	border-radius: 20px;
}

.ltm-single-cat-badge {
	background: #fff;
	color: var(--ltm-primary);
	border: 1px solid var(--ltm-gold-light);
}

.ltm-single-hc-badge {
	background: #ECFDF5;
	color: #065F46;
	border: 1px solid #A7F3D0;
}

.ltm-single-title {
	font-size: 26px;
	font-weight: 800;
	color: var(--ltm-primary-dark);
	line-height: 1.3;
	margin: 0 0 22px 0;
	letter-spacing: -0.01em;
}

/* ── HIGHLIGHT STRIP ─────────────────────────────────────── */
.ltm-single-highlights-grid {
	display: flex;
	gap: 0;
	background: #fff;
	border: 1px solid #E8E0EA;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 28px;
}

.ltm-hl-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	flex: 1;
	border-right: 1px solid #F1EBF3;
}

.ltm-hl-item:last-child {
	border-right: none;
}

@media (max-width: 600px) {
	.ltm-single-highlights-grid {
		flex-direction: column;
		border-radius: 8px;
	}
	.ltm-hl-item {
		border-right: none;
		border-bottom: 1px solid #F1EBF3;
	}
	.ltm-hl-item:last-child { border-bottom: none; }
}

.ltm-hl-icon {
	width: 32px;
	height: 32px;
	border-radius: 7px;
	background: var(--ltm-bg-cream);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ltm-primary);
	flex-shrink: 0;
}

.ltm-hl-content {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.ltm-hl-lbl {
	font-size: 10.5px;
	color: var(--ltm-text-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ltm-hl-val {
	font-size: 13px;
	font-weight: 700;
	color: var(--ltm-primary-dark);
}

/* ── DIET CARD ───────────────────────────────────────────── */
.ltm-single-diet-card {
	background: #FFFBEB;
	border-left: 4px solid #F59E0B;
	border-radius: 0 8px 8px 0;
	padding: 14px 18px;
	margin-bottom: 28px;
}

.ltm-diet-hdr {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #B45309;
	margin-bottom: 5px;
}

.ltm-diet-hdr h4 {
	margin: 0;
	font-size: 13.5px;
	font-weight: 700;
}

.ltm-diet-body p {
	margin: 0;
	font-size: 13px;
	color: #78350F;
	line-height: 1.55;
}

/* ── SECTION HEADINGS ────────────────────────────────────── */
.ltm-section-title {
	font-size: 16px;
	font-weight: 750;
	color: var(--ltm-primary-dark);
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ltm-bg-cream);
}

.ltm-single-params-section,
.ltm-single-description-section {
	margin-top: 30px;
}

/* ── PARAMETERS GRID ─────────────────────────────────────── */
.ltm-single-params-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 8px;
}

.ltm-param-item-card {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #EDE5EF;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #2D1B2E;
	transition: border-color 0.15s;
}

.ltm-param-item-card:hover {
	border-color: var(--ltm-gold-light);
}

.ltm-param-bullet {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #DCFCE7;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #16A34A;
	flex-shrink: 0;
}

/* ── RICH DESCRIPTION ────────────────────────────────────── */
.ltm-single-content-rich {
	font-size: 14px;
	line-height: 1.75;
	color: #3A2540;
}

.ltm-single-content-rich p { margin: 0 0 12px; }
.ltm-single-content-rich p:last-child { margin-bottom: 0; }
.ltm-single-content-rich img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 12px 0;
}

/* ══════════════════════════════════════════════════════════
   RIGHT – ZIGZAG RECEIPT CARD  (mirrors checkout receipt)
   ══════════════════════════════════════════════════════════ */
.ltm-single-right {
	position: sticky;
	top: 90px;
}

/* Top zig-zag */
.ltm-szz-top {
	height: 13px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 13' width='20' height='13'%3E%3Cpolygon points='0,13 10,0 20,13' fill='%23ffffff'/%3E%3C/svg%3E") repeat-x left top;
	border-left: 1px solid #E8E0EA;
	border-right: 1px solid #E8E0EA;
}

/* Receipt body */
.ltm-single-receipt-body {
	background: #fff;
	border-left: 1px solid #E8E0EA;
	border-right: 1px solid #E8E0EA;
	padding: 24px 22px;
}

/* Bottom zig-zag */
.ltm-szz-bottom {
	height: 13px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 13' width='20' height='13'%3E%3Cpolygon points='0,0 10,13 20,0' fill='%23ffffff'/%3E%3C/svg%3E") repeat-x left bottom;
	border-left: 1px solid #E8E0EA;
	border-right: 1px solid #E8E0EA;
}

/* ── PRICE ───────────────────────────────────────────────── */
.ltm-right-price-box {
	margin-bottom: 18px;
}

.ltm-price-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 8px;
}

.ltm-sprice {
	font-size: 28px;
	font-weight: 800;
	color: var(--ltm-primary);
}

.ltm-rprice {
	font-size: 16px;
	text-decoration: line-through;
	color: var(--ltm-text-muted);
}

.ltm-discount-banner {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #FCF7F4;
	border: 1px solid var(--ltm-gold-light);
	color: #966624;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 5px;
	width: fit-content;
}

/* ── CTA BUTTON ──────────────────────────────────────────── */
.ltm-right-action-box {
	margin-bottom: 20px;
}

.ltm-single-cta-btn {
	width: 100%;
	height: 48px;
	background: var(--ltm-primary);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 14.5px;
	font-weight: 750;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.ltm-single-cta-btn:hover {
	background: var(--ltm-primary-dark);
	transform: translateY(-1px);
}

.ltm-single-cta-btn:active {
	transform: none;
}

/* ── TRUST LIST ──────────────────────────────────────────── */
.ltm-trust-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-top: 1px solid #F1EBF3;
	padding-top: 16px;
}

.ltm-trust-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: #4B3650;
	line-height: 1.4;
}

.ltm-trust-list li svg {
	flex-shrink: 0;
	margin-top: 2px;
}



.ltm-single-wrapper {
	max-width: 1200px;
	margin: 0 auto;
}

.ltm-single-breadcrumbs {
	font-size: 13px;
	color: var(--ltm-text-muted);
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.ltm-single-breadcrumbs a {
	color: var(--ltm-primary);
	text-decoration: none;
	font-weight: 600;
}

.ltm-single-breadcrumbs a:hover {
	text-decoration: underline;
}

.ltm-single-breadcrumbs .ltm-sep {
	color: #CBD5E1;
}

.ltm-single-breadcrumbs .ltm-current {
	color: var(--ltm-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 300px;
}

.ltm-single-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 32px;
	align-items: start;
}

@media (max-width: 991px) {
	.ltm-single-grid {
		grid-template-columns: 1fr;
	}
}

/* LEFT CONTENT PANEL */
.ltm-single-left {
	background: #FFFFFF;
	border: 1.5px solid #F0DFCC;
	border-radius: var(--ltm-radius-card);
	padding: 36px;
	box-shadow: 0 4px 25px rgba(82, 21, 66, 0.03);
}

.ltm-single-hdr-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.ltm-single-cat-badge, .ltm-single-hc-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 5px 12px;
	border-radius: var(--ltm-radius-pill);
}

.ltm-single-cat-badge {
	background: var(--ltm-bg-cream);
	color: var(--ltm-primary);
	border: 1px solid var(--ltm-gold-light);
}

.ltm-single-cat-badge svg {
	stroke: var(--ltm-gold);
}

.ltm-single-hc-badge {
	background: #ECFDF5;
	color: #065F46;
	border: 1px solid #A7F3D0;
}

.ltm-single-hc-badge svg {
	stroke: #059669;
}

.ltm-single-title {
	font-size: 30px;
	font-weight: 800;
	color: var(--ltm-primary-dark);
	line-height: 1.25;
	margin: 0 0 24px 0;
	letter-spacing: -0.02em;
}

.ltm-single-highlights-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	background: var(--ltm-bg-cream);
	border: 1px solid var(--ltm-border-subtle);
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 30px;
}

@media (max-width: 600px) {
	.ltm-single-highlights-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

.ltm-hl-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ltm-hl-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #FFFFFF;
	border: 1.5px solid var(--ltm-border-subtle);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ltm-primary);
	flex-shrink: 0;
}

.ltm-hl-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ltm-hl-lbl {
	font-size: 11px;
	color: var(--ltm-text-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.ltm-hl-val {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ltm-primary-dark);
}

/* DIET CARD */
.ltm-single-diet-card {
	background: #FFFBEB;
	border: 1.5px solid #FDE68A;
	border-radius: 14px;
	padding: 20px;
	margin-bottom: 30px;
	box-shadow: 0 4px 12px rgba(217, 119, 6, 0.02);
}

.ltm-diet-hdr {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #D97706;
	margin-bottom: 8px;
}

.ltm-diet-hdr h4 {
	margin: 0;
	font-size: 15px;
	font-weight: 750;
}

.ltm-diet-body p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: #92400E;
	font-weight: 600;
}

/* SECTIONS */
.ltm-section-title {
	font-size: 18px;
	font-weight: 750;
	color: var(--ltm-primary-dark);
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px 0;
	padding-bottom: 12px;
	border-bottom: 1.5px solid #F1F5F9;
}

.ltm-section-title svg {
	color: var(--ltm-gold);
}

.ltm-single-params-section, .ltm-single-description-section {
	margin-top: 36px;
}

.ltm-single-params-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
}

.ltm-param-item-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 650;
	color: var(--ltm-text-dark);
	transition: all 0.2s ease;
}

.ltm-param-item-card:hover {
	border-color: var(--ltm-gold-light);
	background: var(--ltm-bg-cream);
	transform: translateY(-1px);
}

.ltm-param-bullet {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #DCFCE7;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #16A34A;
	flex-shrink: 0;
}

/* RICH DESCRIPTION */
.ltm-single-content-rich {
	font-size: 14.5px;
	line-height: 1.7;
	color: #334155;
}

.ltm-single-content-rich p {
	margin: 0 0 14px 0;
}

.ltm-single-content-rich img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 16px 0;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* RIGHT COLUMN STICKY WIDGET */
.ltm-single-sticky-card {
	position: sticky;
	top: 100px;
	background: #FFFFFF;
	border: 1.5px solid #F0DFCC;
	border-radius: var(--ltm-radius-card);
	padding: 28px;
	box-shadow: 0 10px 30px rgba(82, 21, 66, 0.06);
}

.ltm-right-price-box {
	margin-bottom: 24px;
}

.ltm-price-row {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 8px;
}

.ltm-sprice {
	font-size: 32px;
	font-weight: 800;
	color: var(--ltm-primary);
}

.ltm-sprice .woocommerce-Price-amount {
	color: var(--ltm-primary);
}

.ltm-rprice {
	font-size: 18px;
	text-decoration: line-through;
	color: var(--ltm-text-muted);
}

.ltm-discount-banner {
	background: var(--ltm-bg-cream);
	border: 1px solid var(--ltm-gold-light);
	color: var(--ltm-gold-dark);
	font-size: 11px;
	font-weight: 750;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.ltm-discount-banner svg {
	color: var(--ltm-gold);
}

.ltm-right-action-box {
	margin-bottom: 24px;
}

.ltm-single-cta-btn {
	width: 100% !important;
	height: 52px !important;
	background: linear-gradient(135deg, var(--ltm-primary) 0%, var(--ltm-primary-dark) 100%) !important;
	color: #FFFFFF !important;
	border: none !important;
	border-radius: var(--ltm-radius-btn) !important;
	font-size: 15px !important;
	font-weight: 750 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	cursor: pointer !important;
	box-shadow: 0 4px 14px rgba(82, 21, 66, 0.25) !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ltm-single-cta-btn:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 24px rgba(82, 21, 66, 0.35) !important;
	background: linear-gradient(135deg, var(--ltm-primary-light) 0%, var(--ltm-primary) 100%) !important;
}

.ltm-single-cta-btn:active {
	transform: translateY(0) !important;
}

.ltm-trust-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-top: 1.5px solid #F1F5F9;
	padding-top: 20px !important;
}

.ltm-trust-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ltm-text-muted);
	line-height: 1.4;
}

.ltm-trust-list li svg {
	flex-shrink: 0;
	margin-top: 2px;
}

/* ==========================================================================
   6. WOOCOMMERCE CUSTOMER PATIENT PORTAL & LAB REPORTS
   ========================================================================== */
.ltm-cust-portal, .ltm-reports-portal-wrap {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1E293B;
}

/* Welcome Banner */
.ltm-cust-welcome-banner {
	background: #FCF7F4;
	border: 1.5px solid #F0DFCC;
	border-left: 4px solid #521542;
	border-radius: 8px;
	padding: 22px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
}

@media (max-width: 768px) {
	.ltm-cust-welcome-banner {
		flex-direction: column;
		align-items: flex-start;
	}
}

.ltm-cust-welcome-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ltm-cust-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #521542;
	color: #FFFFFF;
	font-size: 20px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ltm-cust-welcome-text h2 {
	margin: 0 0 4px 0;
	font-size: 20px;
	font-weight: 800;
	color: #521542;
}

.ltm-cust-welcome-text p {
	margin: 0;
	font-size: 13px;
	color: #64748B;
	line-height: 1.4;
}

/* Quick KPI Grid */
.ltm-cust-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 28px;
}

.ltm-cust-stat-card {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.ltm-cust-stat-icon {
	width: 42px;
	height: 42px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ltm-cust-stat-info {
	display: flex;
	flex-direction: column;
}

.ltm-cust-stat-val {
	font-size: 20px;
	font-weight: 800;
	color: #1E293B;
	line-height: 1.2;
}

.ltm-cust-stat-lbl {
	font-size: 12px;
	font-weight: 600;
	color: #64748B;
}

/* Recent Bookings Section */
.ltm-cust-section {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	padding: 20px 22px;
	margin-bottom: 26px;
}

.ltm-cust-sec-hdr, .ltm-portal-page-hdr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #F1F5F9;
}

.ltm-cust-sec-hdr h3, .ltm-portal-page-hdr h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 750;
	color: #521542;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ltm-portal-page-hdr h2 {
	font-size: 20px;
}

.ltm-portal-page-hdr p {
	margin: 4px 0 0 0;
	font-size: 13px;
	color: #64748B;
}

.ltm-cust-view-all {
	font-size: 13px;
	font-weight: 700;
	color: #BC8836;
	text-decoration: none;
}

.ltm-cust-view-all:hover {
	text-decoration: underline;
}

/* Tables */
.ltm-cust-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.ltm-cust-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
	text-align: left;
}

.ltm-cust-table th {
	padding: 10px 14px;
	background: #F8FAFC;
	color: #475569;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border-bottom: 1px solid #E2E8F0;
}

.ltm-cust-table td {
	padding: 14px 14px;
	border-bottom: 1px solid #F1F5F9;
	vertical-align: middle;
}

.ltm-order-link {
	color: #521542;
	font-weight: 750;
}

.ltm-sub-date {
	font-size: 11.5px;
	color: #94A3B8;
	margin-top: 2px;
}

.ltm-test-name-cell {
	font-weight: 650;
	color: #1E293B;
}

.ltm-schedule-date {
	font-weight: 700;
	color: #521542;
}

.ltm-schedule-slot {
	font-size: 12px;
	color: #054A4C;
	font-weight: 600;
}

/* Status Badges */
.ltm-status-pill {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.ltm-status-processing, .ltm-status-pending, .ltm-status-on-hold {
	background: #FEF3C7;
	color: #B45309;
	border: 1px solid #FDE68A;
}

.ltm-status-completed {
	background: #DCFCE7;
	color: #15803D;
	border: 1px solid #BBF7D0;
}

.ltm-status-cancelled, .ltm-status-failed {
	background: #FEE2E2;
	color: #991B1B;
	border: 1px solid #FCA5A5;
}

.ltm-badge-report-ready {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #DCFCE7;
	color: #15803D;
	border: 1px solid #BBF7D0;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
}

.ltm-badge-report-pending {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #FEF3C7;
	color: #B45309;
	border: 1px solid #FDE68A;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
}

/* Portal Buttons */
.ltm-portal-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.15s ease;
}

.ltm-portal-btn-primary {
	background: #521542;
	color: #FFFFFF !important;
	border: none;
}

.ltm-portal-btn-primary:hover {
	background: #3D0D32;
}

.ltm-portal-btn-download {
	background: #16A34A;
	color: #FFFFFF !important;
	border: none;
}

.ltm-portal-btn-download:hover {
	background: #15803D;
}

.ltm-portal-btn-sm {
	background: #F1F5F9;
	color: #334155 !important;
	border: 1px solid #CBD5E1;
}

.ltm-portal-btn-sm:hover {
	background: #E2E8F0;
}

/* Quick Nav Cards */
.ltm-cust-links-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.ltm-cust-nav-card {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	padding: 18px 20px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	text-decoration: none !important;
	color: inherit;
	transition: border-color 0.15s ease;
}

.ltm-cust-nav-card:hover {
	border-color: #521542;
}

.ltm-cust-nc-icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #FCF7F4;
	color: #521542;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ltm-cust-nc-text h4 {
	margin: 0 0 4px 0;
	font-size: 14px;
	font-weight: 750;
	color: #521542;
}

.ltm-cust-nc-text p {
	margin: 0;
	font-size: 12px;
	color: #64748B;
	line-height: 1.4;
}

.ltm-cust-empty-box {
	text-align: center;
	padding: 36px 20px;
	color: #64748B;
}

.ltm-cust-empty-box p {
	margin: 0 0 16px 0;
	font-size: 14px;
}