/**
 * Heyou theme styles.
 *
 * Only what theme.json and block attributes cannot express: layout of
 * sections, component shapes, decorative mockups and responsive rules.
 * Mobile-first. Breakpoints: 720px (tablet) and 1024px (desktop).
 */

/* ─── Tokens ─────────────────────────────────────────────────────────────── */

body {
	--hy-radius: 14px;
	--hy-radius-card: 18px;
	--hy-wa: #15944c;
	--hy-ig: #c72a6c;
	--hy-ms: #0a6fe0;
	--hy-wa-out: #ddf4e4;
	--hy-chat-bg: #f2efe9;
	--hy-warn-bg: #fdefd8;
	--hy-warn-ink: #8a4508;
	--hy-header-h: 64px;
	-webkit-font-smoothing: antialiased;
}

@media (min-width: 720px) {
	body {
		--wp--style--root--padding-right: var(--wp--preset--spacing--container-lg);
		--wp--style--root--padding-left: var(--wp--preset--spacing--container-lg);
	}
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

:where(.wp-site-blocks) :where(figure) {
	margin: 0;
}

html {
	scroll-padding-top: calc(var(--hy-header-h) + 16px);
}

/* ─── Icons ──────────────────────────────────────────────────────────────── */

.hy-icon {
	width: 20px;
	height: 20px;
	flex: none;
	fill: none;
	stroke: currentcolor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hy-tile {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--wp--preset--color--light-accent);
	color: var(--wp--preset--color--primary);
}

.hy-tile--white {
	background: var(--wp--preset--color--base);
}

.hy-tile--wa {
	background: #e3f4ea;
	color: var(--hy-wa);
}

.hy-tile--ig {
	background: #fbe6ef;
	color: var(--hy-ig);
}

.hy-tile--ms {
	background: #e3eefc;
	color: var(--hy-ms);
}

/* ─── Sections and shared layout ─────────────────────────────────────────── */

.hy-section {
	padding-block: var(--wp--preset--spacing--section);
}

.hy-section--compact {
	padding-block: var(--wp--preset--spacing--12);
}

.hy-section--flush-top {
	padding-block-start: 0;
}

.hy-section > * + *,
.hy-main > * + * {
	margin-block-start: var(--wp--preset--spacing--8);
}

.hy-stack {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--5);
}

.hy-stack > * {
	margin-block: 0;
}

.hy-split {
	gap: var(--wp--preset--spacing--10) var(--wp--preset--spacing--16);
}

.hy-split > .wp-block-column {
	min-width: 0;
}

.hy-head {
	gap: var(--wp--preset--spacing--3);
	max-width: 720px;
	margin-inline: auto;
	margin-block-end: var(--wp--preset--spacing--10);
	text-align: center;
}

.hy-head > * {
	margin: 0;
}

.hy-section-head {
	gap: var(--wp--preset--spacing--4);
}

.hy-section-head h2,
.hy-section-head p {
	margin: 0;
}

.hy-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	text-transform: uppercase;
}

.hy-eyebrow--nfc::before {
	width: 18px;
	height: 18px;
	background: currentcolor;
	content: "";
	mask: url("../images/icon-nfc.svg") center / contain no-repeat;
}

.hy-lead {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--md);
}

.hy-night .hy-lead {
	color: var(--wp--preset--color--dark-muted);
}

.hy-caption {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
}

/* ─── Pills, badges and checks ───────────────────────────────────────────── */

.hy-pill {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--light-accent);
	color: #4b2fa6;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	line-height: 1.3;
}

.hy-pill--dot::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--success);
	content: "";
}

.hy-pill--night {
	border: 1px solid var(--wp--preset--color--dark-border);
	background: var(--wp--preset--color--dark-surface);
	color: #e7e2f7;
}

.hy-pill--soft {
	color: var(--wp--preset--color--dark-muted);
}

.hy-pills {
	gap: 8px;
}

.hy-badge {
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.hy-badge--warn {
	background: var(--hy-warn-bg);
	color: var(--hy-warn-ink);
}

.wp-block-list.is-style-checks {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.is-style-checks > li {
	position: relative;
	padding-inline-start: 30px;
}

.is-style-checks > li::before {
	position: absolute;
	top: 0.2em;
	left: 0;
	width: 20px;
	height: 20px;
	background: var(--wp--preset--color--success);
	content: "";
	mask: url("../images/icon-check.svg") center / contain no-repeat;
}

.wp-block-list.hy-inline-checks,
.wp-block-list.hy-trust__list {
	flex-flow: row wrap;
	column-gap: var(--wp--preset--spacing--6);
}

.hy-inline-checks {
	font-size: var(--wp--preset--font-size--sm);
}

.hy-inline-checks > li::before {
	background: var(--wp--preset--color--primary);
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */

.hy-card {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--hy-radius-card);
	background: var(--wp--preset--color--base);
	box-shadow: var(--wp--preset--shadow--sm);
}

.hy-card > * {
	margin: 0;
}

.hy-feature {
	gap: 12px;
	padding: 22px;
}

.hy-use {
	gap: 10px;
	padding: 20px;
}

.hy-grid-3,
.hy-uses {
	gap: 16px;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	white-space: nowrap;
}

.btn-sm .wp-block-button__link {
	min-height: 40px;
	padding: 0 14px;
	border-radius: 10px;
	font-size: var(--wp--preset--font-size--sm);
}

.btn-lg .wp-block-button__link {
	min-height: 54px;
	padding-inline: 26px;
	font-size: var(--wp--preset--font-size--base);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1.5px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--base);
	box-shadow: none;
	color: var(--wp--preset--color--contrast);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

.wp-block-button.is-style-light .wp-block-button__link {
	background: var(--wp--preset--color--base);
	box-shadow: none;
	color: var(--wp--preset--color--contrast);
}

.wp-block-button.is-style-on-dark .wp-block-button__link {
	border: 1.5px solid rgb(255 255 255 / 35%);
	background: transparent;
	box-shadow: none;
	color: var(--wp--preset--color--base);
}

.btn-chat .wp-block-button__link::before {
	width: 20px;
	height: 20px;
	background: currentcolor;
	content: "";
	mask: url("../images/icon-chat.svg") center / contain no-repeat;
}

.wp-block-buttons {
	gap: 10px;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	z-index: 100;
	top: 0;
}

.site-header {
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: rgb(255 255 255 / 92%);
	backdrop-filter: saturate(1.4) blur(10px);
}

.admin-bar .wp-site-blocks > header.wp-block-template-part {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part {
		top: 46px;
	}
}

.site-header__inner {
	position: relative;
	gap: 12px;
	min-height: var(--hy-header-h);
}

.site-header__logo {
	display: flex;
	align-items: center;
	min-height: 44px;
}

.site-header .site-header__inner > .site-header__logo {
	margin-inline-end: auto;
}

.site-header__logo img {
	width: auto;
	height: 32px;
}

.site-header__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
}

.site-header__icon:hover {
	background: var(--wp--preset--color--light);
	color: var(--wp--preset--color--contrast);
}

.site-header__actions {
	flex-wrap: nowrap;
	gap: 8px;
}

.site-header .site-header__bot {
	display: none;
}

/* Main menu: collapsed panel on mobile, inline row on desktop. */
.site-header nav.nav-principal {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	padding: var(--wp--preset--spacing--4);
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--base);
	box-shadow: var(--wp--preset--shadow--lg);
}

.site-header.is-open nav.nav-principal {
	display: block;
}

.nav-principal ul,
.hy-menu {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-principal a {
	display: block;
	padding: 10px;
	border-radius: 8px;
	color: var(--wp--preset--color--contrast-soft);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 500;
	text-decoration: none;
}

.nav-principal a:hover,
.nav-principal .current-menu-item:not(.menu-item-type-custom) > a {
	color: var(--wp--preset--color--contrast);
	font-weight: 600;
}

@media (max-width: 359px) {
	.site-header .site-header__actions {
		display: none;
	}
}

@media (min-width: 1024px) {
	.site-header nav.nav-principal {
		display: block;
		position: static;
		margin-inline-end: auto;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	.site-header .site-header__inner > .site-header__logo {
		margin-inline-end: var(--wp--preset--spacing--6);
	}

	.site-header .site-header__inner > .nav-principal {
		margin-inline-end: auto;
	}

	.nav-principal ul,
	.nav-principal .hy-menu {
		flex-direction: row;
	}

	.nav-principal a {
		padding: 8px 10px;
	}

	.site-header .site-header__bot {
		display: block;
	}

	.site-header__toggle {
		display: none;
	}
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
	padding-block: 56px 28px;
}

.site-footer > * + * {
	margin-block-start: var(--wp--preset--spacing--10);
}

.site-footer__cols {
	gap: 28px;
}

.site-footer__brand,
.site-footer__col {
	gap: 12px;
}

.site-footer__brand > *,
.site-footer__col > * {
	margin: 0;
}

.site-footer__logo {
	width: auto;
	height: 36px;
}

.site-footer__title {
	color: #9e99b6;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	text-transform: uppercase;
}

.site-footer a {
	color: #d8d3ea;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--wp--preset--color--base);
}

.site-footer .wp-block-navigation,
.site-footer .hy-menu {
	gap: 8px;
	font-size: var(--wp--preset--font-size--sm);
}

.site-footer__social {
	display: flex;
	gap: 8px;
}

.site-footer__social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--wp--preset--color--dark-border);
	border-radius: 12px;
}

.site-footer__bottom {
	gap: 14px;
	padding-top: 22px;
	border-top: 1px solid var(--wp--preset--color--dark-border);
	color: #9e99b6;
}

.site-footer__bottom > * {
	margin: 0;
}

.site-footer__bottom .hy-menu,
.site-footer__bottom .wp-block-navigation__container {
	flex-flow: row wrap;
	gap: 18px;
}

@media (min-width: 1024px) {
	.site-footer__brand {
		grid-column: span 2;
	}
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hy-hero {
	padding-block: var(--wp--preset--spacing--8) var(--wp--preset--spacing--12);
	background: var(--wp--preset--gradient--hero-glow), var(--wp--preset--color--base);
}

.hy-hero h1 {
	margin: 0;
}

.hy-hero .hy-split > .wp-block-column:first-child {
	flex-grow: 1.4;
}

.hy-hero__mock {
	position: relative;
	display: flex;
	justify-content: center;
}

.hy-channels {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hy-ch {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast-soft);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 500;
}

.hy-ch::before {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	content: "";
}

.hy-ch--wa::before {
	background: var(--hy-wa);
}

.hy-ch--ig::before {
	background: var(--hy-ig);
}

.hy-ch--ms::before {
	background: var(--hy-ms);
}

.hy-toast {
	position: absolute;
	bottom: 70px;
	left: max(0px, calc(50% - 230px));
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
	background: var(--wp--preset--color--base);
	box-shadow: var(--wp--preset--shadow--lg);
}

.hy-toast__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #e3f1ea;
	color: var(--wp--preset--color--success);
}

.hy-toast__text,
.hy-chat__who,
.hy-omni__bot > span,
.hy-inbox__msg {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.25;
}

.hy-toast__text b {
	font-size: 13.5px;
}

.hy-toast__text span,
.hy-chat__who span {
	color: var(--wp--preset--color--muted);
	font-size: 12.5px;
}

/* ─── Trust strip ────────────────────────────────────────────────────────── */

.hy-trust {
	padding-block: 28px;
	border-block: 1px solid var(--wp--preset--color--border);
}

.hy-trust > * + * {
	margin-block-start: var(--wp--preset--spacing--4);
}

.hy-trust__list {
	justify-content: center;
	color: var(--wp--preset--color--contrast-soft);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 500;
}

.hy-logos {
	gap: 12px;
}

.hy-logo-ph {
	display: grid;
	place-items: center;
	min-width: 140px;
	height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 1.5px dashed #cfcadc;
	border-radius: 10px;
	color: #7c788d;
	font-size: 12.5px;
	font-weight: 600;
}

/* ─── Phone and chat mockups ─────────────────────────────────────────────── */

.hy-phone {
	width: 300px;
	max-width: 100%;
	margin: 0 auto;
	padding: 10px;
	border-radius: 40px;
	background: #111018;
	box-shadow: var(--wp--preset--shadow--lg);
	color: var(--wp--preset--color--contrast);
}

.hy-phone--wide {
	width: 320px;
}

.hy-phone__screen {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 31px;
	background: var(--hy-chat-bg);
}

.hy-chat__top {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 14px 12px;
	border-bottom: 1px solid #e8e4dc;
	background: var(--wp--preset--color--base);
	font-size: 14px;
}

.hy-chat__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #1f6f78;
	color: var(--wp--preset--color--base);
	font-size: 13px;
	font-weight: 700;
}

.hy-chat__body {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 14px 10px;
	font-size: 13.5px;
	line-height: 1.4;
}

.hy-msg {
	max-width: 84%;
	padding: 8px 11px;
	border-radius: 12px;
	box-shadow: 0 1px 0 rgb(0 0 0 / 6%);
}

.hy-msg--in {
	align-self: flex-start;
	border-top-left-radius: 4px;
	background: var(--wp--preset--color--base);
}

.hy-msg--out {
	align-self: flex-end;
	border-top-right-radius: 4px;
	background: var(--hy-wa-out);
}

.hy-msg__meta {
	display: block;
	margin-top: 3px;
	color: #76727f;
	font-size: 10.5px;
	text-align: right;
}

.hy-msg__system {
	align-self: center;
	padding: 4px 10px;
	border-radius: 8px;
	background: #fff6dc;
	color: #6b4e0e;
	font-size: 11.5px;
}

.hy-msg__buttons {
	display: flex;
	flex-direction: column;
	align-self: flex-start;
	gap: 4px;
	width: 84%;
}

.hy-msg__buttons span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	border-radius: 10px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 1px 0 rgb(0 0 0 / 6%);
	color: #1b6fc2;
	font-size: 13px;
	font-weight: 600;
}

.hy-cart {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-top: 6px;
	font-size: 12.5px;
}

.hy-cart__row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.hy-cart__total {
	margin-top: 3px;
	padding-top: 5px;
	border-top: 1px solid #eee;
	font-weight: 700;
}

.hy-chat__compose {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px 12px;
}

.hy-chat__input {
	display: flex;
	flex: 1;
	align-items: center;
	height: 38px;
	padding: 0 14px;
	border-radius: 19px;
	background: var(--wp--preset--color--base);
	color: #8c8796;
	font-size: 13px;
}

.hy-chat__send {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--hy-wa);
	color: var(--wp--preset--color--base);
}

.hy-chat__send .hy-icon {
	width: 16px;
	height: 16px;
}

/* ─── Omnichannel diagram ────────────────────────────────────────────────── */

.hy-omni {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.hy-omni__channels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
	max-width: 420px;
}

.hy-omni__channel {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--hy-radius-card);
	background: var(--wp--preset--color--base);
	box-shadow: var(--wp--preset--shadow--sm);
	font-weight: 600;
}

.hy-omni__channel .hy-tile {
	width: 38px;
	height: 38px;
}

.hy-omni__arrow {
	width: 2px;
	height: 26px;
	background: var(--wp--preset--color--light-accent-border);
}

.hy-omni__bot {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	border-radius: 16px;
	background: var(--wp--preset--color--dark);
	box-shadow: var(--wp--preset--shadow--lg);
	color: var(--wp--preset--color--base);
}

.hy-omni__bot span span {
	color: var(--wp--preset--color--dark-muted);
	font-size: 13px;
}

.hy-inbox {
	width: 100%;
	max-width: 420px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--hy-radius-card);
	background: var(--wp--preset--color--base);
	box-shadow: var(--wp--preset--shadow--sm);
	font-size: 14px;
}

.hy-inbox__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.hy-inbox ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hy-inbox li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.hy-inbox li:last-child {
	border-bottom: 0;
}

.hy-inbox__msg {
	flex: 1;
}

.hy-inbox__msg span {
	overflow: hidden;
	color: var(--wp--preset--color--muted);
	font-size: 12.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hy-inbox__state {
	color: var(--wp--preset--color--primary);
	font-size: 12.5px;
	font-weight: 600;
}

.hy-inbox__state--warn {
	color: var(--hy-warn-ink);
}

.hy-dot {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
}

.hy-dot--wa {
	background: var(--hy-wa);
}

.hy-dot--ig {
	background: var(--hy-ig);
}

.hy-dot--ms {
	background: var(--hy-ms);
}

/* ─── Steps ──────────────────────────────────────────────────────────────── */

.hy-steps {
	position: relative;
	gap: 20px;
	counter-reset: hy-step;
}

.hy-step {
	position: relative;
	gap: 6px;
	counter-increment: hy-step;
}

.hy-step > * {
	margin: 0;
}

.hy-step::before {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 6px var(--wp--preset--color--light-accent);
	color: var(--wp--preset--color--base);
	content: counter(hy-step);
	font-weight: 700;
}

@media (min-width: 1024px) {
	.hy-steps:not(.hy-steps--row)::before {
		position: absolute;
		top: 20px;
		right: 20px;
		left: 20px;
		height: 2px;
		background: var(--wp--preset--color--light-accent-border);
		content: "";
	}
}

/* ─── Orders (dark section) ──────────────────────────────────────────────── */

.hy-night h2,
.hy-night h3 {
	color: var(--wp--preset--color--base);
}

.hy-flow {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: hy-flow;
}

.hy-flow li {
	position: relative;
	padding: 4px 0 22px 52px;
	font-size: var(--wp--preset--font-size--sm);
	counter-increment: hy-flow;
}

.hy-flow li::before {
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1.5px solid #6e58c9;
	border-radius: 50%;
	background: var(--wp--preset--color--dark-surface);
	color: #e3dbff;
	content: counter(hy-flow);
	font-size: 14px;
	font-weight: 700;
}

.hy-flow li:not(:last-child)::after {
	position: absolute;
	top: 38px;
	bottom: 0;
	left: 17px;
	width: 2px;
	background: linear-gradient(#6e58c9, #3a3360);
	content: "";
}

.hy-flow strong {
	display: block;
	margin-bottom: 4px;
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 600;
}

.hy-keys {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hy-keys li {
	position: relative;
	padding: 16px 16px 16px 46px;
	border: 1px solid var(--wp--preset--color--dark-border);
	border-radius: 14px;
	background: var(--wp--preset--color--dark-surface);
	font-size: var(--wp--preset--font-size--sm);
}

.hy-keys li::before {
	position: absolute;
	top: 18px;
	left: 16px;
	width: 18px;
	height: 18px;
	background: #c9b9fa;
	content: "";
	mask: url("../images/icon-check.svg") center / contain no-repeat;
}

.hy-keys strong {
	color: var(--wp--preset--color--base);
}

.hy-split--top {
	align-items: flex-start;
}

@media (min-width: 720px) {
	.hy-keys {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ─── Web chat mockup ────────────────────────────────────────────────────── */

.hy-browser {
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	background: var(--wp--preset--color--base);
	box-shadow: var(--wp--preset--shadow--lg);
}

.hy-browser__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 12px;
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: #f3f2f6;
}

.hy-browser__bar i {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #d7d4de;
}

.hy-browser__url {
	display: flex;
	flex: 1;
	align-items: center;
	height: 22px;
	margin-left: 10px;
	padding: 0 10px;
	border-radius: 6px;
	background: var(--wp--preset--color--base);
	color: #7c788d;
	font-size: 11.5px;
}

.hy-browser__page {
	position: relative;
	height: 380px;
	padding: 24px;
	background: #fafafb;
}

.hy-browser__lines {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 60%;
}

.hy-browser__lines span {
	height: 10px;
	border-radius: 5px;
	background: #e9e7ee;
}

.hy-browser__lines span:nth-child(1) {
	width: 40%;
	height: 14px;
}

.hy-browser__lines span:nth-child(2),
.hy-browser__lines span:nth-child(3) {
	height: 26px;
	background: #dedbe6;
}

.hy-browser__lines span:nth-child(2) {
	width: 90%;
}

.hy-browser__lines span:nth-child(3) {
	width: 70%;
}

.hy-browser__lines span:nth-child(4) {
	width: 85%;
}

.hy-browser__lines span:nth-child(5) {
	width: 60%;
}

.hy-browser__lines span:nth-child(6) {
	width: 120px;
	height: 36px;
	margin-top: 8px;
	border-radius: 8px;
	background: #d2cedc;
}

.hy-widget {
	position: absolute;
	right: 18px;
	bottom: 84px;
	width: 250px;
	max-width: calc(100% - 36px);
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	background: var(--wp--preset--color--base);
	box-shadow: var(--wp--preset--shadow--lg);
}

.hy-widget__head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 12px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-size: 13px;
	line-height: 1.2;
}

.hy-widget__head > span:last-child {
	display: flex;
	flex-direction: column;
}

.hy-widget__head > span:last-child span {
	font-size: 11px;
	opacity: 0.9;
}

.hy-widget__head .hy-chat__avatar {
	width: 28px;
	height: 28px;
	background: rgb(255 255 255 / 20%);
	font-size: 11px;
}

.hy-widget__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px;
	background: #f7f7f9;
	font-size: 12.5px;
	line-height: 1.4;
}

.hy-widget__in,
.hy-widget__out {
	max-width: 88%;
	padding: 7px 9px;
}

.hy-widget__in {
	align-self: flex-start;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px 12px 12px 4px;
	background: var(--wp--preset--color--base);
}

.hy-widget__out {
	align-self: flex-end;
	border-radius: 12px 12px 4px 12px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

.hy-widget__fab {
	position: absolute;
	right: 18px;
	bottom: 18px;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	box-shadow: 0 10px 22px -8px rgb(106 76 196 / 80%);
	color: var(--wp--preset--color--base);
}

.hy-media-item {
	gap: 14px;
}

.hy-media-item .wp-block-group {
	gap: 2px;
}

.hy-media-item h3,
.hy-media-item p {
	margin: 0;
}

/* Image column goes after the text on mobile. */
@media (max-width: 781px) {
	.hy-split--reverse {
		flex-direction: column-reverse;
	}
}

/* ─── NFC ────────────────────────────────────────────────────────────────── */

.hy-note-qr {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hy-nfc {
	position: relative;
	min-height: 340px;
}

.hy-nfc__card {
	position: absolute;
	top: 110px;
	left: calc(50% - 170px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 220px;
	height: 138px;
	padding: 16px;
	border-radius: 14px;
	background: linear-gradient(135deg, #1c1a29, #3b2f66);
	box-shadow: var(--wp--preset--shadow--lg);
	color: var(--wp--preset--color--base);
	transform: rotate(-8deg);
}

.hy-nfc__card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.hy-nfc__card-top img {
	width: auto;
	height: 18px;
}

.hy-nfc__card-text {
	display: flex;
	flex-direction: column;
	font-size: 15px;
	line-height: 1.3;
}

.hy-nfc__card-text span {
	font-size: 11.5px;
	opacity: 0.8;
}

.hy-phone--mini {
	position: relative;
	width: 190px;
	margin: 0 0 0 auto;
	padding: 7px;
	border-radius: 30px;
	transform: rotate(6deg);
}

.hy-phone--mini .hy-phone__screen {
	border-radius: 24px;
}

.hy-phone--mini .hy-chat__top {
	padding: 10px;
	font-size: 12px;
}

.hy-phone--mini .hy-chat__avatar {
	width: 26px;
	height: 26px;
	font-size: 10px;
}

.hy-phone--mini .hy-chat__body {
	padding: 10px 8px;
	font-size: 11.5px;
}

.hy-phone--mini .hy-msg__buttons {
	width: 90%;
}

.hy-phone--mini .hy-msg__buttons span {
	height: 28px;
	font-size: 11.5px;
}

.hy-nfc__waves {
	position: absolute;
	top: 70px;
	left: calc(50% - 10px);
	width: 70px;
	height: 70px;
	border: 2px solid rgb(106 76 196 / 35%);
	border-radius: 50%;
	box-shadow: 0 0 0 12px rgb(106 76 196 / 10%), 0 0 0 26px rgb(106 76 196 / 6%);
}

@media (min-width: 480px) {
	.hy-phone--mini {
		margin-right: calc(50% - 200px);
	}
}

.hy-nfc__uses-title {
	margin-block-start: var(--wp--preset--spacing--12);
}

.hy-nfc__uses-title + .hy-uses {
	margin-block-start: var(--wp--preset--spacing--4);
}

/* ─── Pricing ────────────────────────────────────────────────────────────── */

.hy-plans {
	align-items: stretch;
	gap: 16px;
}

.hy-plan {
	position: relative;
	gap: 18px;
	padding: 26px;
}

.hy-plan > * {
	width: 100%;
}

.hy-plan--hot {
	border: 2px solid var(--wp--preset--color--primary);
	box-shadow: 0 24px 50px -24px rgb(106 76 196 / 45%);
}

.hy-plan__badge {
	position: absolute;
	top: -15px;
	left: 24px;
	width: auto;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
}

.hy-plan .wp-block-heading + p {
	margin-top: -12px;
}

.hy-price {
	margin: 0;
	color: var(--wp--preset--color--muted);
}

.hy-price strong {
	color: var(--wp--preset--color--contrast);
	font-size: 2.125rem;
	line-height: 1;
}

.hy-price--sm strong {
	font-size: 1.625rem;
}

.hy-addon {
	gap: 16px 24px;
	padding: 22px 24px;
	border-color: var(--wp--preset--color--light-accent-border);
}

.hy-addon__text {
	flex: 1 1 220px;
	gap: 2px;
}

.hy-addon__text > * {
	margin: 0;
}

.hy-compare-title {
	margin-block-start: var(--wp--preset--spacing--12);
}

.hy-compare {
	overflow-x: auto;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
}

.hy-compare table {
	min-width: 640px;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--sm);
}

.hy-compare th,
.hy-compare td {
	padding: 13px 14px;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	text-align: center;
}

.hy-compare thead {
	border: 0;
}

.hy-compare th:first-child,
.hy-compare td:first-child {
	text-align: left;
}

.hy-compare thead th {
	background: var(--wp--preset--color--light);
	font-weight: 600;
}

.hy-compare tbody tr:last-child td {
	border-bottom: 0;
}

.hy-compare td em {
	color: #a19db1;
	font-style: normal;
}

.hy-compare td strong {
	color: var(--wp--preset--color--success);
	font-weight: 600;
}

/* ─── Products (home, shop, related) ─────────────────────────────────────── */

.hy-products .wc-block-product-template,
.hy-product-grid {
	gap: 16px;
}

@media (max-width: 1023px) {
	.hy-products .wc-block-product-template.wc-block-product-template__responsive {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	}
}

.hy-product {
	gap: 0;
	height: 100%;
	overflow: hidden;
}

.hy-product__image {
	margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--light);
}

.hy-product__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}

.hy-product__body {
	flex: 1;
	gap: 8px;
	width: 100%;
	padding: 18px;
}

.hy-product__body > * {
	margin: 0;
}

.hy-product__title {
	font-size: 1.0625rem;
	font-weight: 600;
}

.hy-product__title a {
	color: inherit;
	text-decoration: none;
}

.hy-product__foot {
	gap: 10px;
	width: 100%;
	margin-top: auto;
	padding-top: 10px;
}

.hy-product__foot > * {
	margin: 0;
}

.hy-product__price {
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 700;
}

.hy-product__button .wp-block-button__link,
.hy-product__button .wc-block-components-product-button__button {
	min-height: 40px;
	padding: 0 14px;
	border-radius: 10px;
	font-size: var(--wp--preset--font-size--sm);
}

.hy-link-arrow a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	text-decoration: none;
}

.hy-link-arrow a::after {
	content: "→";
}

/* ─── Shop and product page ──────────────────────────────────────────────── */

.hy-main {
	margin-block-start: 0;
}

.hy-shop-hero {
	padding-block: 28px 32px;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.hy-shop-hero .hy-stack {
	gap: 14px;
}

.hy-shop-hero__title {
	max-width: 760px;
}

.hy-breadcrumbs {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--xs);
}

.hy-breadcrumbs a {
	color: var(--wp--preset--color--muted);
}

.hy-shop-toolbar {
	gap: 12px;
	font-size: var(--wp--preset--font-size--sm);
}

.hy-shop-toolbar > * {
	margin: 0;
}

.hy-product-gallery .woocommerce-product-gallery {
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 20px;
	background: var(--wp--preset--color--light);
}

.hy-product-summary__price {
	font-size: 1.875rem;
	font-weight: 700;
}

.hy-add-to-cart form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
}

.hy-add-to-cart .quantity input.qty {
	width: 90px;
	height: 54px;
	border: 1.5px solid #d8d4e3;
	border-radius: 12px;
	font: inherit;
	font-weight: 700;
	text-align: center;
}

.hy-add-to-cart .single_add_to_cart_button {
	flex: 1;
	min-width: 200px;
	min-height: 54px;
}

.hy-note-card {
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--wp--preset--color--light-accent);
	color: #3e2a8c;
	font-size: var(--wp--preset--font-size--sm);
}

.hy-product-trust {
	padding-top: 18px;
	border-top: 1px solid var(--wp--preset--color--border);
	font-size: var(--wp--preset--font-size--sm);
}

.hy-product-trust > li::before {
	background: var(--wp--preset--color--primary);
}

.hy-product-details {
	margin-block-start: var(--wp--preset--spacing--16);
}

.hy-related {
	margin-block-start: var(--wp--preset--spacing--16);
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.hy-faq {
	gap: 10px;
	max-width: 820px;
	margin-inline: auto;
}

.hy-faq__item {
	width: 100%;
	margin: 0;
	overflow: hidden;
}

.hy-faq__item summary {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 18px 20px;
	font-size: 1.03rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.hy-faq__item summary::-webkit-details-marker {
	display: none;
}

.hy-faq__item summary::after {
	flex: none;
	width: 20px;
	height: 20px;
	margin-left: auto;
	background: currentcolor;
	content: "";
	mask: url("../images/icon-chevron.svg") center / contain no-repeat;
	transition: transform 0.2s ease;
}

.hy-faq__item[open] summary::after {
	transform: rotate(180deg);
}

.hy-faq__item summary:focus-visible {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: -3px;
}

.hy-faq__item > p {
	margin: 0;
	padding: 0 20px 20px;
	font-size: var(--wp--preset--font-size--sm);
}

/* ─── CTA and demo form ──────────────────────────────────────────────────── */

.hy-cta {
	gap: 32px 56px;
	padding: 40px 24px;
	border-radius: 28px;
}

.hy-cta__text {
	color: #e3dcfa;
}

.hy-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px;
	border-radius: 20px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.hy-form__grid {
	display: grid;
	gap: 14px;
}

.hy-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.hy-form__field label {
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
}

.hy-form__field input {
	width: 100%;
	height: 50px;
	padding: 0 14px;
	border: 1.5px solid #d8d4e3;
	border-radius: 12px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font: inherit;
}

.hy-form__field input:focus {
	border-color: var(--wp--preset--color--primary);
	outline: 3px solid var(--wp--preset--color--light-accent);
}

.hy-form__submit {
	width: 100%;
	min-height: 54px;
	border: 0;
	cursor: pointer;
}

.hy-form__legal {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--xs);
}

@media (min-width: 720px) {
	.hy-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hy-cta {
		padding: 56px;
	}
}
