:root {
	--thkm-green: #005b39;
	--thkm-green-dark: #003e29;
	--thkm-gold: #f0b400;
	--thkm-cream: #f7f3e8;
	--thkm-ink: #232822;
	--thkm-muted: #657067;
	--thkm-line: #dfe5df;
}

body.term-family-bundle-meals #tm-main > div:not(#products):not(.thkm-family-hero),
body.term-family-meal-prep #tm-main > div:not(#products):not(.thkm-family-hero) {
	display: none !important;
}

.thkm-family-hero {
	display: block !important;
	background: var(--thkm-cream);
	color: var(--thkm-ink);
}

.thkm-family-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	max-width: 1440px;
	margin: 0 auto;
}

.thkm-family-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(52px, 7vw, 104px) clamp(28px, 6vw, 90px);
}

.thkm-family-eyebrow {
	margin: 0 0 14px;
	color: var(--thkm-green);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .11em;
	line-height: 1.3;
	text-transform: uppercase;
}

.thkm-family-hero h1 {
	max-width: 720px;
	margin: 0;
	color: var(--thkm-ink);
	font-size: clamp(42px, 5vw, 70px);
	font-weight: 650;
	letter-spacing: -.035em;
	line-height: 1.02;
}

.thkm-family-lede {
	max-width: 650px;
	margin: 24px 0 0;
	color: #3b443d;
	font-size: clamp(17px, 1.4vw, 20px);
	line-height: 1.62;
}

.thkm-family-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.thkm-family-facts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--thkm-green-dark);
	font-size: 14px;
	font-weight: 700;
}

.thkm-family-facts li span {
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 50%;
	background: #dceadc;
	font-size: 12px;
}

.thkm-family-primary {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 32px;
	padding: 15px 22px;
	border-radius: 4px;
	background: var(--thkm-gold);
	color: #18251c !important;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none !important;
	transition: transform .18s ease, box-shadow .18s ease;
}

.thkm-family-primary:hover,
.thkm-family-primary:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(58, 49, 12, .16);
}

.thkm-family-note {
	margin: 16px 0 0;
	color: var(--thkm-muted);
	font-size: 13px;
	line-height: 1.5;
}

.thkm-family-note a {
	color: var(--thkm-green);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.thkm-family-hero__media {
	position: relative;
	min-height: 600px;
	overflow: hidden;
}

.thkm-family-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.thkm-family-photo-badge {
	position: absolute;
	right: 24px;
	bottom: 24px;
	display: flex;
	flex-direction: column;
	padding: 13px 17px;
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 10px;
	background: rgba(255, 255, 255, .91);
	box-shadow: 0 10px 30px rgba(25, 35, 29, .15);
	backdrop-filter: blur(8px);
}

.thkm-family-photo-badge strong {
	color: var(--thkm-green-dark);
	font-size: 15px;
}

.thkm-family-photo-badge span {
	color: var(--thkm-muted);
	font-size: 12px;
}

.thkm-family-proof {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 1260px;
	margin: 0 auto;
	padding: 22px 28px;
	border-top: 1px solid rgba(0, 91, 57, .12);
}

.thkm-family-proof > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 4px 28px;
	border-right: 1px solid rgba(0, 91, 57, .12);
}

.thkm-family-proof > div:last-child {
	border-right: 0;
}

.thkm-family-proof strong {
	color: var(--thkm-green-dark);
	font-size: 15px;
}

.thkm-family-proof span {
	color: var(--thkm-muted);
	font-size: 12px;
}

.thkm-family-products {
	display: block !important;
	padding: clamp(58px, 7vw, 96px) 0 86px !important;
	background: #fff;
}

.thkm-family-products > .uk-container {
	max-width: 1280px;
}

.thkm-product-intro {
	max-width: 760px;
	margin: 0 auto 38px;
	padding: 0 20px;
	text-align: center;
}

.thkm-product-intro h2,
.thkm-family-cross-sell h2 {
	margin: 0;
	color: var(--thkm-ink);
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 650;
	letter-spacing: -.025em;
	line-height: 1.1;
}

.thkm-product-intro > p:last-child,
.thkm-family-cross-sell p:last-child {
	margin: 14px 0 0;
	color: var(--thkm-muted);
	font-size: 17px;
	line-height: 1.6;
}

.thkm-family-products .wc-restaurant-navigation {
	position: sticky;
	top: 78px;
	z-index: 12;
	margin: 0 0 34px !important;
	padding: 12px;
	border: 1px solid var(--thkm-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 8px 24px rgba(21, 49, 35, .08);
	backdrop-filter: blur(10px);
}

.thkm-family-products .wc-restaurant-navigation-items {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0;
}

.thkm-family-products .wc-restaurant-navigation-items a {
	display: inline-flex;
	padding: 9px 14px;
	border-radius: 999px;
	color: var(--thkm-green-dark);
	font-size: 14px;
	font-weight: 750;
	text-decoration: none;
}

.thkm-family-products .wc-restaurant-navigation-items a:hover,
.thkm-family-products .wc-restaurant-navigation-items a:focus-visible {
	background: #e7f0e9;
}

.thkm-family-products .wc-restaurant-menu-section {
	margin-top: 58px;
}

.thkm-family-products .wc-restaurant-menu-section:first-of-type {
	margin-top: 0;
}

.thkm-family-products .wc-restaurant-menu-section-title {
	margin: 0 0 24px;
	color: var(--thkm-green-dark);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.02em;
}

.thkm-bundle-menu .wc-restaurant-menu-section-title {
	display: none;
}

.thkm-family-products .wc-restaurant-menu-products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px !important;
}

.thkm-family-products .wc-restaurant-menu-product {
	min-width: 0;
	margin: 0 !important;
	border: 1px solid var(--thkm-line);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 7px 24px rgba(18, 49, 33, .07);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.thkm-family-products .wc-restaurant-menu-product:hover,
.thkm-family-products .wc-restaurant-menu-product:focus-visible {
	transform: translateY(-4px);
	border-color: rgba(0, 91, 57, .34);
	box-shadow: 0 15px 34px rgba(18, 49, 33, .13);
	outline: none;
}

.thkm-family-products .wc-restaurant-menu-product-inner {
	display: flex !important;
	height: 100%;
	flex-direction: column !important;
}

.thkm-family-products .wc-restaurant-menu-product .image {
	width: 100% !important;
	height: auto !important;
	min-height: 220px;
	aspect-ratio: 4 / 3;
	background-color: #edf0eb;
	background-position: center;
	background-size: cover !important;
}

.thkm-family-products .wc-restaurant-menu-product .details {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	padding: 20px !important;
}

.thkm-family-products .wc-restaurant-menu-product .header {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: start;
}

.thkm-family-products .wc-restaurant-menu-product .name {
	color: var(--thkm-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.thkm-family-products .wc-restaurant-menu-product .price {
	color: var(--thkm-green-dark);
	font-size: 17px;
	font-weight: 800;
	white-space: nowrap;
}

.thkm-family-products .wc-restaurant-menu-product .price del {
	display: block;
	opacity: .46;
	font-size: 12px;
	font-weight: 500;
}

.thkm-family-products .wc-restaurant-menu-product .price ins {
	text-decoration: none;
}

.thkm-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 14px 0 12px;
}

.thkm-size-badge,
.thkm-per-person {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 750;
	line-height: 1.2;
}

.thkm-size-badge {
	background: #e2efe5;
	color: var(--thkm-green-dark);
}

.thkm-per-person {
	background: #fff4ce;
	color: #68520a;
}

.thkm-family-products .wc-restaurant-menu-product .description {
	display: -webkit-box;
	margin: 0 !important;
	overflow: hidden;
	color: var(--thkm-muted);
	font-size: 14px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.thkm-card-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 18px;
	color: var(--thkm-green);
	font-size: 14px;
	font-weight: 800;
}

.thkm-family-cross-sell {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 38px;
	max-width: 1180px;
	margin: 0 auto 90px;
	padding: clamp(34px, 5vw, 60px);
	border-radius: 18px;
	background: var(--thkm-green-dark);
	color: #fff;
}

.thkm-family-cross-sell .thkm-family-eyebrow {
	color: #a9d6ba;
}

.thkm-family-cross-sell h2 {
	color: #fff;
}

.thkm-family-cross-sell p:last-child {
	max-width: 710px;
	color: rgba(255, 255, 255, .76);
}

.thkm-family-cross-sell > a {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 4px;
	background: var(--thkm-gold);
	color: #18251c !important;
	font-weight: 800;
	text-decoration: none !important;
}

@media (max-width: 1024px) {
	.thkm-family-hero__inner {
		grid-template-columns: 1fr;
	}

	.thkm-family-hero__media {
		min-height: 460px;
		order: -1;
	}

	.thkm-family-hero__copy {
		padding: 54px 32px 62px;
	}

	.thkm-family-products .wc-restaurant-menu-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.thkm-family-cross-sell {
		margin-right: 24px;
		margin-left: 24px;
	}
}

@media (max-width: 700px) {
	.thkm-family-hero__media {
		min-height: 330px;
	}

	.thkm-family-hero__copy {
		padding: 42px 22px 48px;
	}

	.thkm-family-hero h1 {
		font-size: clamp(39px, 12vw, 54px);
	}

	.thkm-family-facts {
		flex-direction: column;
	}

	.thkm-family-proof {
		grid-template-columns: 1fr;
		padding: 16px 22px 22px;
	}

	.thkm-family-proof > div {
		padding: 12px 0;
		border-right: 0;
		border-bottom: 1px solid rgba(0, 91, 57, .12);
	}

	.thkm-family-proof > div:last-child {
		border-bottom: 0;
	}

	.thkm-family-photo-badge {
		right: 14px;
		bottom: 14px;
	}

	.thkm-family-products {
		padding: 52px 0 64px !important;
	}

	.thkm-family-products .wc-restaurant-navigation {
		top: 68px;
		overflow-x: auto;
		border-radius: 0;
	}

	.thkm-family-products .wc-restaurant-navigation-items {
		width: max-content;
		justify-content: flex-start;
	}

	.thkm-family-products .wc-restaurant-menu-products {
		grid-template-columns: 1fr;
		gap: 16px !important;
	}

	.thkm-family-products .wc-restaurant-menu-product .image {
		min-height: 230px;
	}

	.thkm-family-cross-sell {
		align-items: flex-start;
		flex-direction: column;
		margin: 0 16px 64px;
		padding: 34px 26px;
	}
}
