/* ================================================================
   Hello Explorer – Pricing Table  |  Frontend Styles v3
   ================================================================ */

/* ── Wrapper ── */
.he-pricing-wrap {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	padding: 40px 20px;
	box-sizing: border-box;
}

/* ── Toggle ── */
.he-toggle {
	display: flex;
	justify-content: center;
	background: #f0f0f0;
	border-radius: 8px;
	padding: 4px;
	width: -webkit-fit-content;
	width: fit-content;
	margin: 0 auto 48px;
}

/* Reset all button/theme styles that leak in */
.he-pricing-wrap .he-tog-btn,
.he-pricing-wrap .he-tog-btn:focus,
.he-pricing-wrap .he-tog-btn:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 28px;
	border: none;
	outline: none;
	box-shadow: none;
	background: transparent;
	border-radius: 6px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 500;
	color: #555555;
	transition: background 0.2s, color 0.2s;
	font-family: inherit;
	line-height: 1.4;
	text-decoration: none;
	-webkit-appearance: none;
	appearance: none;
}

.he-pricing-wrap .he-tog-btn:not(.active):hover {
	background: #e2e2e2;
	color: #111111;
}

.he-pricing-wrap .he-tog-btn.active,
.he-pricing-wrap .he-tog-btn.active:focus,
.he-pricing-wrap .he-tog-btn.active:hover {
	background: #1a3a2a;
	color: #ffffff;
}

.he-save-tag {
	display: inline-block;
	background: #d4edda;
	color: #1a3a2a;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 100px;
	font-weight: 700;
	line-height: 1.5;
	transition: background 0.2s, color 0.2s;
}

/* ── Grid ── */
.he-pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: start;
}
@media (max-width: 900px) {
	.he-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.he-pricing-grid { grid-template-columns: 1fr; }
	.he-toggle { width: 100%; }
	.he-pricing-wrap .he-tog-btn { flex: 1; justify-content: center; }
}

/* ── Card ── */
.he-p-card {
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 28px;
	background: #ffffff;
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}
.he-p-card.he-popular {
	border-color: #cccccc;
	box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

/* ── Popular Label ── */
.he-popular-label {
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	color: #555555;
	background: #f5f5f5;
	margin: -28px -28px 20px -28px;
	padding: 10px;
	border-radius: 12px 12px 0 0;
	letter-spacing: 0.02em;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-sizing: border-box;
}
.he-popular-label i,
.he-popular-label svg {
	font-size: 0.85em;
	width: 14px;
	height: 14px;
}

/* ── Card Header ── */
.he-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
.he-pkg-name {
	font-size: 1.3rem;
	font-weight: 700;
	color: #111111;
	line-height: 1.2;
}
.he-pkg-badge {
	display: inline-block;
	background: #1a3a2a;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 100px;
	white-space: nowrap;
}

/* ── Description ── */
.he-pkg-desc {
	color: #666666;
	font-size: 14px;
	margin: 0 0 14px;
	line-height: 1.5;
}

/* ── Best For ── */
.he-best-for {
	display: inline-block;
	background: #e8f5ed;
	color: #1a3a2a;
	border: 1px solid #b5d9c3;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 6px;
	margin-bottom: 20px;
	line-height: 1.4;
}

/* ── Price Block ── */
.he-price-block {
	border-bottom: 1px solid #eeeeee;
	margin-bottom: 20px;
	padding-bottom: 16px;
}
.he-price-row { display: block; }
.he-price-nums {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}
.he-price-old {
	font-size: 1.3rem;
	color: #999999;
	text-decoration: line-through;
	line-height: 1;
}
.he-price-main {
	font-size: 2.4rem;
	font-weight: 800;
	color: #111111;
	line-height: 1;
}
.he-price-period {
	font-size: 1rem;
	font-weight: 400;
	color: #555555;
}
.he-bill-note {
	font-size: 12px;
	font-weight: 700;
	color: #333333;
	margin: 4px 0 0;
}

/* ── Button — fully reset then re-style to kill theme bleed ── */
.he-pricing-wrap .he-p-btn,
.he-pricing-wrap .he-p-btn:visited {
	display: block;
	width: 100%;
	text-align: center;
	background: #1a3a2a;
	color: #ffffff;
	padding: 14px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 24px;
	box-sizing: border-box;
	line-height: 1.4;
	font-family: inherit;
	cursor: pointer;
	border: none;
	outline: none;
	/* Kill any theme box-shadow or background-image */
	box-shadow: none;
	background-image: none;
	-webkit-appearance: none;
	appearance: none;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.he-pricing-wrap .he-p-btn:hover,
.he-pricing-wrap .he-p-btn:focus {
	background: #2a5a40;
	color: #ffffff;
	text-decoration: none;
	box-shadow: none;
}

/* ── Features List ── */
.he-features-list {
	list-style: none;
	padding: 0;
	margin: 0;
	flex: 1;
}
.he-feat-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
}
.he-feat-item:last-child { border-bottom: none; }
.he-feat-icon {
	flex-shrink: 0;
	font-size: 14px;
	color: #1a3a2a;
	margin-top: 2px;
	display: flex;
	align-items: center;
}
.he-feat-icon svg { width: 14px; height: 14px; display: block; }
.he-feat-body { display: flex; flex-direction: column; gap: 2px; }
.he-feat-text { font-size: 14px; color: #333333; line-height: 1.4; }
.he-feat-sub  { font-size: 11px; color: #888888; line-height: 1.3; }

/* ── Disclaimer ── */
.he-disclaimer {
	font-size: 11px;
	color: #999999;
	line-height: 1.5;
	margin: 16px 0 0;
}
.he-disclaimer a { color: inherit; text-decoration: underline; }

/* ── Utility ── */
.he-hidden { display: none !important; }
