/* =========================================================================
   SIYOU · header.css — sticky bar, primary nav, mega menus (产品 / 解决方案),
   small dropdowns, login, language switcher pill, CTA, mobile drawer.
   Markup: patterns/header.php. Behaviour: assets/js/navigation.js.

   Breakpoints: desktop nav ≥ 1180 (zh) / ≥ 1280 (it, en and other long
   languages); "tight" (icon-only login + language) below 1280 (zh) /
   1440 (long languages). navigation.js adds .sy-header--tight and
   .sy-header--compact when the bar still overflows (font fallback, new
   languages), so labels never collide.
   ========================================================================= */

/* The template-part wrapper is the sticky element (it is a direct child of .wp-site-blocks). */
.sy-site-header,
.wp-site-blocks > :where(header, div):has(> .sy-header) {
	position: sticky;
	top: 0;
	z-index: 60;
}

body.admin-bar .sy-site-header,
body.admin-bar .wp-site-blocks > :where(header, div):has(> .sy-header) {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	body.admin-bar .sy-site-header,
	body.admin-bar .wp-site-blocks > :where(header, div):has(> .sy-header) {
		top: 0;
	}
}

.sy-header {
	--sy-nav-d: flex;
	--sy-login-d: inline-flex;
	--sy-lang-d: block;
	--sy-burger-d: none;
	--sy-bar-h: var(--wp--custom--header--height, 76px);
	position: relative;
	color: var(--sy-ink);
	font-family: var(--sy-font);
}

/* Translucent bar background on a pseudo-element: backdrop-filter on .sy-header itself would trap the
   fixed drawer inside it. */
.sy-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, .92);
	border-bottom: 1px solid transparent;
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	transition: border-color var(--sy-base) ease, background-color var(--sy-base) ease;
}

.sy-header.is-scrolled::before,
.sy-header.is-menu-open::before {
	border-bottom-color: var(--sy-line);
}

.sy-header.is-menu-open::before {
	background: #FFFFFF;
}

.sy-header :where(.is-layout-flow) > *,
.sy-header :where(.wp-block-group) {
	margin-block: 0;
}

.sy-header p {
	margin: 0;
}

.sy-header ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sy-header__bar {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--sy-bar-h);
}

/* The bar keeps one height when scrolled. The sticky header is in the page flow, so shrinking it moved the content,
   scroll anchoring pulled the page back above the .is-scrolled threshold and the header grew again: the page
   bounced on its own near the top. The scrolled state is shown by the bottom border only (see ::before). */

/* ---------- brand ---------- */
.sy-brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--sy-ink);
	text-decoration: none;
	border-radius: 10px;
}

.sy-brand__mark {
	display: block;
	width: 40px;
	height: auto;
}

.sy-brand__word {
	font-size: 23px;
	font-weight: 800;
	font-stretch: 125%;
	line-height: 1;
	letter-spacing: .01em;
}

.sy-brand:hover {
	color: var(--sy-ink);
}

/* ---------- primary nav ---------- */
.sy-nav {
	display: var(--sy-nav-d);
	flex: 1 1 auto;
	min-width: 0;
}

.sy-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
}

.sy-nav__item--dropdown {
	position: relative;
}

.sy-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	height: 40px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--sy-r-pill);
	background: none;
	color: var(--sy-ink);
	font: 600 15px/1 var(--sy-font);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--sy-fast) ease, color var(--sy-fast) ease;
}

.sy-nav__link:hover {
	background: rgba(22, 19, 20, .06);
	color: var(--sy-ink);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 6px;
}

.sy-nav__link[aria-current="page"] {
	color: var(--sy-red);
}

.sy-nav__link[aria-expanded="true"] {
	background: var(--sy-ink);
	color: #FFFFFF;
	text-decoration: none;
}

.sy-nav__link .sy-svg--chev,
.sy-chev {
	width: 16px;
	height: 16px;
	stroke-width: 2;
	transition: transform var(--sy-base) var(--sy-ease);
}

[aria-expanded="true"] > .sy-svg--chev {
	transform: rotate(180deg);
}

@media (max-width: 1279px) {
	.sy-nav__link {
		padding: 0 9px;
		font-size: 14.5px;
	}

	.sy-header__bar {
		gap: 16px;
	}
}

/* ---------- mega panels ---------- */
.sy-mega {
	position: absolute;
	z-index: 2;
	top: 100%;
	left: 0;
	right: 0;
	padding: 36px 0 40px;
	background: #FFFFFF;
	border-top: 1px solid var(--sy-line);
	border-radius: 0 0 32px 32px;
	box-shadow: var(--sy-shadow-menu);
	color: var(--sy-text);
	animation: sy-menu-in var(--sy-slow) var(--sy-ease);
}

.sy-mega[hidden],
.sy-dropdown[hidden] {
	display: none;
}

@keyframes sy-menu-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
}

.sy-mega__inner {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
	gap: 40px;
	align-items: stretch;
}

.sy-mega--solutions .sy-mega__inner {
	grid-template-columns: minmax(0, 3fr) minmax(0, 3.6fr) minmax(0, 2.9fr) minmax(0, 2.5fr);
	gap: 32px;
}

.sy-mega__intro {
	display: flex;
	flex-direction: column;
	padding-right: 24px;
	border-right: 1px solid var(--sy-line);
}

.sy-mega__intro .sy-eyebrow {
	margin-bottom: 12px;
}

.sy-mega__title {
	margin: 0 0 12px !important;
	color: var(--sy-ink);
	font-size: 28px;
	font-weight: 800;
	font-stretch: var(--sy-stretch-head);
	line-height: 1.22;
	letter-spacing: -.01em;
	text-wrap: balance;
}

html:not(:lang(zh)) .sy-mega__title {
	font-size: 25px;
}

.sy-mega__text {
	color: var(--sy-muted);
	font-size: 15px;
	line-height: 1.7;
}

.sy-mega__links {
	display: grid;
	gap: 6px;
	margin-top: auto !important;
	padding-top: 24px !important;
	font-size: 15px;
}

.sy-mega__links .sy-link-arrow {
	min-height: 32px;
}

/* Products: three groups (经营软件 / 交易与增长 / 支付与设备), label column + two items. */
.sy-mega__groups {
	display: grid;
	align-content: start;
	gap: 14px;
}

.sy-mega__group {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
}

.sy-mega__group + .sy-mega__group {
	padding-top: 14px;
	border-top: 1px dashed var(--sy-line);
}

.sy-mega__group-label {
	padding-top: 14px;
	color: var(--sy-muted);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: .04em;
}

.sy-mega__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 12px;
}

.sy-mega__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px;
	border-radius: 16px;
	color: var(--sy-text);
	text-decoration: none;
	transition: background-color var(--sy-fast) ease;
}

.sy-mega__item:hover {
	background: var(--sy-red-50);
	color: var(--sy-text);
}

.sy-mega__item:hover .sy-ico-tile {
	background: var(--sy-red);
	color: #FFFFFF;
}

.sy-mega__item-text {
	display: block;
	min-width: 0;
}

.sy-mega__item-name {
	display: block;
	color: var(--sy-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.sy-mega__item-desc {
	display: block;
	margin-top: 2px;
	color: var(--sy-muted);
	font-size: 14px;
	line-height: 1.55;
}

/* Solutions: industries (two columns, red dots) and scale mini-cards. */
.sy-mega__col .sy-mega__group-label {
	margin-bottom: 10px !important;
	padding-top: 2px;
}

.sy-mega__dots {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px 12px;
}

.sy-mega__dots a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 6px 10px;
	margin-left: -10px;
	border-radius: 12px;
	color: var(--sy-ink);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
}

.sy-mega__dots a::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sy-red);
}

.sy-mega__dots a:hover {
	background: var(--sy-red-50);
	color: var(--sy-red);
}

.sy-mega__scale {
	display: grid;
	gap: 8px;
}

.sy-mega__scale a {
	display: block;
	padding: 12px 14px;
	border: 1px solid var(--sy-line);
	border-radius: 16px;
	color: var(--sy-text);
	text-decoration: none;
	transition: border-color var(--sy-fast) ease, background-color var(--sy-fast) ease;
}

.sy-mega__scale a:hover {
	border-color: var(--sy-red);
	background: var(--sy-red-50);
}

.sy-mega__scale strong {
	display: block;
	color: var(--sy-ink);
	font-size: 16px;
	line-height: 1.4;
}

.sy-mega__scale span {
	display: block;
	color: var(--sy-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* Help card (night, r-md) with the mascot peeking inside the padding (never clipped). */
.sy-mega__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-height: 100%;
	padding: 28px 28px 26px;
	border-radius: var(--sy-r-md);
	background: radial-gradient(80% 60% at 100% 100%, rgba(185, 10, 17, .32), rgba(185, 10, 17, 0) 70%), var(--sy-night);
	color: var(--sy-on-night);
}

.sy-mega__card-title {
	color: #FFFFFF;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.3;
	text-wrap: balance;
}

.sy-mega__card-text {
	margin-bottom: auto !important;
	padding-bottom: 18px;
	color: var(--sy-on-night-muted);
	font-size: 14.5px;
	line-height: 1.7;
}

.sy-mega__card .sy-btn {
	position: relative;
	z-index: 1;
}

.sy-mega__card-mark {
	position: absolute;
	right: 16px;
	bottom: 18px;
	width: 76px;
	height: auto;
	transform: rotate(-8deg);
	pointer-events: none;
}

.sy-mega--solutions .sy-mega__card {
	padding: 24px 22px 22px;
}

/* Narrow help card: the mascot sits above the button so they never overlap (any language). */
.sy-mega__card {
	container: sy-help / inline-size;
}

@container sy-help (max-width: 236px) {
	.sy-mega__card-mark {
		right: 8px;
		bottom: 76px;
		width: 60px;
	}

	.sy-mega__card .sy-btn {
		align-self: stretch;
	}
}

/* Page dim behind an open mega panel (click closes). */
.sy-backdrop {
	position: fixed;
	inset: 0;
	z-index: -2;
	background: rgba(21, 16, 17, .35);
	animation: sy-fade-in var(--sy-slow) ease;
}

.sy-backdrop[hidden] {
	display: none;
}

@keyframes sy-fade-in {
	from {
		opacity: 0;
	}
}

/* ---------- small dropdowns (资源 / 关于SIYOU) ---------- */
.sy-dropdown {
	position: absolute;
	z-index: 3;
	top: calc(100% + 12px);
	left: 0;
	min-width: 240px;
	padding: 8px;
	background: #FFFFFF;
	border-radius: 18px;
	box-shadow: var(--sy-shadow-menu), 0 0 0 1px rgba(40, 12, 10, .05);
	animation: sy-menu-in var(--sy-slow) var(--sy-ease);
}

.sy-dropdown a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 14px;
	border-radius: 12px;
	color: var(--sy-ink);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.sy-dropdown a:hover {
	background: var(--sy-red-50);
	color: var(--sy-red);
}

/* ---------- right-hand actions ---------- */
.sy-header__actions {
	display: flex;
	flex: none;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.sy-login {
	display: var(--sy-login-d);
	align-items: center;
	gap: 6px;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	justify-content: center;
	border-radius: var(--sy-r-pill);
	color: var(--sy-ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.sy-login:hover {
	background: rgba(22, 19, 20, .06);
	color: var(--sy-ink);
}

.sy-login .sy-svg {
	width: 19px;
	height: 19px;
}

.sy-header__cta {
	flex: none;
}

/* Language switcher (xlml/language-switcher, dropdown layout) as a pill. */
.sy-header .sy-lang {
	display: var(--sy-lang-d);
	flex: none;
	font-size: 14px;
	line-height: 1;
}

.sy-lang .xlml-switcher__details {
	position: relative;
}

.sy-lang .xlml-switcher__current {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 0 12px 0 11px;
	border: 1px solid var(--sy-line-strong);
	border-radius: var(--sy-r-pill);
	color: var(--sy-ink);
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color var(--sy-fast) ease;
}

.sy-lang .xlml-switcher__current:hover,
.sy-lang .xlml-switcher__details[open] > .xlml-switcher__current {
	border-color: var(--sy-ink);
}

.sy-lang .xlml-switcher__current:focus-visible {
	outline: 3px solid var(--sy-focus);
	outline-offset: 3px;
}

.sy-lang .xlml-switcher__current::before,
.sy-lang .xlml-switcher__current::after {
	content: "";
	flex: none;
	background: currentColor;
}

.sy-lang .xlml-switcher__current::before {
	width: 17px;
	height: 17px;
	-webkit-mask: url("../icons/globe.svg") center / contain no-repeat;
	mask: url("../icons/globe.svg") center / contain no-repeat;
}

.sy-lang .xlml-switcher__current::after {
	width: 15px;
	height: 15px;
	-webkit-mask: url("../icons/chev.svg") center / contain no-repeat;
	mask: url("../icons/chev.svg") center / contain no-repeat;
	transition: transform var(--sy-base) var(--sy-ease);
}

.sy-lang .xlml-switcher__details[open] > .xlml-switcher__current::after {
	transform: rotate(180deg);
}

.sy-lang .xlml-switcher__caret {
	display: none;
}

.sy-lang.xlml-switcher--dropdown .xlml-switcher__list {
	inset-inline-start: auto;
	inset-inline-end: 0;
	top: calc(100% + 10px);
	min-inline-size: 180px;
	margin: 0;
	padding: 8px;
	background: #FFFFFF;
	border: 0;
	border-radius: 18px;
	box-shadow: var(--sy-shadow-menu), 0 0 0 1px rgba(40, 12, 10, .05);
	color: var(--sy-ink);
}

.sy-lang.xlml-switcher--dropdown .xlml-switcher__link {
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 8px 14px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 500;
}

.sy-lang.xlml-switcher--dropdown .xlml-switcher__link:hover,
.sy-lang.xlml-switcher--dropdown .xlml-switcher__link:focus-visible {
	background: var(--sy-red-50);
	color: var(--sy-red);
}

.sy-lang .xlml-switcher__item.is-current > .xlml-switcher__link {
	font-weight: 700;
}

.sy-lang .xlml-switcher__item.is-current > .xlml-switcher__link::after {
	content: "";
	width: 16px;
	height: 16px;
	background: var(--sy-red);
	-webkit-mask: url("../icons/check.svg") center / contain no-repeat;
	mask: url("../icons/check.svg") center / contain no-repeat;
}

.sy-lang .xlml-switcher__link:hover .xlml-switcher__label {
	text-decoration: none;
}

/* ---------- hamburger ---------- */
.sy-burger {
	display: var(--sy-burger-d);
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--sy-ink);
	color: #FFFFFF;
	cursor: pointer;
}

.sy-burger:hover {
	background: #000000;
	color: #FFFFFF;
}

.sy-burger .sy-svg {
	width: 20px;
	height: 20px;
}

/* ---------- tight: icon-only language (then login) ----------
   With JS, navigation.js measures the bar and adds .sy-header--tight (language label hidden), then
   .sy-header--tighter (login label hidden), then .sy-header--compact (hamburger).
   Without JS the media queries below apply the same steps at fixed widths. */
.sy-header--tight .sy-lang .xlml-switcher__current .xlml-switcher__label,
.sy-header--tighter .sy-header__actions .sy-login__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.sy-header--tighter .sy-login,
.sy-header--tight .sy-lang .xlml-switcher__current {
	padding-inline: 12px;
}

@media (max-width: 1279px) {
	html:not(.sy-js) .sy-header__actions .sy-login__label,
	html:not(.sy-js) .sy-header .sy-lang .xlml-switcher__current .xlml-switcher__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

@media (max-width: 1439px) {
	html:not(.sy-js):not(:lang(zh)) .sy-header__actions .sy-login__label,
	html:not(.sy-js):not(:lang(zh)) .sy-header .sy-lang .xlml-switcher__current .xlml-switcher__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

/* ---------- compact: hamburger mode ---------- */
.sy-header--compact {
	--sy-nav-d: none;
	--sy-login-d: none;
	--sy-lang-d: none;
	--sy-burger-d: inline-grid;
}

.sy-header--compact .sy-mega,
.sy-header--compact .sy-backdrop {
	display: none !important;
}

@media (max-width: 1179px) {
	.sy-header {
		--sy-nav-d: none;
		--sy-login-d: none;
		--sy-lang-d: none;
		--sy-burger-d: inline-grid;
	}

	.sy-mega,
	.sy-backdrop {
		display: none !important;
	}
}

@media (max-width: 1279px) {
	html:not(:lang(zh)) .sy-header {
		--sy-nav-d: none;
		--sy-login-d: none;
		--sy-lang-d: none;
		--sy-burger-d: inline-grid;
	}

	html:not(:lang(zh)) .sy-mega,
	html:not(:lang(zh)) .sy-backdrop {
		display: none !important;
	}
}

@media (max-width: 639px) {
	.sy-header {
		--sy-bar-h: var(--wp--custom--header--height-mobile, 64px);
	}

	.sy-header.is-scrolled .sy-header__bar {
		height: var(--sy-bar-h);
	}

	.sy-header__bar {
		gap: 12px;
	}

	.sy-brand__mark {
		width: 34px;
	}

	.sy-brand__word {
		font-size: 20px;
	}

	.sy-header__cta.sy-btn--sm {
		padding-inline: 16px;
		font-size: 14px;
	}
}

@media (max-width: 359px) {
	.sy-brand__word {
		display: none;
	}
}

/* =========================================================================
   Mobile drawer (full screen, native <details> accordions)
   ========================================================================= */
.sy-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	flex-direction: column;
	background: #FFFFFF;
	color: var(--sy-ink);
	margin: 0 !important;
}

.sy-drawer:target,
.sy-drawer.is-open {
	display: flex;
}

body.admin-bar .sy-drawer {
	top: var(--wp-admin--admin-bar--height, 0px);
}

.sy-drawer__head {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	padding: 0 var(--sy-gutter);
	border-bottom: 1px solid var(--sy-line);
}

.sy-drawer__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--sy-line-strong);
	border-radius: 50%;
	background: transparent;
	color: var(--sy-ink);
	cursor: pointer;
}

.sy-drawer__close .sy-svg {
	width: 20px;
	height: 20px;
}

.sy-drawer__scroll {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 16px var(--sy-gutter) 32px;
}

.sy-drawer__scroll > * + * {
	margin-block-start: 0 !important;
}

/* Language segmented control (xlml/language-switcher, list layout). */
.sy-lang-seg .xlml-switcher__list {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: 4px;
	padding: 4px;
	border-radius: var(--sy-r-pill);
	background: var(--sy-mist);
	border: 1px solid var(--sy-line);
}

.sy-lang-seg .xlml-switcher__link {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 40px;
	padding: 0 8px;
	border-radius: var(--sy-r-pill);
	color: var(--sy-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.sy-lang-seg .xlml-switcher__item.is-current > .xlml-switcher__link {
	background: var(--sy-ink);
	color: #FFFFFF;
}

.sy-lang-seg .xlml-switcher__link:hover .xlml-switcher__label {
	text-decoration: none;
}

.sy-drawer .sy-lang-seg {
	margin-bottom: 8px;
}

.sy-drawer__nav {
	display: block;
}

.sy-mm-group,
.sy-mm-item {
	border-bottom: 1px solid var(--sy-line);
}

.sy-mm-group > summary,
.sy-mm-item > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	color: var(--sy-ink);
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	list-style: none;
	cursor: pointer;
}

.sy-mm-group > summary::-webkit-details-marker {
	display: none;
}

.sy-mm-group > summary .sy-svg {
	width: 20px;
	height: 20px;
	color: var(--sy-muted);
	transition: transform var(--sy-base) var(--sy-ease);
}

.sy-mm-group[open] > summary .sy-svg {
	transform: rotate(180deg);
}

.sy-mm-sub {
	display: grid;
	gap: 2px;
	padding-bottom: 14px;
}

.sy-mm-label {
	margin: 10px 0 4px !important;
	color: var(--sy-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
}

.sy-mm-sub .sy-mega__item {
	padding: 10px 4px;
}

.sy-mm-sub .sy-mega__item:hover {
	background: var(--sy-mist);
}

.sy-mm-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 12px;
}

.sy-mm-links--one {
	grid-template-columns: minmax(0, 1fr);
}

.sy-mm-links a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--sy-text);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

.sy-mm-links a:hover {
	color: var(--sy-red);
}

.sy-drawer__foot {
	display: flex;
	flex: none;
	align-items: center;
	gap: 12px;
	padding: 12px var(--sy-gutter) calc(12px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--sy-line);
	background: #FFFFFF;
}

.sy-drawer__foot .sy-btn {
	flex: 1;
}

.sy-drawer__foot .sy-login {
	display: inline-flex;
	height: 52px;
	padding: 0 18px;
	border: 1px solid var(--sy-line-strong);
}

html.sy-menu-open,
html.sy-menu-open body {
	overflow: hidden;
}
