/* =====================================================
   farmshare-tiers.css
   Layout + styling for [tnt_farmshare_tiers] shortcode.
   Brand palette: cream backgrounds, deep green accents,
   orange CTAs, with a "best value" green-outline highlight.
   Visual matches the existing /farm-share/ tier reference
   in Aramide's Website pages.docx "Share Tier Cards".
   ===================================================== */

.tnt-tiers {
	max-width: 1280px;
	margin: 48px auto;
	padding: 48px 24px;
	background: #EDF3E8;
	border-radius: 16px;
	font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #2a3826;
	scroll-margin-top: 100px;
}

@media (max-width: 600px) {
	.tnt-tiers {
		padding: 32px 16px;
		margin: 24px 0;
		border-radius: 12px;
	}
}

.tnt-tiers__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	align-items: stretch;
}

/* Tablet: 2x2 */
@media (max-width: 1024px) {
	.tnt-tiers__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Phone: stack */
@media (max-width: 600px) {
	.tnt-tiers__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* ----- Card ----- */
.tnt-tier {
	position: relative;
	background: #FAF7F0;
	border: 1px solid #E5DDC8;
	border-radius: 14px;
	padding: 28px 22px 24px;
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Thin top accent stripe , only differentiator per tier. Kept subtle.
   Border-radius matches the card's top corners so the stripe stays
   tucked inside the card outline without clipping the badge above. */
.tnt-tier::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: #C9C0A4;
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
}

.tnt-tier[data-tier="sampler"]::before   { background: #E8A87C; }   /* soft peach */
.tnt-tier[data-tier="essential"]::before { background: #E87D2F; }   /* brand orange */
.tnt-tier[data-tier="sustainer"]::before { background: #6FA875; }   /* mid green */
.tnt-tier[data-tier="bounty"]::before    { background: #3F6F46; }   /* deep green */

/* Tier name picks up the same accent so the card feels coherent without
   adding visual noise. */
.tnt-tier[data-tier="sampler"] .tnt-tier__name   { color: #B05F1F; }
.tnt-tier[data-tier="essential"] .tnt-tier__name { color: #C2521A; }
.tnt-tier[data-tier="sustainer"] .tnt-tier__name { color: #5A8E60; }
.tnt-tier[data-tier="bounty"] .tnt-tier__name    { color: #3F6F46; }

.tnt-tier:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(58, 71, 47, 0.08);
}

.tnt-tier--recommended {
	background: #FFF;
	border: 2px solid #3F6F46;
	box-shadow: 0 8px 24px rgba(63, 111, 70, 0.12);
}

.tnt-tier__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: #3F6F46;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
	white-space: nowrap;
}

/* ----- Card head ----- */
.tnt-tier__head {
	margin-bottom: 18px;
}

.tnt-tier__name {
	font-family: "Syne", "Outfit", sans-serif;
	font-size: 22px;
	font-weight: 600;
	color: #2C4A2E;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
}

.tnt-tier__price {
	font-family: "Syne", "Outfit", sans-serif;
	font-size: 44px;
	font-weight: 700;
	color: #2C4A2E;
	line-height: 1;
	letter-spacing: -0.02em;
}

.tnt-tier__currency {
	font-size: 26px;
	font-weight: 600;
	vertical-align: top;
	margin-right: 1px;
	opacity: 0.85;
}

.tnt-tier__wallet {
	margin-top: 8px;
	font-size: 13px;
	color: #6F7E63;
	line-height: 1.3;
}

.tnt-tier__wallet strong {
	color: #2C4A2E;
	font-weight: 600;
}

.tnt-tier__bonus {
	display: inline-block;
	margin-left: 6px;
	background: #FFE4D6;
	color: #C2521A;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 999px;
}

/* ----- Perks list ----- */
.tnt-tier__perks {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
	flex: 1;
}

.tnt-tier__perks li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: #4a5240;
}

.tnt-tier__perks li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: #3F6F46;
	font-weight: 700;
}

.tnt-tier__eb {
	background: #FFF1E7;
	border: 1px solid #F2C8A6;
	color: #C2521A;
	font-size: 12px;
	font-weight: 500;
	padding: 8px 12px;
	border-radius: 8px;
	margin-bottom: 16px;
	line-height: 1.35;
	text-align: center;
}

/* ----- CTA ----- */
.tnt-tier__cta {
	display: block;
	background: #E87D2F;
	color: #fff;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	padding: 13px 20px;
	border-radius: 10px;
	transition: background-color 0.15s ease, transform 0.1s ease;
	letter-spacing: 0.01em;
}

.tnt-tier__cta:hover,
.tnt-tier__cta:focus {
	background: #D46D27;
	color: #fff;
	transform: translateY(-1px);
}

.tnt-tier--recommended .tnt-tier__cta {
	background: #3F6F46;
}

.tnt-tier--recommended .tnt-tier__cta:hover,
.tnt-tier--recommended .tnt-tier__cta:focus {
	background: #2C4A2E;
}

/* ----- A La Carte footer line ----- */
.tnt-tiers__alacarte {
	margin-top: 28px;
	padding: 16px 20px;
	background: #FAF7F0;
	border: 1px dashed #C9C0A4;
	border-radius: 12px;
	text-align: center;
	font-size: 14px;
	color: #4a5240;
	line-height: 1.5;
}

.tnt-tiers__alacarte strong {
	color: #2C4A2E;
	margin-right: 4px;
}

.tnt-tiers__alacarte a {
	color: #C2521A;
	text-decoration: none;
	font-weight: 600;
	margin-left: 6px;
	border-bottom: 1px solid transparent;
}

.tnt-tiers__alacarte a:hover,
.tnt-tiers__alacarte a:focus {
	border-bottom-color: #C2521A;
}
