/* ==========================================================================
   Zhino — site styles
   Tokens: ink, paper, brand (indigo), coin (saffron, money only), mist, line.
   ========================================================================== */

:root {
	--zh-brand: #5b4bf5;
	--zh-coin: #f2b33d;
	--zh-font: "Vazirmatn", Tahoma, sans-serif;
	--zh-r-lg: 22px;
	--zh-r-md: 14px;

	--zh-ink: #16133a;
	--zh-ink-2: #4b4870;
	--zh-ink-3: #77749a;
	--zh-paper: #faf9ff;
	--zh-surface: #ffffff;
	--zh-mist: color-mix(in srgb, var(--zh-brand) 9%, #ffffff);
	--zh-line: #e3e0f2;
	--zh-brand-ink: color-mix(in srgb, var(--zh-brand) 82%, #000000);
	--zh-brand-soft: color-mix(in srgb, var(--zh-brand) 12%, transparent);
	--zh-coin-ink: color-mix(in srgb, var(--zh-coin) 55%, #4a2d00);
	--zh-on-brand: #ffffff;
	--zh-danger: #c2352b;
	--zh-ok: #0f8a5f;
	--zh-shadow: 0 10px 30px -12px color-mix(in srgb, var(--zh-ink) 30%, transparent);

	--zh-fs-xs: .8125rem;
	--zh-fs-sm: .9375rem;
	--zh-fs-md: 1rem;
	--zh-fs-lg: 1.25rem;
	--zh-fs-xl: 1.625rem;
	--zh-fs-2xl: 2.25rem;
	--zh-fs-hero: clamp(2.25rem, 1.4rem + 3.6vw, 3.6rem);
	color-scheme: light;
}

[data-theme="dark"] {
	--zh-ink: #eceafb;
	--zh-ink-2: #bdb9dc;
	--zh-ink-3: #8b87ad;
	--zh-paper: #110f27;
	--zh-surface: #1b1838;
	--zh-mist: color-mix(in srgb, var(--zh-brand) 16%, #1b1838);
	--zh-line: #2c2850;
	--zh-brand-ink: color-mix(in srgb, var(--zh-brand) 55%, #ffffff);
	--zh-brand-soft: color-mix(in srgb, var(--zh-brand) 22%, transparent);
	--zh-coin-ink: var(--zh-coin);
	--zh-shadow: 0 14px 34px -12px rgba(0, 0, 0, .6);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
	margin: 0;
	background: var(--zh-paper);
	color: var(--zh-ink);
	font-family: var(--zh-font);
	font-size: var(--zh-fs-md);
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--zh-brand-ink); text-underline-offset: 4px; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--zh-brand); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zh-skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--zh-ink); color: var(--zh-paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.zh-skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.zh-container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.zi { flex: none; vertical-align: middle; }
.zh-when-dark { display: none; }
[data-theme="dark"] .zh-when-dark { display: inline-block; }
[data-theme="dark"] .zh-when-light { display: none; }

/* ---------------------------------------------------------------- Buttons */
.zh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 700; font-size: var(--zh-fs-sm); text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s;
}
.zh-btn-lg { min-height: 52px; padding: 0 26px; font-size: var(--zh-fs-md); }
.zh-btn-primary { background: var(--zh-brand); color: var(--zh-on-brand); }
.zh-btn-primary:hover { background: var(--zh-brand-ink); color: var(--zh-on-brand); }
[data-theme="dark"] .zh-btn-primary:hover { background: color-mix(in srgb, var(--zh-brand) 85%, #ffffff); }
.zh-btn-ghost { border-color: var(--zh-line); color: var(--zh-ink); background: var(--zh-surface); }
.zh-btn-ghost:hover { border-color: var(--zh-brand); color: var(--zh-brand-ink); }
.zh-btn-text { color: var(--zh-ink); background: none; }
.zh-btn-text:hover { color: var(--zh-brand-ink); }
.zh-btn-light { background: #fff; color: #16133a; }
.zh-btn-light:hover { background: color-mix(in srgb, #fff 88%, var(--zh-brand)); }
.zh-btn:disabled, .zh-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.zh-icon-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border-radius: 50%; border: 1px solid transparent; background: none; color: var(--zh-ink-2); cursor: pointer;
}
.zh-icon-btn:hover { background: var(--zh-mist); color: var(--zh-ink); }
.zh-link { font-weight: 700; color: var(--zh-brand-ink); text-decoration: none; }
.zh-link:hover { text-decoration: underline; }

/* Coin glyph: a saffron disc. Money is the only thing coloured saffron. */
.zh-coin {
	display: inline-block; width: .95em; height: .95em; border-radius: 50%; flex: none;
	background: radial-gradient(circle at 50% 50%, transparent 0 34%, var(--zh-coin) 35% 100%);
	box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--zh-coin) 70%, #7a4c00);
	vertical-align: -0.12em; margin-inline-end: .35em;
}
.zh-balance-pill, .zh-balance-inline {
	display: inline-flex; align-items: center; gap: 2px; font-weight: 800; font-size: var(--zh-fs-sm);
	color: var(--zh-coin-ink); background: color-mix(in srgb, var(--zh-coin) 16%, transparent);
	border-radius: 999px; padding: 6px 12px; text-decoration: none; font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- Header */
.zh-header {
	position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--zh-paper) 86%, transparent);
	backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid color-mix(in srgb, var(--zh-line) 70%, transparent);
}
.admin-bar .zh-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .zh-header { top: 46px; } }
.zh-header-inner { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.zh-brand { flex: none; }
.zh-brand img { max-height: 40px; width: auto; display: block; }
.zh-brand .zh-site-logo { width: min(var(--zh-site-logo-width, 190px), 42vw); max-width: none; max-height: 48px; object-fit: contain; object-position: right center; }
.zh-footer-site-brand .zh-site-logo { width: min(var(--zh-site-logo-width, 190px), 100%); max-width: 260px; max-height: 64px; object-fit: contain; object-position: right center; }
.zh-wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.3rem; color: var(--zh-ink); text-decoration: none; }
.zh-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--zh-brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.zh-nav { flex: 1; }
.zh-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.zh-menu a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--zh-ink-2); text-decoration: none; font-weight: 600; font-size: var(--zh-fs-sm); }
.zh-menu a:hover, .zh-menu .current-menu-item > a { color: var(--zh-ink); background: var(--zh-mist); }
.zh-menu .sub-menu { display: none; }
.zh-header-actions { display: flex; align-items: center; gap: 8px; }
.zh-nav-toggle { display: none; }
@media (max-width: 900px) {
	.zh-nav-toggle { display: inline-flex; }
	.zh-nav { position: absolute; inset-inline: 0; top: 100%; background: var(--zh-paper); border-bottom: 1px solid var(--zh-line); display: none; padding: 8px 16px 16px; }
	.zh-nav.is-open { display: block; }
	.zh-menu { flex-direction: column; }
	.zh-menu a { padding: 12px; font-size: var(--zh-fs-md); }
	.zh-hide-sm { display: none; }
	.zh-header-inner { gap: 12px; }
	.zh-header-actions { margin-inline-start: auto; }
}
@media (max-width: 420px) { .zh-header-actions .zh-balance-pill { display: none; } }

/* ---------------------------------------------------------------- Hero */
.zh-hero { padding: 64px 0 72px; overflow: hidden; }
.zh-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.zh-hero-title { font-size: var(--zh-fs-hero); font-weight: 900; line-height: 1.3; margin-bottom: 20px; max-width: 13em; text-wrap: balance; }
.zh-hero-text { font-size: var(--zh-fs-lg); color: var(--zh-ink-2); max-width: 34em; line-height: 1.95; }
.zh-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.zh-hero-note { color: var(--zh-ink-3); font-size: var(--zh-fs-sm); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.zh-gift { display: inline-flex; align-items: center; color: var(--zh-coin-ink); font-weight: 700; }

.zh-demo {
	background: var(--zh-surface); border: 1px solid var(--zh-line); border-radius: var(--zh-r-lg);
	box-shadow: var(--zh-shadow); overflow: hidden; display: flex; flex-direction: column; min-height: 400px;
}
.zh-demo-bar { display: flex; gap: 6px; padding: 14px; border-bottom: 1px solid var(--zh-line); flex-wrap: wrap; }
.zh-demo-chip { font-size: var(--zh-fs-xs); font-weight: 700; padding: 5px 12px; border-radius: 999px; color: var(--zh-ink-3); border: 1px solid var(--zh-line); }
.zh-demo-chip.is-active { background: var(--zh-brand); border-color: var(--zh-brand); color: #fff; }
.zh-demo-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.zh-demo-user { align-self: flex-start; max-width: 85%; background: var(--zh-mist); padding: 12px 16px; border-radius: var(--zh-r-md); border-start-start-radius: 4px; font-size: var(--zh-fs-sm); }
.zh-demo-answer { font-size: var(--zh-fs-sm); color: var(--zh-ink); min-height: 7.5em; white-space: normal; }
.zh-demo-answer.is-typing::after { content: ""; display: inline-block; width: 8px; height: 1.1em; background: var(--zh-brand); vertical-align: -0.2em; margin-inline-start: 2px; animation: zh-blink 1s steps(1) infinite; }
@keyframes zh-blink { 50% { opacity: 0; } }
.zh-demo-foot { border-top: 1px solid var(--zh-line); padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.zh-demo-cost { display: inline-flex; align-items: center; font-size: var(--zh-fs-xs); font-weight: 700; color: var(--zh-coin-ink); transition: opacity .4s; }
.zh-demo-cost.is-hidden { opacity: 0; }
.zh-demo-input { display: block; border: 1px solid var(--zh-line); border-radius: 999px; padding: 10px 16px; color: var(--zh-ink-3); font-size: var(--zh-fs-sm); }
@media (max-width: 900px) {
	.zh-hero { padding: 36px 0 48px; }
	.zh-hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.zh-demo { min-height: 0; }
}

/* ---------------------------------------------------------------- Sections */
.zh-section { padding: 88px 0; }
.zh-section-alt { background: var(--zh-surface); border-block: 1px solid var(--zh-line); }
.zh-section-head { max-width: 640px; margin-bottom: 36px; }
.zh-section-head h2 { font-size: var(--zh-fs-2xl); font-weight: 900; line-height: 1.4; text-wrap: balance; }
.zh-section-head p { color: var(--zh-ink-2); font-size: var(--zh-fs-lg); margin: 0; }
.zh-section-more { margin: 28px 0 0; }
@media (max-width: 700px) { .zh-section { padding: 60px 0; } .zh-section-head h2 { font-size: var(--zh-fs-xl); } .zh-section-head p { font-size: var(--zh-fs-md); } }

/* Tools: a menu list, not cards */
.zh-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.zh-filter button { border: 1px solid var(--zh-line); background: var(--zh-surface); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 600; font-size: var(--zh-fs-sm); color: var(--zh-ink-2); }
.zh-filter button.is-active { background: var(--zh-ink); border-color: var(--zh-ink); color: var(--zh-paper); }
.zh-tool-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--zh-line); }
.zh-tool-list li { border-bottom: 1px solid var(--zh-line); }
.zh-tool-list li[hidden] { display: none; }
.zh-tool-list a { display: flex; gap: 16px; padding: 18px 4px; color: inherit; text-decoration: none; align-items: flex-start; }
.zh-tool-list a:hover strong { color: var(--zh-brand-ink); }
.zh-tool-icon { width: 44px; height: 44px; border-radius: 13px; background: var(--zh-mist); color: var(--zh-brand-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.zh-tool-text { display: flex; flex-direction: column; gap: 2px; }
.zh-tool-text strong { font-size: var(--zh-fs-md); font-weight: 800; }
.zh-tool-text span { color: var(--zh-ink-3); font-size: var(--zh-fs-sm); line-height: 1.8; }
@media (max-width: 760px) { .zh-tool-list { grid-template-columns: 1fr; } }

/* Models: price board with dotted leaders */
.zh-models-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.zh-models-note { margin-top: 16px !important; font-size: var(--zh-fs-sm) !important; color: var(--zh-ink-3) !important; }
.zh-board { list-style: none; margin: 0; padding: 0; }
.zh-board li { display: flex; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--zh-line); }
.zh-board li:first-child { padding-top: 4px; }
.zh-board-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; max-width: 64%; }
.zh-board-name strong { font-size: var(--zh-fs-lg); font-weight: 800; }
.zh-board-desc { flex-basis: 100%; color: var(--zh-ink-3); font-size: var(--zh-fs-sm); }
.zh-board-dots { flex: 1; border-bottom: 2px dotted var(--zh-line); transform: translateY(-6px); min-width: 24px; }
.zh-board-price { display: inline-flex; align-items: center; font-weight: 800; color: var(--zh-coin-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.zh-badge { display: inline-block; font-size: var(--zh-fs-xs); font-weight: 700; padding: 1px 10px; border-radius: 999px; background: var(--zh-mist); color: var(--zh-brand-ink); line-height: 1.9; }
@media (max-width: 900px) { .zh-models-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 520px) { .zh-board li { flex-wrap: wrap; } .zh-board-name { max-width: 100%; } .zh-board-dots { display: none; } }

/* Steps: a real sequence */
.zh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: none; }
.zh-steps li { position: relative; padding-top: 18px; border-top: 2px solid var(--zh-ink); }
.zh-step-num { display: block; font-size: 2.75rem; font-weight: 900; line-height: 1; color: var(--zh-brand); margin-bottom: 14px; }
.zh-steps h3 { font-size: var(--zh-fs-lg); }
.zh-steps p { color: var(--zh-ink-2); margin: 0; }
@media (max-width: 800px) { .zh-steps { grid-template-columns: 1fr; gap: 28px; } }

/* Pricing */
.zh-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.zh-pack { position: relative; background: var(--zh-surface); border: 1px solid var(--zh-line); border-radius: var(--zh-r-lg); padding: 26px 22px 22px; display: flex; flex-direction: column; }
.zh-pack.is-featured { border: 2px solid var(--zh-coin); }
.zh-pack-flag { position: absolute; top: -13px; inset-inline-start: 20px; background: var(--zh-coin); color: #3b2500; font-size: var(--zh-fs-xs); font-weight: 800; padding: 2px 12px; border-radius: 999px; }
.zh-pack-coins { display: flex; align-items: center; font-size: var(--zh-fs-sm); color: var(--zh-coin-ink); font-weight: 700; margin-bottom: 4px; }
.zh-pack-coins strong { font-size: 2.4rem; font-weight: 900; line-height: 1.2; margin-inline-end: 6px; color: var(--zh-ink); }
.zh-pack-coins .zh-coin { width: 1.6em; height: 1.6em; }
.zh-pack h3 { font-size: var(--zh-fs-md); color: var(--zh-ink-2); font-weight: 700; margin-bottom: 14px; }
.zh-pack-price { font-size: var(--zh-fs-lg); font-weight: 800; margin: 0; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.zh-pack-price del { font-size: var(--zh-fs-sm); color: var(--zh-ink-3); font-weight: 500; }
.zh-pack-per { color: var(--zh-ink-3); font-size: var(--zh-fs-xs); margin: 2px 0 12px; }
.zh-pack-desc { color: var(--zh-ink-2); font-size: var(--zh-fs-sm); }
.zh-pack .zh-btn { margin-top: auto; }
.zh-admin-hint { background: color-mix(in srgb, var(--zh-coin) 14%, transparent); border: 1px dashed var(--zh-coin); border-radius: var(--zh-r-md); padding: 14px 18px; }

/* FAQ */
.zh-faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.zh-faq details { border-bottom: 1px solid var(--zh-line); }
.zh-faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; font-size: var(--zh-fs-lg); display: flex; justify-content: space-between; gap: 16px; }
.zh-faq summary::-webkit-details-marker { display: none; }
.zh-faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--zh-ink-3); }
.zh-faq details[open] summary::after { content: "−"; }
.zh-faq p { color: var(--zh-ink-2); padding-bottom: 18px; margin: 0; max-width: 60ch; }
@media (max-width: 900px) { .zh-faq-grid { grid-template-columns: 1fr; gap: 12px; } .zh-faq summary { font-size: var(--zh-fs-md); } }

/* CTA band */
.zh-cta { background: var(--zh-brand); color: #fff; padding: 56px 0; }
.zh-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.zh-cta h2 { font-size: var(--zh-fs-2xl); font-weight: 900; margin-bottom: 6px; }
.zh-cta p { margin: 0; opacity: .85; font-size: var(--zh-fs-lg); }

/* ---------------------------------------------------------------- Footer */
.zh-footer { border-top: 1px solid var(--zh-line); padding: 48px 0 24px; color: var(--zh-ink-2); font-size: var(--zh-fs-sm); }
.zh-footer-inner { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.zh-footer-brand { max-width: 360px; }
.zh-footer-brand p { margin-top: 12px; }
.zh-socials, .zh-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.zh-footer a { color: var(--zh-ink-2); text-decoration: none; }
.zh-footer a:hover { color: var(--zh-brand-ink); }
.zh-footer-menu { flex-direction: column; gap: 8px; }
.zh-footer-bottom { border-top: 1px solid var(--zh-line); margin-top: 32px; padding-top: 18px; font-size: var(--zh-fs-xs); color: var(--zh-ink-3); }
.zh-footer-bottom p { margin: 0; }
.zh-trust img { max-height: 110px; width: auto; }

/* ---------------------------------------------------------------- Blog & pages */
.zh-page { padding: 48px 0 80px; }
.zh-page-head { margin-bottom: 32px; }
.zh-page-head h1 { font-size: var(--zh-fs-2xl); font-weight: 900; }
.zh-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 28px; }
.zh-post-card { display: flex; flex-direction: column; }
.zh-post-thumb { display: block; border-radius: var(--zh-r-md); overflow: hidden; aspect-ratio: 16 / 9; background: var(--zh-mist); margin-bottom: 14px; }
.zh-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zh-post-meta { font-size: var(--zh-fs-xs); color: var(--zh-ink-3); margin-bottom: 4px; }
.zh-post-meta a { color: inherit; }
.zh-post-title { font-size: var(--zh-fs-lg); margin-bottom: 6px; }
.zh-post-title a { color: var(--zh-ink); text-decoration: none; }
.zh-post-title a:hover { color: var(--zh-brand-ink); }
.zh-post-excerpt { color: var(--zh-ink-2); font-size: var(--zh-fs-sm); }
.zh-post-excerpt p { margin: 0; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--zh-line); text-decoration: none; color: var(--zh-ink); }
.nav-links .current { background: var(--zh-ink); color: var(--zh-paper); border-color: var(--zh-ink); }
.zh-empty-state { padding: 40px 0; color: var(--zh-ink-2); }

.zh-article { padding: 48px 0 80px; max-width: 760px; }
.zh-article-wide { max-width: 1160px; }
.zh-article-head h1 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 900; text-wrap: balance; }
.zh-article-thumb { margin: 24px 0 32px; }
.zh-article-thumb img { border-radius: var(--zh-r-lg); display: block; width: 100%; }
.zh-prose { font-size: 1.0625rem; line-height: 2.05; overflow-wrap: anywhere; }
.zh-prose > * { max-width: 72ch; }
.zh-prose > :first-child { margin-top: 0; }
.zh-prose :is(h2, h3, h4) { scroll-margin-top: 96px; text-wrap: balance; }
.zh-prose h2 { font-size: var(--zh-fs-xl); font-weight: 900; margin: 1.9em 0 .6em; }
.zh-prose h3 { font-size: var(--zh-fs-lg); font-weight: 800; margin: 1.6em 0 .5em; }
.zh-prose h4 { font-size: var(--zh-fs-md); font-weight: 800; margin: 1.4em 0 .4em; }
.zh-prose a { color: var(--zh-brand-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--zh-brand) 40%, transparent); text-decoration-thickness: 2px; }
.zh-prose a:hover { text-decoration-color: currentColor; }
.zh-prose :is(ul, ol) { padding-inline-start: 1.4em; margin: 0 0 1.2em; }
.zh-prose li { margin-bottom: .35em; }
.zh-prose li::marker { color: var(--zh-brand); font-weight: 800; }
.zh-prose strong { font-weight: 800; color: var(--zh-ink); }
.zh-prose mark { background: color-mix(in srgb, var(--zh-coin) 35%, transparent); color: inherit; padding: 0 .2em; border-radius: 4px; }
.zh-prose hr { border: 0; height: 1px; margin: 2.4em auto; background: var(--zh-line); }
.zh-prose img { border-radius: var(--zh-r-md); height: auto; }
.zh-prose figure { margin: 1.8em 0; }
.zh-prose figcaption, .zh-prose .wp-caption-text, .zh-prose .wp-element-caption { margin-top: 8px; text-align: center; color: var(--zh-ink-3); font-size: var(--zh-fs-xs); line-height: 1.8; }
.zh-prose blockquote { margin: 1.8em 0; padding: 18px 22px; border-inline-start: 4px solid var(--zh-brand); border-radius: var(--zh-r-md); background: var(--zh-mist); color: var(--zh-ink); font-size: 1.05em; font-weight: 600; }
.zh-prose blockquote p:last-child { margin-bottom: 0; }
.zh-prose blockquote cite { display: block; margin-top: 8px; font-size: var(--zh-fs-xs); font-style: normal; color: var(--zh-ink-3); }
.zh-prose .wp-block-pullquote { border-block: 3px solid var(--zh-brand); padding: 1.4em 0; text-align: center; }
.zh-prose .wp-block-pullquote blockquote { border: 0; background: none; }
.zh-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Vazirmatn", Tahoma, monospace; font-size: .88em; }
@media (hover: none) { .zh-code-copy { opacity: 1; } }
.zh-prose :not(pre) > code { padding: .1em .4em; border-radius: 6px; background: var(--zh-mist); color: var(--zh-brand-ink); direction: ltr; unicode-bidi: isolate; }
.zh-prose pre { position: relative; margin: 1.6em 0; padding: 18px 20px; overflow: auto; direction: ltr; text-align: left; unicode-bidi: plaintext; white-space: pre; tab-size: 4; font-size: .875rem; line-height: 1.85; border: 1px solid color-mix(in srgb, var(--zh-ink) 14%, transparent); border-radius: var(--zh-r-md); background: #14122b; color: #e7e5ff; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
[data-theme="dark"] .zh-prose pre { background: #0b0a1c; border-color: var(--zh-line); }
.zh-prose pre code { color: inherit; background: none; padding: 0; unicode-bidi: plaintext; }
.zh-code-copy { position: absolute; top: 8px; right: 8px; padding: 2px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(255,255,255,.08); color: #e7e5ff; font: 700 12px/1.9 var(--zh-font); cursor: pointer; opacity: 0; transition: opacity .15s; }
.zh-prose pre:hover .zh-code-copy, .zh-code-copy:focus-visible { opacity: 1; }
.zh-prose .wp-block-table, .zh-prose .zh-table-wrap { overflow-x: auto; }
.zh-prose table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .95em; border: 1px solid var(--zh-line); border-radius: var(--zh-r-md); overflow: hidden; }
.zh-prose th, .zh-prose td { padding: 10px 14px; border-bottom: 1px solid var(--zh-line); text-align: start; vertical-align: top; }
.zh-prose th { background: var(--zh-mist); font-weight: 800; color: var(--zh-ink); }
.zh-prose tr:last-child td { border-bottom: 0; }
.zh-prose tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--zh-mist) 45%, transparent); }
.zh-prose iframe, .zh-prose video { max-width: 100%; border-radius: var(--zh-r-md); }
.zh-prose .wp-block-embed__wrapper { position: relative; }
.zh-prose .wp-block-button__link { display: inline-flex; padding: 10px 22px; border-radius: 999px; background: var(--zh-brand); color: var(--zh-on-brand); text-decoration: none; font-weight: 800; }
.zh-prose .wp-block-button.is-style-outline .wp-block-button__link { background: none; color: var(--zh-brand-ink); border: 2px solid currentColor; }
.zh-prose .wp-block-gallery { gap: 10px; }
.zh-prose .wp-block-separator.is-style-dots { background: none; text-align: center; }
.zh-prose .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--zh-line); border-radius: var(--zh-r-md); }
.zh-prose details { margin: 1em 0; padding: 12px 16px; border: 1px solid var(--zh-line); border-radius: var(--zh-r-md); background: var(--zh-surface); }
.zh-prose summary { font-weight: 800; cursor: pointer; }
/* Block alignments (Gutenberg / classic editor) */
.zh-prose .alignwide { max-width: min(1000px, 100vw - 32px); width: min(1000px, 100vw - 32px); margin-inline: 50%; transform: translateX(50%); }
.zh-prose .alignfull { max-width: 100vw; width: 100vw; margin-inline: 50%; transform: translateX(50%); }
.zh-prose .alignfull img, .zh-prose .alignwide img { width: 100%; }
.zh-prose .alignfull img { border-radius: 0; }
.zh-prose .aligncenter { margin-inline: auto; text-align: center; }
.zh-prose .aligncenter img { margin-inline: auto; }
.zh-prose .alignright { float: right; margin: .4em 0 1em 1.6em; max-width: 50%; }
.zh-prose .alignleft { float: left; margin: .4em 1.6em 1em 0; max-width: 50%; }
.zh-prose::after { content: ""; display: table; clear: both; }
.zh-prose .wp-caption { max-width: 100%; }
.zh-page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2em; font-weight: 700; }
.zh-page-links a, .zh-page-links > .post-page-numbers { display: inline-grid; place-items: center; min-width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--zh-line); text-decoration: none; }
.zh-page-links .current { background: var(--zh-brand); color: var(--zh-on-brand); border-color: var(--zh-brand); }
@media (max-width: 640px) {
	.zh-prose { font-size: 1rem; line-height: 2; }
	.zh-prose .alignright, .zh-prose .alignleft { float: none; margin: 1em 0; max-width: 100%; }
}
.zh-article-foot { margin-top: 40px; }
.zh-tags a { display: inline-block; margin: 0 0 6px 6px; padding: 2px 12px; border-radius: 999px; background: var(--zh-mist); text-decoration: none; font-size: var(--zh-fs-xs); }
.zh-article-cta { margin: 32px 0; padding: 22px 24px; border-radius: var(--zh-r-lg); background: var(--zh-mist); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.zh-article-cta p { margin: 0; font-weight: 700; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { text-decoration: none; }
.zh-comments { margin-top: 56px; }
.zh-comment-list { list-style: none; padding: 0; }
.zh-comment-list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--zh-line); }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea, .zh-searchform input[type=search] {
	width: 100%; border: 1px solid var(--zh-line); background: var(--zh-surface); border-radius: var(--zh-r-md); padding: 10px 14px; min-height: 44px;
}
.zh-searchform { position: relative; display: flex; align-items: center; gap: 6px; max-width: 520px; margin: 16px 0; padding: 5px; border: 1px solid var(--zh-line); border-radius: 999px; background: var(--zh-surface); transition: border-color .15s, box-shadow .15s; }
.zh-searchform:focus-within { border-color: var(--zh-brand); box-shadow: 0 0 0 4px var(--zh-brand-soft); }
.zh-searchform-icon { margin-inline-start: 10px; color: var(--zh-ink-3); }
.zh-searchform input[type=search] { flex: 1; min-width: 0; min-height: 40px; height: 40px; padding: 0 6px; border: 0; border-radius: 0; background: none; outline: 0; box-shadow: none; }
.zh-searchform input[type=search]::-webkit-search-cancel-button { display: none; }
.zh-searchform .zh-btn { min-height: 40px; }
.zh-404 { text-align: center; }
.zh-404 .zh-searchform { margin-inline: auto; }
.zh-404-code { font-size: 6rem; font-weight: 900; line-height: 1; color: var(--zh-brand); margin: 0 0 12px; }

/* ---------------------------------------------------------------- Modern configurable 404 */
.zh-404-modern { --zh404-accent: var(--zh-brand); --zh404-bg: var(--zh-mist); position: relative; isolation: isolate; overflow: hidden; padding: clamp(42px,7vw,90px) 0 64px; background: linear-gradient(145deg, color-mix(in srgb,var(--zh404-bg) 92%,#fff), color-mix(in srgb,var(--zh404-accent) 7%,var(--zh404-bg))); }
.zh-404-modern::before { content:""; position:absolute; inset:0; pointer-events:none; z-index:-2; opacity:.52; background-image:linear-gradient(color-mix(in srgb,var(--zh404-accent) 8%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--zh404-accent) 8%,transparent) 1px,transparent 1px); background-size:42px 42px; -webkit-mask-image:linear-gradient(to bottom,#000,transparent 72%); mask-image:linear-gradient(to bottom,#000,transparent 72%); }
.zh-404-shell { display:grid; grid-template-columns:minmax(0,1.04fr) minmax(340px,.96fr); align-items:center; gap:clamp(36px,6vw,82px); min-height:520px; }
.zh-404-content { max-width:680px; min-width:0; }
.zh-404-badge { display:inline-flex; align-items:center; gap:8px; padding:8px 13px; border:1px solid color-mix(in srgb,var(--zh404-accent) 20%,var(--zh-line)); border-radius:999px; background:color-mix(in srgb,var(--zh404-accent) 8%,var(--zh-surface)); color:var(--zh404-accent); font-size:.78rem; font-weight:850; }
.zh-404-number { margin:20px 0 -4px; font-size:clamp(5.7rem,13vw,10.8rem); font-weight:950; line-height:.82; letter-spacing:-.09em; color:transparent; background:linear-gradient(135deg,var(--zh404-accent),color-mix(in srgb,var(--zh404-accent) 35%,#9b8cff)); -webkit-background-clip:text; background-clip:text; filter:drop-shadow(0 18px 28px color-mix(in srgb,var(--zh404-accent) 15%,transparent)); }
.zh-404-content h1 { margin:22px 0 12px; font-size:clamp(2rem,4vw,3.65rem); line-height:1.18; font-weight:950; letter-spacing:-.04em; text-wrap:balance; }
.zh-404-lead { max-width:62ch; margin:0; color:var(--zh-ink-2); font-size:clamp(.98rem,1.3vw,1.12rem); line-height:2; }
.zh-404-path { margin:18px 0 0; width:min(100%,580px); display:flex; align-items:center; gap:9px; padding:10px 13px; border-radius:13px; background:color-mix(in srgb,var(--zh-surface) 86%,transparent); border:1px solid var(--zh-line); color:var(--zh-ink-3); direction:ltr; text-align:left; }
.zh-404-path span { flex:0 0 auto; color:var(--zh404-accent); }
.zh-404-path code { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:.8rem; }
.zh-404-search { width:min(100%,610px); margin:24px 0 0; display:flex; align-items:center; gap:8px; padding:6px; border-radius:18px; background:var(--zh-surface); border:1px solid color-mix(in srgb,var(--zh404-accent) 16%,var(--zh-line)); box-shadow:0 18px 48px -34px color-mix(in srgb,var(--zh404-accent) 60%,#000); }
.zh-404-search-icon { display:grid; place-items:center; margin-inline-start:8px; color:var(--zh-ink-3); }
.zh-404-search input { flex:1; min-width:0; border:0!important; outline:0; box-shadow:none!important; background:transparent!important; min-height:46px; padding:7px 4px!important; color:var(--zh-ink); font-family:inherit; font-size:16px; }
.zh-404-search .zh-btn { flex:0 0 auto; min-height:46px; }
.zh-404-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:20px; }
.zh-404-actions .zh-btn { display:inline-flex; align-items:center; gap:8px; min-height:48px; }
.zh-404-primary { background:var(--zh404-accent)!important; }
.zh-404-visual { min-width:0; position:relative; min-height:430px; display:grid; place-items:center; }
.zh-404-image-wrap { width:min(100%,520px); aspect-ratio:1/1; border-radius:42px; padding:14px; background:color-mix(in srgb,var(--zh-surface) 78%,transparent); border:1px solid color-mix(in srgb,var(--zh404-accent) 16%,var(--zh-line)); box-shadow:0 35px 90px -52px color-mix(in srgb,var(--zh404-accent) 74%,#000); transform:rotate(-2deg); }
.zh-404-image-wrap img { width:100%; height:100%; object-fit:cover; border-radius:31px; display:block; }
.zh-404-ai-illustration { position:relative; width:min(100%,470px); aspect-ratio:1/1; border-radius:50%; display:grid; place-items:center; background:radial-gradient(circle at 45% 42%,color-mix(in srgb,var(--zh404-accent) 14%,var(--zh-surface)) 0 20%,color-mix(in srgb,var(--zh404-accent) 5%,transparent) 53%,transparent 72%); }
.zh-404-grid { position:absolute; inset:12%; border-radius:50%; border:1px solid color-mix(in srgb,var(--zh404-accent) 20%,transparent); background:repeating-radial-gradient(circle at center,transparent 0 39px,color-mix(in srgb,var(--zh404-accent) 8%,transparent) 40px 41px); }
.zh-404-core { position:relative; z-index:3; width:132px; height:132px; border-radius:36px; display:grid; place-items:center; color:#fff; background:linear-gradient(145deg,var(--zh404-accent),color-mix(in srgb,var(--zh404-accent) 58%,#a897ff)); box-shadow:0 25px 60px -20px color-mix(in srgb,var(--zh404-accent) 80%,transparent),inset 0 1px 0 rgba(255,255,255,.4); transform:rotate(9deg); }
.zh-404-core::after { content:"404"; position:absolute; inset:auto -36px -42px auto; font:900 2.25rem/1 var(--zh-font); color:color-mix(in srgb,var(--zh404-accent) 40%,var(--zh-ink)); letter-spacing:-.04em; opacity:.7; transform:rotate(-9deg); }
.zh-404-node { position:absolute; z-index:4; width:54px; height:54px; display:grid; place-items:center; border-radius:18px; color:var(--zh404-accent); background:var(--zh-surface); border:1px solid color-mix(in srgb,var(--zh404-accent) 19%,var(--zh-line)); box-shadow:0 15px 38px -24px #000; }
.zh-404-node.node-a { top:15%; right:19%; } .zh-404-node.node-b { bottom:17%; left:16%; } .zh-404-node.node-c { top:30%; left:5%; } .zh-404-node.node-d { bottom:9%; right:28%; }
.zh-404-float-card { position:absolute; z-index:4; left:8%; bottom:4%; display:flex; align-items:center; gap:9px; padding:10px 14px; border-radius:14px; background:color-mix(in srgb,var(--zh-surface) 88%,transparent); border:1px solid var(--zh-line); box-shadow:0 18px 44px -28px #000; color:var(--zh-ink-2); font-size:.78rem; font-weight:800; backdrop-filter:blur(10px); }
.zh-404-float-card .dot { width:8px; height:8px; border-radius:50%; background:#f05c69; box-shadow:0 0 0 5px color-mix(in srgb,#f05c69 12%,transparent); }
.zh-404-orb { position:absolute; z-index:-1; pointer-events:none; border-radius:50%; filter:blur(1px); background:color-mix(in srgb,var(--zh404-accent) 12%,transparent); }
.zh-404-orb-one { width:360px; height:360px; top:-160px; right:-80px; } .zh-404-orb-two { width:280px; height:280px; bottom:5%; left:-130px; opacity:.7; }
.zh-404-help,.zh-404-posts { margin-top:clamp(38px,6vw,70px); }
.zh-404-section-head { display:flex; align-items:center; gap:9px; margin-bottom:16px; }
.zh-404-section-head > span { display:grid; place-items:center; width:36px; height:36px; border-radius:12px; color:var(--zh404-accent); background:color-mix(in srgb,var(--zh404-accent) 8%,var(--zh-surface)); }
.zh-404-section-head h2 { margin:0; font-size:1.08rem; font-weight:900; }
.zh-404-quick-grid,.zh-404-post-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.zh-404-quick,.zh-404-post { min-width:0; text-decoration:none; color:inherit; background:color-mix(in srgb,var(--zh-surface) 88%,transparent); border:1px solid color-mix(in srgb,var(--zh404-accent) 10%,var(--zh-line)); border-radius:20px; transition:.2s ease; }
.zh-404-quick { min-height:86px; padding:14px 16px; display:flex; align-items:center; gap:12px; }
.zh-404-quick-icon { width:46px; height:46px; flex:0 0 auto; display:grid; place-items:center; border-radius:15px; color:var(--zh404-accent); background:color-mix(in srgb,var(--zh404-accent) 9%,var(--zh-surface)); }
.zh-404-quick strong { flex:1; font-size:.9rem; } .zh-404-quick-arrow { color:var(--zh-ink-3); }
.zh-404-post { padding:18px; display:flex; flex-direction:column; gap:8px; min-height:128px; }
.zh-404-post-date { color:var(--zh-ink-3); font-size:.72rem; } .zh-404-post strong { font-size:.92rem; line-height:1.65; } .zh-404-post-more { margin-top:auto; display:flex; align-items:center; gap:5px; color:var(--zh404-accent); font-size:.76rem; font-weight:800; }
@media (hover:hover) and (pointer:fine) { .zh-404-quick:hover,.zh-404-post:hover { transform:translateY(-3px); border-color:color-mix(in srgb,var(--zh404-accent) 34%,var(--zh-line)); box-shadow:0 18px 38px -32px #000; } }
/* 404 variants */
.zh-404-glass .zh-404-shell { padding:clamp(22px,4vw,42px); border:1px solid color-mix(in srgb,var(--zh404-accent) 15%,var(--zh-line)); border-radius:34px; background:color-mix(in srgb,var(--zh-surface) 74%,transparent); box-shadow:0 35px 80px -60px #000; backdrop-filter:blur(18px); }
.zh-404-split::before { opacity:.2; } .zh-404-split .zh-404-number { font-size:clamp(4.8rem,10vw,8.4rem); } .zh-404-split .zh-404-image-wrap { border-radius:28px; transform:none; }
.zh-404-minimal { background:var(--zh404-bg); } .zh-404-minimal::before,.zh-404-minimal .zh-404-orb { display:none; } .zh-404-minimal .zh-404-shell { grid-template-columns:1fr; max-width:860px; text-align:center; min-height:440px; } .zh-404-minimal .zh-404-content { margin-inline:auto; } .zh-404-minimal .zh-404-visual { display:none; } .zh-404-minimal .zh-404-search,.zh-404-minimal .zh-404-path { margin-inline:auto; } .zh-404-minimal .zh-404-actions { justify-content:center; }
.zh-404-modern.has-motion .zh-404-core { animation:zh404Float 5s ease-in-out infinite; } .zh-404-modern.has-motion .zh-404-node.node-a { animation:zh404Float 4.5s .2s ease-in-out infinite; } .zh-404-modern.has-motion .zh-404-node.node-b { animation:zh404Float 5.2s .7s ease-in-out infinite; } .zh-404-modern.has-motion .zh-404-node.node-c { animation:zh404Float 4.8s 1s ease-in-out infinite; } .zh-404-modern.has-motion .zh-404-node.node-d { animation:zh404Float 5.5s .4s ease-in-out infinite; }
@keyframes zh404Float { 0%,100% { translate:0 0; } 50% { translate:0 -10px; } }
@media (max-width:900px) { .zh-404-shell { grid-template-columns:1fr; min-height:0; } .zh-404-visual { min-height:330px; order:-1; } .zh-404-ai-illustration { max-width:340px; } .zh-404-core { width:104px; height:104px; border-radius:29px; } .zh-404-quick-grid,.zh-404-post-grid { grid-template-columns:1fr; } }
@media (max-width:600px) { .zh-404-modern { padding-top:30px; } .zh-404-visual { min-height:270px; } .zh-404-ai-illustration { max-width:280px; } .zh-404-number { margin-top:16px; } .zh-404-search { display:grid; grid-template-columns:34px minmax(0,1fr); border-radius:16px; } .zh-404-search .zh-btn { grid-column:1/-1; width:100%; justify-content:center; } .zh-404-actions { display:grid; grid-template-columns:1fr; } .zh-404-actions .zh-btn { width:100%; justify-content:center; } .zh-404-path { max-width:100%; } }
@media (prefers-reduced-motion:reduce) { .zh-404-modern.has-motion .zh-404-core,.zh-404-modern.has-motion .zh-404-node { animation:none!important; } .zh-404-quick,.zh-404-post { transition:none; } }
.zh-builder-content > .elementor { width: 100%; }

/* ---------------------------------------------------------------- WooCommerce */
.zh-shop .woocommerce form .form-row input.input-text,
.zh-shop .woocommerce form .form-row textarea,
.zh-shop .woocommerce form .form-row select,
.zh-shop .select2-container .select2-selection--single { border: 1px solid var(--zh-line); border-radius: var(--zh-r-md); min-height: 44px; padding: 8px 12px; background: var(--zh-surface); }
.zh-shop .woocommerce button.button, .zh-shop .woocommerce a.button, .zh-shop .woocommerce #respond input#submit,
.woocommerce #payment #place_order { background: var(--zh-brand) !important; color: #fff !important; border-radius: 999px !important; padding: 12px 24px !important; font-weight: 700 !important; font-family: var(--zh-font) !important; }
.zh-shop .woocommerce table.shop_table { border-radius: var(--zh-r-md); border-color: var(--zh-line); }
.zh-shop .woocommerce-info, .zh-shop .woocommerce-message { border-top-color: var(--zh-brand); background: var(--zh-mist); color: var(--zh-ink); }
.zh-shop .woocommerce-info::before, .zh-shop .woocommerce-message::before { color: var(--zh-brand); }
.zh-thankyou { background: color-mix(in srgb, var(--zh-coin) 14%, transparent); border: 1px solid var(--zh-coin); border-radius: var(--zh-r-lg); padding: 18px 22px; margin: 0 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.zh-thankyou p { margin: 0; font-weight: 800; }
.woocommerce, .woocommerce-page { font-family: var(--zh-font); }

/* ========================================================================== 
   Zhino 1.1 — modern header, footer and generated core pages
   ========================================================================== */
.zh-topbar { background: linear-gradient(90deg, color-mix(in srgb, var(--zh-brand) 88%, #14112c), var(--zh-brand)); color: #fff; font-size: var(--zh-fs-xs); }
.zh-topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.zh-topbar-inner > span, .zh-topbar a { display: inline-flex; align-items: center; gap: 7px; }
.zh-topbar a { color: #fff; text-decoration: none; font-weight: 800; opacity: .92; }
.zh-topbar a:hover { opacity: 1; }
.zh-header { box-shadow: 0 10px 30px -30px rgba(22,19,58,.6); }
.zh-header-inner { min-height: 76px; }
.zh-wordmark > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.zh-wordmark small { display: block; margin-top: 4px; color: var(--zh-ink-3); font-size: .62rem; font-weight: 600; letter-spacing: -.01em; }
.zh-menu { align-items: center; }
.zh-menu > li { position: relative; }
.zh-menu .menu-item-has-children > a { display: flex; align-items: center; gap: 5px; }
.zh-menu .sub-menu { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; width: 220px; padding: 8px; margin: 0; list-style: none; border: 1px solid var(--zh-line); border-radius: 16px; background: color-mix(in srgb, var(--zh-surface) 96%, transparent); box-shadow: var(--zh-shadow); z-index: 50; }
.zh-menu li:hover > .sub-menu, .zh-menu li:focus-within > .sub-menu { display: block; }
.zh-menu .sub-menu a { padding: 10px 12px; }
.zh-account-menu { position: relative; }
.zh-account-trigger { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 4px 8px 4px 12px; border: 1px solid var(--zh-line); border-radius: 999px; background: var(--zh-surface); color: var(--zh-ink); cursor: pointer; }
.zh-account-trigger:hover { border-color: color-mix(in srgb, var(--zh-brand) 45%, var(--zh-line)); background: var(--zh-mist); }
.zh-account-avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--zh-brand), color-mix(in srgb, var(--zh-brand) 60%, #8a66ff)); font-weight: 900; }
.zh-account-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--zh-fs-sm); font-weight: 700; }
.zh-account-dropdown { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: 220px; padding: 8px; border: 1px solid var(--zh-line); border-radius: 16px; background: var(--zh-surface); box-shadow: var(--zh-shadow); z-index: 55; }
.zh-account-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--zh-ink-2); font-size: var(--zh-fs-sm); font-weight: 700; }
.zh-account-dropdown a:hover { color: var(--zh-ink); background: var(--zh-mist); }
.zh-account-sep { display: block; height: 1px; margin: 5px 4px; background: var(--zh-line); }

.zh-footer { position: relative; overflow: hidden; padding: 64px 0 22px; border-top: 1px solid var(--zh-line); background: color-mix(in srgb, var(--zh-surface) 82%, var(--zh-mist)); }
.zh-footer-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; inset-inline-end: -180px; top: -220px; background: radial-gradient(circle, color-mix(in srgb, var(--zh-brand) 14%, transparent), transparent 68%); pointer-events: none; }
.zh-footer-grid { position: relative; display: grid; grid-template-columns: 1.55fr .85fr .9fr 1.05fr; gap: 48px; align-items: start; }
.zh-footer-brand { max-width: none; }
.zh-footer-brand > p { max-width: 42ch; margin: 18px 0; color: var(--zh-ink-2); }
.zh-footer-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.zh-footer-col h3 { margin: 5px 0 16px; font-size: var(--zh-fs-md); color: var(--zh-ink); }
.zh-footer-menu { display: flex; flex-direction: column; gap: 9px; }
.zh-footer-menu li { margin: 0; }
.zh-footer-menu a { position: relative; display: inline-flex; align-items: center; color: var(--zh-ink-2); }
.zh-footer-menu a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--zh-line); margin-inline-end: 8px; transition: background .15s, transform .15s; }
.zh-footer-menu a:hover::before { background: var(--zh-brand); transform: scale(1.25); }
.zh-socials { display: flex; gap: 8px; }
.zh-socials a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid var(--zh-line); border-radius: 999px; background: var(--zh-surface); font-size: var(--zh-fs-xs); font-weight: 800; }
.zh-footer-support > p { margin: 0 0 14px; color: var(--zh-ink-3); font-size: var(--zh-fs-sm); }
.zh-support-line { display: flex; align-items: center; gap: 9px; margin: 8px 0; color: var(--zh-ink-2) !important; font-weight: 700; }
.zh-trust { margin-top: 16px; }
.zh-trust img { max-width: 90px; max-height: 90px; object-fit: contain; }
.zh-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 20px; }
.zh-footer-secure { display: inline-flex; align-items: center; gap: 7px; }

.zh-page-intro { max-width: 760px; margin-bottom: 34px; padding: 28px; border: 1px solid var(--zh-line); border-radius: var(--zh-r-lg); background: linear-gradient(135deg, var(--zh-surface), var(--zh-mist)); }
.zh-page-intro h2 { margin-top: 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.zh-page-intro p { margin: 0; color: var(--zh-ink-2); }
.zh-page-kicker { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--zh-brand-soft); color: var(--zh-brand-ink); font-size: var(--zh-fs-xs); font-weight: 800; }
.zh-page-cards, .zh-contact-grid { max-width: none !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 8px; }
.zh-contact-grid { grid-template-columns: repeat(2, 1fr); }
.zh-page-card { padding: 22px; border: 1px solid var(--zh-line); border-radius: var(--zh-r-lg); background: var(--zh-surface); }
.zh-page-card strong { display: block; margin-bottom: 8px; color: var(--zh-ink); font-size: var(--zh-fs-lg); }
.zh-page-card p { margin: 0; color: var(--zh-ink-2); font-size: var(--zh-fs-sm); }
.zh-legal-note { max-width: 70ch; margin-bottom: 28px; padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--zh-coin) 55%, var(--zh-line)); border-radius: var(--zh-r-md); background: color-mix(in srgb, var(--zh-coin) 10%, var(--zh-surface)); color: var(--zh-ink-2); }

@media (max-width: 980px) {
	.zh-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
	.zh-footer-support { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.zh-menu .sub-menu { position: static; width: auto; border: 0; box-shadow: none; padding: 0 12px 6px; background: transparent; display: block; }
	.zh-menu .sub-menu a { font-size: var(--zh-fs-sm); }
}
@media (max-width: 700px) {
	.zh-brand .zh-site-logo { width: min(var(--zh-site-logo-mobile-width, 145px), 38vw); max-height: 42px; }
	.zh-topbar-inner { justify-content: space-between; }
	.zh-topbar-inner > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.zh-wordmark small { display: none; }
	.zh-footer { padding-top: 48px; }
	.zh-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
	.zh-footer-brand { grid-column: 1 / -1; }
	.zh-footer-support { grid-column: 1 / -1; }
	.zh-footer-bottom { align-items: flex-start; flex-direction: column; }
	.zh-page-cards, .zh-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
	.zh-topbar { display: none; }
	.zh-header-inner { min-height: 68px; }
	.zh-header-actions { gap: 4px; }
	.zh-header-actions > .zh-btn-primary { min-height: 38px; padding-inline: 13px; }
	.zh-account-trigger { padding-inline: 4px; }
	.zh-footer-grid { grid-template-columns: 1fr; }
	.zh-footer-col, .zh-footer-support { grid-column: auto; }
}

/* AI shortcode guest/blocked state */
.zh-ai-gate {
	width: min(680px, calc(100% - 32px)); margin: 38px auto; padding: clamp(28px, 5vw, 52px);
	text-align: center; border: 1px solid var(--zh-line); border-radius: var(--zh-r-lg);
	background: linear-gradient(145deg, var(--zh-surface), color-mix(in srgb, var(--zh-brand) 6%, var(--zh-surface)));
	box-shadow: var(--zh-shadow);
}
.zh-ai-gate-icon { width: 58px; height: 58px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 18px; background: var(--zh-brand-soft); color: var(--zh-brand-ink); }
.zh-ai-gate h3 { margin: 0 0 8px; font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem); }
.zh-ai-gate p { max-width: 48ch; margin: 0 auto 22px; color: var(--zh-ink-2); }

/* =============================================================
 * Identity verification / KYC
 * ============================================================= */
.zh-kyc-shell{width:min(1040px,100% - 32px);margin:36px auto 64px;display:flex;flex-direction:column;gap:18px}
.zh-kyc-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:26px;border:1px solid var(--zh-line);border-radius:calc(var(--zh-r-lg) + 4px);background:linear-gradient(135deg,color-mix(in srgb,var(--zh-brand) 10%,var(--zh-surface)),var(--zh-surface));box-shadow:var(--zh-shadow)}
.zh-kyc-hero:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;inset:-150px auto auto -80px;background:color-mix(in srgb,var(--zh-brand) 10%,transparent);pointer-events:none}
.zh-kyc-hero-icon{position:relative;z-index:1;width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:var(--zh-brand);color:#fff;box-shadow:0 14px 35px color-mix(in srgb,var(--zh-brand) 28%,transparent)}
.zh-kyc-kicker{display:block;margin-bottom:3px;color:var(--zh-brand-ink);font-size:var(--zh-fs-xs);font-weight:850}
.zh-kyc-hero h1{margin:0;color:var(--zh-ink);font-size:clamp(1.4rem,3vw,2rem)}
.zh-kyc-hero p{max-width:720px;margin:6px 0 0;color:var(--zh-ink-2);line-height:1.9}
.zh-kyc-badge,.zh-mini-status,.zh-kyc-current-status{display:inline-flex;align-items:center;justify-content:center;width:max-content;border-radius:999px;font-weight:800}
.zh-kyc-badge{padding:8px 12px;font-size:var(--zh-fs-xs);white-space:nowrap}
.zh-kyc-badge.is-none,.zh-mini-status.is-none{background:var(--zh-bg);color:var(--zh-ink-2)}
.zh-kyc-badge.is-pending,.zh-mini-status.is-pending,.zh-kyc-current-status.is-pending{background:#fff5d6;color:#8b6500}
.zh-kyc-badge.is-approved,.zh-mini-status.is-approved,.zh-kyc-current-status.is-approved{background:#e5f9ee;color:#147746}
.zh-kyc-badge.is-rejected,.zh-mini-status.is-rejected,.zh-kyc-current-status.is-rejected{background:#fee9e8;color:#b52e2a}
.zh-kyc-badge.is-changes,.zh-mini-status.is-changes,.zh-kyc-current-status.is-changes{background:#fff0df;color:#9b5600}
.zh-kyc-security-note,.zh-kyc-review-note{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border-radius:16px;border:1px solid var(--zh-line);background:var(--zh-surface);color:var(--zh-ink-2);font-size:var(--zh-fs-sm)}
.zh-kyc-review-note{display:block;border-color:color-mix(in srgb,#e88b25 30%,var(--zh-line));background:color-mix(in srgb,#e88b25 7%,var(--zh-surface))}
.zh-kyc-review-note p{margin:5px 0 0;line-height:1.85}
.zh-kyc-form{padding:24px;border:1px solid var(--zh-line);border-radius:var(--zh-r-lg);background:var(--zh-surface);box-shadow:0 14px 42px rgba(20,18,50,.05)}
.zh-kyc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.zh-kyc-field{min-width:0;display:flex;flex-direction:column;gap:7px}
.zh-kyc-field.is-wide{grid-column:1/-1}
.zh-kyc-field>label:first-child{font-size:var(--zh-fs-sm);font-weight:800;color:var(--zh-ink)}
.zh-required{margin-inline-start:4px;color:var(--zh-danger)}
.zh-kyc-help{color:var(--zh-ink-3);font-size:var(--zh-fs-xs);line-height:1.7}
.zh-kyc-error{min-height:17px;color:var(--zh-danger);font-size:var(--zh-fs-xs)}
.zh-kyc-options{display:flex;flex-wrap:wrap;gap:8px}
.zh-kyc-options label{cursor:pointer}
.zh-kyc-options input{position:absolute;opacity:0}
.zh-kyc-options span{display:inline-flex;padding:9px 13px;border:1px solid var(--zh-line);border-radius:12px;background:var(--zh-bg);font-size:var(--zh-fs-sm);font-weight:700}
.zh-kyc-options input:checked+span{border-color:var(--zh-brand);background:var(--zh-brand-soft);color:var(--zh-brand-ink)}
.zh-kyc-check{display:flex!important;align-items:center;gap:9px;padding:11px 12px;border:1px solid var(--zh-line);border-radius:13px;background:var(--zh-bg);font-weight:700!important;cursor:pointer}
.zh-kyc-check input{width:18px;height:18px;accent-color:var(--zh-brand)}
.zh-kyc-upload{position:relative;min-height:132px;display:flex!important;align-items:center!important;justify-content:center;flex-direction:column;gap:5px;padding:20px;border:1.5px dashed color-mix(in srgb,var(--zh-brand) 35%,var(--zh-line));border-radius:18px;background:color-mix(in srgb,var(--zh-brand) 3%,var(--zh-bg));cursor:pointer;text-align:center;transition:.2s ease}
.zh-kyc-upload:hover,.zh-kyc-upload.has-file{border-color:var(--zh-brand);background:var(--zh-brand-soft)}
.zh-kyc-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.zh-kyc-upload-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--zh-surface);color:var(--zh-brand-ink);box-shadow:0 8px 22px rgba(20,18,50,.08)}
.zh-kyc-upload strong{color:var(--zh-ink)}.zh-kyc-upload small{color:var(--zh-ink-3)}
.zh-kyc-submit-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;padding-top:20px;border-top:1px solid var(--zh-line)}
.zh-kyc-submit-row p{margin:0;color:var(--zh-ink-3);font-size:var(--zh-fs-xs)}
.zh-kyc-message{margin-top:14px;padding:12px 14px;border-radius:12px;font-weight:700;font-size:var(--zh-fs-sm)}
.zh-kyc-message.is-success{background:#e5f9ee;color:#147746}.zh-kyc-message.is-error{background:#fee9e8;color:#b52e2a}
.zh-kyc-state{padding:30px;border:1px solid var(--zh-line);border-radius:var(--zh-r-lg);background:var(--zh-surface);text-align:center}.zh-kyc-state h2{margin:0 0 7px}.zh-kyc-state p{margin:0;color:var(--zh-ink-2);line-height:1.9}
.zh-kyc-gate{min-height:320px}
@media(max-width:700px){.zh-kyc-shell{width:min(100% - 20px,1040px);margin-top:18px}.zh-kyc-hero{grid-template-columns:auto 1fr;padding:20px}.zh-kyc-badge{grid-column:1/-1}.zh-kyc-grid{grid-template-columns:1fr}.zh-kyc-field.is-wide{grid-column:auto}.zh-kyc-form{padding:16px}.zh-kyc-submit-row{align-items:stretch;flex-direction:column}.zh-kyc-submit-row .zh-btn{justify-content:center;width:100%}}

/* Zhino 2.4.0 — richer desktop dropdown / automatic mega menu */
@media (min-width: 901px) {
	.zh-menu > li.zh-menu-mega { position: static; }
	.zh-header-inner { position: relative; }
	.zh-menu > li.zh-menu-mega > .sub-menu {
		inset-inline-start: auto;
		inset-inline-end: 0;
		width: min(680px, calc(100vw - 48px));
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		padding: 14px;
		border-radius: 22px;
		box-shadow: 0 28px 70px -45px rgba(17,16,42,.68);
		backdrop-filter: blur(20px);
	}
	.zh-menu > li.zh-menu-mega:hover > .sub-menu,
	.zh-menu > li.zh-menu-mega:focus-within > .sub-menu { display: grid; }
	.zh-menu > li.zh-menu-mega > .sub-menu > li > a {
		position: relative;
		min-height: 54px;
		display: flex;
		align-items: center;
		padding: 11px 14px;
		border: 1px solid transparent;
		border-radius: 14px;
		background: color-mix(in srgb, var(--zh-mist) 58%, transparent);
		font-size: var(--zh-fs-sm);
	}
	.zh-menu > li.zh-menu-mega > .sub-menu > li > a::before {
		content: "";
		width: 8px;
		height: 8px;
		margin-inline-end: 10px;
		border-radius: 50%;
		background: var(--zh-brand);
		box-shadow: 0 0 0 5px color-mix(in srgb, var(--zh-brand) 10%, transparent);
	}
	.zh-menu > li.zh-menu-mega > .sub-menu > li > a:hover {
		border-color: color-mix(in srgb, var(--zh-brand) 24%, var(--zh-line));
		background: color-mix(in srgb, var(--zh-brand) 7%, var(--zh-surface));
	}
}
@media (min-width: 901px) {
	.zh-menu > li.zh-menu-mega > .sub-menu > li.menu-item-has-children > a {
		min-height: 42px;
		padding: 8px 10px;
		background: transparent;
		border-color: transparent;
		color: var(--zh-ink);
		font-weight: 900;
	}
	.zh-menu > li.zh-menu-mega > .sub-menu > li.menu-item-has-children > a::before { display: none; }
	.zh-menu > li.zh-menu-mega > .sub-menu > li > .sub-menu {
		position: static;
		display: block;
		width: auto;
		margin: 0;
		padding: 2px 6px 6px;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}
	.zh-menu > li.zh-menu-mega > .sub-menu > li > .sub-menu a {
		min-height: 38px;
		padding: 7px 10px;
		border: 0;
		border-radius: 10px;
		background: transparent;
		color: var(--zh-ink-2);
		font-size: .78rem;
		font-weight: 700;
	}
	.zh-menu > li.zh-menu-mega > .sub-menu > li > .sub-menu a::before {
		content: "";
		width: 5px;
		height: 5px;
		margin-inline-end: 8px;
		border-radius: 50%;
		background: color-mix(in srgb, var(--zh-brand) 72%, var(--zh-ink-3));
	}
	.zh-menu > li.zh-menu-mega > .sub-menu > li > .sub-menu a:hover {
		background: color-mix(in srgb, var(--zh-brand) 6%, var(--zh-mist));
		color: var(--zh-ink);
	}
}

/* ===================================================== One-step coin payment */
.zh-pay { min-height: calc(100vh - 160px); display: grid; place-items: start center; padding: 40px 16px 80px; background: radial-gradient(700px 360px at 50% -80px, color-mix(in srgb, var(--zh-brand) 14%, transparent), transparent 70%); }
.zh-pay-card { width: min(100%, 520px); padding: clamp(20px, 4vw, 32px); border: 1px solid var(--zh-line); border-radius: calc(var(--zh-r-lg) + 6px); background: var(--zh-surface); box-shadow: 0 40px 90px -50px color-mix(in srgb, var(--zh-brand) 60%, transparent); }
.zh-pay-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; color: var(--zh-ink-3); font-size: var(--zh-fs-xs); font-weight: 700; text-decoration: none; }
.zh-pay-back:hover { color: var(--zh-brand-ink); }
.zh-pay-head { margin-bottom: 18px; }
.zh-pay-secure { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--zh-ok) 12%, transparent); color: var(--zh-ok); font-size: var(--zh-fs-xs); font-weight: 800; }
.zh-pay-head h1 { margin: 10px 0 0; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); font-weight: 900; }
.zh-pay-summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px; border-radius: var(--zh-r-lg); background: linear-gradient(150deg, color-mix(in srgb, var(--zh-coin) 14%, var(--zh-surface)), var(--zh-mist)); border: 1px solid color-mix(in srgb, var(--zh-coin) 30%, var(--zh-line)); }
.zh-pay-orb { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 45%), linear-gradient(135deg, var(--zh-coin), color-mix(in srgb, var(--zh-coin) 60%, #c2410c)); box-shadow: 0 14px 30px -12px var(--zh-coin); }
.zh-pay-pack small { display: block; color: var(--zh-ink-2); font-size: var(--zh-fs-xs); font-weight: 700; }
.zh-pay-pack p { margin: 0; color: var(--zh-coin-ink); font-weight: 800; }
.zh-pay-pack b { font-size: 1.7rem; font-weight: 900; line-height: 1.3; }
.zh-pay-price { display: grid; justify-items: end; text-align: end; line-height: 1.6; }
.zh-pay-price strong { font-size: 1.05rem; font-weight: 900; color: var(--zh-ink); white-space: nowrap; }
.zh-pay-price del { color: var(--zh-ink-3); font-size: var(--zh-fs-xs); }
.zh-pay-price small { color: var(--zh-ink-3); font-size: 11.5px; }
.zh-pay-account { display: flex; align-items: center; gap: 8px; margin: 14px 2px 0; color: var(--zh-ink-2); font-size: var(--zh-fs-sm); }
.zh-pay-account bdi { margin-inline-start: 6px; color: var(--zh-ink-3); }
.zh-pay-notices:not(:empty) { margin-top: 16px; }
.zh-pay-notices .woocommerce-error, .zh-pay-notices .woocommerce-message, .zh-pay-notices .woocommerce-info { list-style: none; margin: 0 0 8px; padding: 12px 14px; border-radius: var(--zh-r-md); border: 1px solid color-mix(in srgb, var(--zh-danger) 35%, transparent); background: color-mix(in srgb, var(--zh-danger) 8%, var(--zh-surface)); color: var(--zh-danger); font-weight: 700; font-size: var(--zh-fs-sm); }
.zh-pay-notices .woocommerce-message, .zh-pay-notices .woocommerce-info { border-color: var(--zh-line); background: var(--zh-mist); color: var(--zh-ink); }
.zh-pay-notices [role="alert"] li, .zh-pay-notices ul { margin: 0; padding: 0; list-style: none; }
.zh-pay-form { margin-top: 20px; }
.zh-pay-gateways { margin: 0 0 18px; padding: 0; border: 0; display: grid; gap: 10px; }
.zh-pay-gateways legend { margin-bottom: 10px; padding: 0; font-weight: 800; font-size: var(--zh-fs-sm); }
.zh-pay-gateway { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--zh-line); border-radius: var(--zh-r-md); background: var(--zh-surface); cursor: pointer; transition: border-color .15s, background .15s; }
.zh-pay-gateway:hover { border-color: color-mix(in srgb, var(--zh-brand) 50%, var(--zh-line)); }
.zh-pay-gateway input { position: absolute; opacity: 0; pointer-events: none; }
.zh-pay-gateway-check { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--zh-line); transition: border-color .15s, box-shadow .15s; }
.zh-pay-gateway:has(input:checked) { border-color: var(--zh-brand); background: var(--zh-brand-soft); }
.zh-pay-gateway input:checked + .zh-pay-gateway-check { border-color: var(--zh-brand); box-shadow: inset 0 0 0 4px var(--zh-surface), inset 0 0 0 10px var(--zh-brand); }
.zh-pay-gateway input:focus-visible + .zh-pay-gateway-check { outline: 2px solid var(--zh-brand); outline-offset: 2px; }
.zh-pay-gateway-text { display: grid; flex: 1; min-width: 0; line-height: 1.7; }
.zh-pay-gateway-text b { font-weight: 800; }
.zh-pay-gateway-text small { color: var(--zh-ink-3); font-size: var(--zh-fs-xs); }
.zh-pay-gateway-icon img { max-height: 32px; width: auto; display: block; }
.zh-pay-gateways.is-single .zh-pay-gateway-check { display: none; }
.zh-pay-gateway-fields { display: none; padding: 4px 6px 6px; }
.zh-pay-gateway:has(input:checked) + .zh-pay-gateway-fields { display: block; }
.zh-pay-submit { width: 100%; min-height: 56px; font-size: 1.05rem; box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--zh-brand) 90%, transparent); }
.zh-pay-terms { margin: 10px 0 0; text-align: center; color: var(--zh-ink-3); font-size: var(--zh-fs-xs); }
.zh-pay-empty { margin-top: 18px; padding: 16px; border: 1px dashed var(--zh-line); border-radius: var(--zh-r-md); color: var(--zh-ink-2); }
.zh-pay-promise { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--zh-line); display: grid; gap: 8px; color: var(--zh-ink-2); font-size: var(--zh-fs-xs); }
.zh-pay-promise li { display: flex; align-items: center; gap: 8px; }
.zh-pay-promise .zi { color: var(--zh-ok); }
@media (max-width: 420px) {
	.zh-pay { padding-top: 20px; }
	.zh-pay-summary { grid-template-columns: auto 1fr; }
	.zh-pay-price { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; justify-items: start; gap: 8px; align-items: baseline; padding-top: 10px; border-top: 1px dashed color-mix(in srgb, var(--zh-coin) 40%, var(--zh-line)); }
	.zh-pay-price small { justify-self: end; }
}

/* Coin receipt on the order-received page */
.zh-coin-receipt .zh-article-head { display: none; }
.zh-receipt { max-width: 520px; margin: 0 auto; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--zh-line); border-radius: calc(var(--zh-r-lg) + 6px); background: var(--zh-surface); text-align: center; box-shadow: 0 40px 90px -50px color-mix(in srgb, var(--zh-brand) 60%, transparent); }
.zh-receipt-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; color: #fff; background: var(--zh-ok); box-shadow: 0 0 0 10px color-mix(in srgb, var(--zh-ok) 14%, transparent); }
.zh-receipt.is-failed .zh-receipt-icon { background: var(--zh-danger); box-shadow: 0 0 0 10px color-mix(in srgb, var(--zh-danger) 14%, transparent); }
.zh-receipt.is-pending .zh-receipt-icon { background: var(--zh-coin); box-shadow: 0 0 0 10px color-mix(in srgb, var(--zh-coin) 18%, transparent); }
.zh-receipt h2 { margin: 6px 0 6px; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); font-weight: 900; }
.zh-receipt > p { margin: 0 auto; max-width: 42ch; color: var(--zh-ink-2); }
.zh-receipt-rows { margin: 20px 0 0; padding: 14px 16px; border-radius: var(--zh-r-md); background: var(--zh-mist); display: grid; gap: 8px; text-align: start; }
.zh-receipt-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--zh-fs-sm); }
.zh-receipt-rows dt { color: var(--zh-ink-3); }
.zh-receipt-rows dd { margin: 0; font-weight: 800; }
.zh-receipt-gateway:not(:empty) { margin-top: 12px; color: var(--zh-ink-2); font-size: var(--zh-fs-sm); }
.zh-receipt-gateway > :empty { display: none; }
.zh-receipt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.zh-receipt-actions .zh-btn { flex: 1 1 180px; }
.zh-pay-notices [class^="woocommerce-"]::before, .zh-pay-notices [class*=" woocommerce-"]::before { display: none; }
.zh-pay-notices .woocommerce-error, .zh-pay-notices .woocommerce-message, .zh-pay-notices .woocommerce-info { padding-inline: 14px; }
