/* ----------------------------------------------------------------
	Honeylover — components added on top of honey-subscription.css
	Inner-page heroes, blog, forms, tables, landing page.
-----------------------------------------------------------------*/

/* ---- LOGO (text + SVG hexagon, follows header state) ---- */
.ch-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--cnvs-primary-font);
	font-weight: 600;
	font-size: 1.7rem;
	letter-spacing: -0.02em;
	line-height: 1;
	color: #FEFBF5;
	text-decoration: none;
	height: 100%;
}
.ch-logo svg { width: 32px; height: 32px; flex: none; }
.ch-logo:hover { color: #FEFBF5; }
#header #logo .ch-logo { font-size: 1.7rem; color: #FEFBF5; }
#header.not-dark #logo .ch-logo,
#header:not(.dark) #logo .ch-logo,
#header.sticky-header #logo .ch-logo { color: var(--ch-brown-dark); }
@media (max-width: 575.98px) {
	#header #logo .ch-logo { font-size: 1.45rem; }
	#header .header-misc { display: none; }
}
#footer .ch-logo { color: var(--ch-cream); }
#header .primary-menu .menu-link.is-current > div { color: var(--ch-amber); }

/* ---- SKIP LINK ---- */
.ch-skip {
	position: absolute; left: 12px; top: -60px; z-index: 9999;
	background: var(--ch-amber); color: #fff; padding: 10px 18px; border-radius: 4px;
	font-weight: 600; transition: top 150ms;
}
.ch-skip:focus { top: 12px; color: #fff; }

/* ---- INNER PAGE HERO ---- */
.ch-page-hero {
	position: relative;
	background: var(--ch-brown-dark);
	padding: calc(var(--cnvs-header-height, 100px) + 4.5rem) 0 4.5rem;
	overflow: hidden;
}
.ch-page-hero-bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: .38;
}
.ch-page-hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(42,21,10,.92) 0%, rgba(42,21,10,.55) 100%);
}
.ch-page-hero .container { position: relative; z-index: 2; }
.ch-page-hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.7rem);
	font-weight: 400;
	letter-spacing: -0.02em;
	color: #FEFBF5;
	max-width: 820px;
	margin-bottom: 1rem;
}
.ch-page-hero h1 em { font-weight: 300; }
.ch-page-hero p.lead {
	color: rgba(254,251,245,.82);
	font-size: 1.1rem;
	max-width: 620px;
	margin-bottom: 0;
	text-wrap: pretty;
}
.ch-crumbs {
	font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--ch-sand); margin-bottom: 1.25rem;
}
.ch-crumbs a { color: var(--ch-sand); text-decoration: none; }
.ch-crumbs a:hover { color: #fff; }
.ch-crumbs span { margin: 0 .5rem; opacity: .6; }

/* ---- GENERIC SECTIONS ---- */
.ch-bg-cream { background: var(--ch-cream); }
.ch-bg-paper { background: #FEFBF5; }
.ch-bg-white { background: #fff; }
.ch-prose p, .ch-prose li { color: #4A2E10; font-size: 1rem; line-height: 1.78; text-wrap: pretty; }
.ch-prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.5rem 0 1rem; letter-spacing: -.02em; }
.ch-prose h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.ch-prose a:not(.ch-btn-primary) { color: var(--ch-amber); text-decoration: underline; text-underline-offset: 3px; }
.ch-prose ul, .ch-prose ol { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.ch-prose li { margin-bottom: .45rem; }

.ch-feature {
	background: #fff; border: 1.5px solid var(--ch-cream-dark); border-radius: 8px;
	padding: 2rem; height: 100%;
}
.ch-feature i { font-size: 1.8rem; color: var(--ch-amber); display: block; margin-bottom: 1rem; }
.ch-feature h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.ch-feature p { font-size: .93rem; color: #5A3B1E; margin: 0; line-height: 1.7; }

.ch-split-img {
	width: 100%; border-radius: 8px; object-fit: cover; aspect-ratio: 4/5;
	box-shadow: 0 20px 50px rgba(62,34,16,.18);
}

.ch-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.ch-steps li {
	counter-increment: s; position: relative; padding: 0 0 1.75rem 4rem; color: #5A3B1E;
}
.ch-steps li::before {
	content: counter(s); position: absolute; left: 0; top: -2px;
	width: 2.8rem; height: 2.8rem; border-radius: 50%;
	background: var(--ch-amber); color: #fff; font-family: var(--cnvs-primary-font);
	font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.ch-steps li strong { display: block; color: var(--ch-brown-dark); font-family: var(--cnvs-primary-font); font-size: 1.15rem; margin-bottom: .2rem; }

/* CTA band (non-image) */
.ch-cta-band { background: var(--ch-green); padding: 4.5rem 0; text-align: center; }
.ch-cta-band h2 { color: var(--ch-cream); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.ch-cta-band p { color: rgba(247,237,208,.82); max-width: 520px; margin: 0 auto 1.75rem; }

/* ---- COMPARISON TABLE ---- */
.ch-compare-wrap { overflow-x: auto; border: 1.5px solid var(--ch-cream-dark); border-radius: 8px; background: #fff; }
.ch-compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .93rem; }
.ch-compare th, .ch-compare td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--ch-cream-dark); text-align: center; color: #5A3B1E; }
.ch-compare th:first-child, .ch-compare td:first-child { text-align: left; color: var(--ch-brown-dark); font-weight: 600; }
.ch-compare thead th { font-family: var(--cnvs-primary-font); font-size: 1.15rem; color: var(--ch-brown-dark); background: var(--ch-cream); }
.ch-compare tbody tr:last-child td { border-bottom: none; }
.ch-compare .bi-check2 { color: var(--ch-green); font-size: 1.2rem; }
.ch-compare .no { color: #b9a58a; }

/* ---- BLOG ---- */
.ch-post-card {
	background: #fff; border: 1px solid var(--ch-cream-dark); border-radius: 8px; overflow: hidden;
	height: 100%; display: flex; flex-direction: column;
	transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
	.ch-post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(92,58,30,.14); }
}
.ch-post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.ch-post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ch-post-meta { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ch-green); margin-bottom: .6rem; }
.ch-post-meta span { color: #8A6040; font-weight: 600; }
.ch-post-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.ch-post-card h3 a { color: var(--ch-brown-dark); text-decoration: none; }
.ch-post-card h3 a:hover { color: var(--ch-amber); }
.ch-post-card p { font-size: .92rem; color: #5A3B1E; line-height: 1.65; margin-bottom: 1rem; }
.ch-post-more { margin-top: auto; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ch-amber); text-decoration: none; }
.ch-post-more:hover { color: var(--ch-brown-dark); }
.ch-post-feature { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border: 1px solid var(--ch-cream-dark); border-radius: 8px; overflow: hidden; }
.ch-post-feature img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.ch-post-feature .ch-post-body { padding: 2.5rem; justify-content: center; }
.ch-post-feature h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.ch-post-feature h2 a { color: var(--ch-brown-dark); text-decoration: none; }
@media (max-width: 767px) { .ch-post-feature { grid-template-columns: 1fr; } .ch-post-feature .ch-post-body { padding: 1.5rem; } }

.ch-article { max-width: 740px; margin: 0 auto; }
.ch-article-hero-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: 8px; margin-bottom: 2.5rem; }
.ch-article .ch-prose p:first-of-type { font-size: 1.15rem; color: #3E2210; }
.ch-article-box {
	background: var(--ch-cream); border-left: 4px solid var(--ch-amber); border-radius: 0 8px 8px 0;
	padding: 1.5rem 1.75rem; margin: 2.5rem 0;
}
.ch-article-box strong { font-family: var(--cnvs-primary-font); font-size: 1.15rem; color: var(--ch-brown-dark); }
.ch-article-box p { margin: .4rem 0 1rem; font-size: .98rem; }
.ch-related { border-top: 1px solid var(--ch-cream-dark); margin-top: 3rem; padding-top: 2rem; }

/* ---- FORMS ---- */
.ch-form-card {
	background: #fff; border: 1.5px solid var(--ch-cream-dark); border-radius: 10px;
	padding: 2.25rem; box-shadow: 0 20px 60px rgba(62,34,16,.1);
}
.ch-form label { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ch-brown-dark); margin-bottom: .35rem; display: block; }
.ch-form label small { font-weight: 500; color: #8A6040; }
.ch-form .form-control, .ch-form .form-select {
	background: #FEFBF5; border: 1.5px solid var(--ch-cream-dark); border-radius: 4px;
	padding: .75rem .9rem; font-size: 15px; color: var(--ch-ink); height: auto; box-shadow: none;
}
.ch-form textarea.form-control { min-height: 130px; resize: vertical; }
.ch-form .form-control:focus, .ch-form .form-select:focus { border-color: var(--ch-amber); background: #fff; box-shadow: 0 0 0 3px rgba(200,130,10,.18); }
.ch-form .is-invalid { border-color: #b3261e !important; }
.ch-err { display: none; color: #b3261e; font-size: 12.5px; margin-top: .3rem; }
.is-invalid ~ .ch-err { display: block; }
.ch-form .form-check { padding-left: 1.6rem; }
.ch-form .form-check-input { border-color: var(--ch-sand); margin-left: -1.6rem; }
.ch-form .form-check-input:checked { background-color: var(--ch-amber); border-color: var(--ch-amber); }
.ch-form .form-check-label { font-weight: 500; font-size: 13px; color: #5A3B1E; letter-spacing: 0; }
.ch-form .ch-btn-primary { width: 100%; border: 0; cursor: pointer; text-align: center; }
.ch-form .ch-btn-primary[disabled] { opacity: .7; cursor: progress; transform: none; }
.ch-form-note { font-size: 12.5px; color: #8A6040; text-align: center; margin: .9rem 0 0; }
.ch-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; overflow: hidden; }
.ch-form-success { display: none; text-align: center; padding: 1.5rem .5rem; }
.ch-form-success.is-shown { display: block; animation: chFade .5s var(--ease-out); }
.ch-form-success .ch-tick {
	width: 64px; height: 64px; border-radius: 50%; background: var(--ch-green); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1.25rem;
}
.ch-form-success h3 { font-size: 1.6rem; margin-bottom: .75rem; }
.ch-form-success p { color: #5A3B1E; }
.ch-code {
	display: inline-block; font-family: var(--cnvs-primary-font); font-size: 1.6rem; font-weight: 600; letter-spacing: .12em;
	border: 2px dashed var(--ch-amber); border-radius: 6px; padding: .4rem 1.25rem; color: var(--ch-amber); margin: .5rem 0 1rem;
}
@keyframes chFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ch-contact-list { list-style: none; padding: 0; margin: 0; }
.ch-contact-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ch-cream-dark); color: #5A3B1E; }
.ch-contact-list li:last-child { border-bottom: 0; }
.ch-contact-list i { color: var(--ch-amber); font-size: 1.3rem; margin-top: 2px; }
.ch-contact-list strong { display: block; color: var(--ch-brown-dark); }
.ch-contact-list a { color: #5A3B1E; }

/* plan chooser radio cards (subscribe page) */
.ch-plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.ch-plan-pick input { position: absolute; opacity: 0; }
.ch-plan-pick label {
	margin: 0; cursor: pointer; border: 1.5px solid var(--ch-cream-dark); border-radius: 6px; padding: .9rem .75rem; text-align: center;
	font-weight: 600; background: #FEFBF5; transition: border-color 150ms, background 150ms;
}
.ch-plan-pick label span { display: block; font-family: var(--cnvs-primary-font); font-size: 1.3rem; color: var(--ch-amber); }
.ch-plan-pick label small { display: block; font-weight: 500; }
.ch-plan-pick input:checked + label { border-color: var(--ch-amber); background: #fff; box-shadow: 0 0 0 3px rgba(200,130,10,.18); }
.ch-plan-pick input:focus-visible + label { outline: 2px solid var(--ch-amber); outline-offset: 2px; }
@media (max-width: 575px) { .ch-plan-pick { grid-template-columns: 1fr; } }

/* ---- QUOTE / PROOF ---- */
.ch-big-quote {
	font-family: var(--cnvs-primary-font); font-style: italic; font-weight: 300;
	font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.35; color: var(--ch-brown-dark); margin: 0 0 1.25rem;
}
.ch-price-table td { vertical-align: middle; }
.ch-newsletter-msg { font-size: 13px; margin: .6rem 0 0; color: var(--ch-sand); min-height: 1.2em; }

/* ---- LEGAL ---- */
.ch-legal { max-width: 780px; margin: 0 auto; }
.ch-legal h2 { font-size: 1.45rem; margin: 2.25rem 0 .75rem; }
.ch-legal p, .ch-legal li { color: #4A2E10; font-size: .98rem; line-height: 1.75; }

/* ---- LANDING PAGE (/offer/) ---- */
.lp-header { background: #FEFBF5; border-bottom: 1px solid var(--ch-cream-dark); }
.lp-header .lp-bar { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.lp-header .ch-logo { color: var(--ch-brown-dark); }
.lp-header .lp-phone { font-weight: 600; color: var(--ch-brown-dark); font-size: 14px; margin-right: 1.25rem; text-decoration: none; }
.lp-hero { position: relative; background: var(--ch-brown-dark); padding: 4rem 0 5rem; overflow: hidden; }
.lp-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.lp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(42,21,10,.94) 0%, rgba(42,21,10,.6) 100%); }
.lp-hero .container { position: relative; z-index: 2; }
.lp-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; color: #FEFBF5; letter-spacing: -.02em; margin-bottom: 1.25rem; }
.lp-hero .lp-sub { color: rgba(254,251,245,.85); font-size: 1.1rem; max-width: 540px; }
.lp-rating { display: flex; align-items: center; gap: .6rem; color: var(--ch-cream); font-size: 14px; margin-bottom: 1.5rem; }
.lp-rating i { color: var(--ch-amber-light); font-size: 13px; letter-spacing: 2px; }
.lp-bullets { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.lp-bullets li { display: flex; gap: .75rem; color: rgba(254,251,245,.92); padding: .35rem 0; }
.lp-bullets i { color: var(--ch-amber-light); margin-top: 4px; }
.lp-offer-tag {
	display: inline-block; background: var(--ch-amber); color: #fff; font-size: 11px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; padding: 5px 14px; border-radius: 40px; margin-bottom: 1.25rem;
}
.lp-form-card h2 { font-size: 1.55rem; margin-bottom: .35rem; }
.lp-form-card .lp-form-sub { font-size: .92rem; color: #5A3B1E; margin-bottom: 1.25rem; }
.lp-proofbar { background: var(--ch-amber); color: #fff; padding: 14px 0; }
.lp-proofbar .ch-trust-inner { gap: 1rem 2.5rem; }
.lp-box-card { background: #fff; border: 1.5px solid var(--ch-cream-dark); border-radius: 8px; padding: 1.75rem; height: 100%; }
.lp-box-card .num { font-family: var(--cnvs-primary-font); font-size: 2.4rem; color: rgba(200,130,10,.3); font-style: italic; line-height: 1; }
.lp-guarantee { background: #fff; border: 2px solid var(--ch-green); border-radius: 10px; padding: 2rem 2.25rem; display: flex; gap: 1.5rem; align-items: center; }
.lp-guarantee i { font-size: 3rem; color: var(--ch-green); }
.lp-guarantee h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.lp-guarantee p { margin: 0; color: #4A2E10; }
@media (max-width: 575px) { .lp-guarantee { flex-direction: column; text-align: center; } }
.lp-featured-review { background: var(--ch-brown-dark); border-radius: 10px; padding: 2.5rem; color: var(--ch-cream); }
.lp-featured-review p { font-family: var(--cnvs-primary-font); font-style: italic; font-weight: 300; font-size: clamp(1.25rem, 2.5vw, 1.7rem); line-height: 1.4; color: var(--ch-cream); }
.lp-featured-review .ch-review-name { color: var(--ch-cream); }
.lp-featured-review .ch-review-loc { color: rgba(247,237,208,.6); }
.lp-sticky { display: none; }
@media (max-width: 991px) {
	.lp-sticky {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99;
		background: #fff; border-top: 1px solid var(--ch-cream-dark); padding: 10px 16px; box-shadow: 0 -6px 24px rgba(0,0,0,.08);
	}
	.lp-sticky .ch-btn-primary { display: block; text-align: center; width: 100%; }
	body.lp { padding-bottom: 72px; }
}
.lp-footer { background: #2A150A; color: rgba(247,237,208,.55); padding: 2rem 0; font-size: 13px; text-align: center; }
.lp-footer a { color: rgba(247,237,208,.7); margin: 0 .6rem; }

/* ---- 404 ---- */
.ch-404 { min-height: 80vh; display: flex; align-items: center; text-align: center; background: var(--ch-cream); padding-top: 140px; }
.ch-404 .num { font-family: var(--cnvs-primary-font); font-size: clamp(6rem, 18vw, 11rem); font-weight: 300; font-style: italic; color: rgba(200,130,10,.35); line-height: 1; }

/* Keep logo + 6 nav items + CTA on one line between 992px and 1399px */
@media (min-width: 992px) and (max-width: 1399.98px) {
	#header .menu-link { padding-left: .6rem; padding-right: .6rem; }
	.ch-nav-cta { padding: 9px 16px; font-size: 13px; }
	#header #logo .ch-logo { font-size: 1.5rem; }
}

/* ---- MARKET (MY / SG) SWITCH ---- */
.ch-market { display: inline-flex; border: 1px solid rgba(254,251,245,.4); border-radius: 40px; overflow: hidden; margin-right: 12px; vertical-align: middle; }
.ch-market button { background: none; border: 0; padding: 6px 12px; font: 600 12px/1 var(--cnvs-body-font); letter-spacing: .04em; color: rgba(254,251,245,.85); cursor: pointer; white-space: nowrap; }
.ch-market button[aria-pressed="true"] { background: var(--ch-amber); color: #fff; }
#header.not-dark .ch-market, #header:not(.dark) .ch-market, #header.sticky-header .ch-market { border-color: var(--ch-cream-dark); }
#header.not-dark .ch-market button:not([aria-pressed="true"]), #header:not(.dark) .ch-market button:not([aria-pressed="true"]), #header.sticky-header .ch-market button:not([aria-pressed="true"]) { color: var(--ch-brown-dark); }
.ch-market--light { border-color: var(--ch-cream-dark); margin: 0 auto 1.5rem; }
.ch-market--light button:not([aria-pressed="true"]) { color: var(--ch-brown-dark); }
#footer .ch-market { margin-right: 0; }
.ch-wa-btn { display: inline-flex; align-items: center; gap: .5rem; background: #1FA855; color: #fff; padding: 12px 22px; border-radius: 4px; font-weight: 600; text-decoration: none; }
.ch-wa-btn:hover { background: #178a45; color: #fff; }
.lp-header .ch-market { margin: 0 14px 0 0; }

/* ---- HERO CONTRAST (photo is bright; keep nav + headline legible) ---- */
.ch-hero-scrim {
	background:
		linear-gradient(180deg, rgba(30,12,2,.75) 0, rgba(30,12,2,0) 220px),
		linear-gradient(100deg, rgba(30,12,2,.86) 0%, rgba(30,12,2,.6) 50%, rgba(30,12,2,.22) 100%);
}
.ch-hero-h1 em, .ch-page-hero h1 em, .lp-hero h1 em { color: #F0B84A; }

/* width/height attrs are for CLS only; let CSS aspect-ratio drive the box */
.ch-hiw-img, .ch-producer-img, .ch-split-img, .ch-post-card img, .ch-article-hero-img { height: auto; }

/* ---- Simplified Chinese (zh-MY): CJK tuning ---- */
:lang(zh) body { line-height: 1.8; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4 { line-height: 1.35; }
:lang(zh) * { letter-spacing: 0 !important; font-style: normal !important; }
:lang(zh) p, :lang(zh) li { line-break: strict; overflow-wrap: anywhere; }
