.loyseo-header {
	color: var(--wp--preset--color--text-body);
	font-family: var(--wp--preset--font-family--site-sans);
	font-size: var(--wp--preset--font-size--body);
}

.loyseo-header__container { box-sizing: border-box; width: min(100%, var(--wp--custom--header--content-width)); margin-inline: auto; padding-inline: 0; }
.loyseo-header__announcement { height: 40px; background: var(--wp--preset--color--surface-muted); }
.loyseo-header__announcement[hidden] { display: none !important; }
.loyseo-header__announcement-inner { display: flex; align-items: center; justify-content: center; gap: 28px; height: 100%; }
.loyseo-header__countdown { align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 0 var(--wp--preset--spacing--40); background: var(--wp--preset--color--violet-surface); color: var(--wp--preset--color--violet-base); white-space: nowrap; }
.loyseo-header__countdown-item { display: inline-flex; align-items: baseline; gap: 3px; }
.loyseo-header__countdown-number { font-size: var(--wp--preset--font-size--big); font-weight: var(--wp--custom--typography--weight--regular); line-height: 1; }
.loyseo-header__countdown-unit { font-size: var(--wp--preset--font-size--micro); font-weight: var(--wp--custom--typography--weight--regular); line-height: 1; }
.loyseo-header__announcement-copy { margin: 0; color: var(--wp--preset--color--text-body); font-family: inherit; font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--typography--weight--regular); line-height: 1.4; letter-spacing: .02em; }
.loyseo-header__announcement-copy a { color: inherit !important; font: inherit; font-size: var(--wp--preset--font-size--small);text-decoration-color: var(--wp--preset--color--orange-accent); text-decoration-line: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }

.loyseo-header__main { position: relative; z-index: 30; background: var(--wp--preset--color--surface-white); border-bottom: 1px solid var(--wp--preset--color--border-subtle); }
.loyseo-header__main-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: var(--wp--custom--header--desktop-height); min-height: var(--wp--custom--header--desktop-height); }
.loyseo-header__brand { flex: 0 0 var(--wp--custom--header--logo-width); line-height: 0; }
.loyseo-header__brand .custom-logo-link { display: inline-flex; max-width: var(--wp--custom--header--logo-width); }
.loyseo-header__brand .custom-logo { width: var(--wp--custom--header--logo-width); height: auto; }
.loyseo-header__navigation { margin-inline: 0; }
.loyseo-header__menu, .loyseo-header__menu .sub-menu { margin: 0; padding: 0; list-style: none; }
.loyseo-header__menu { display: flex; align-items: center; gap: 30px; }
.loyseo-header__menu li { position: relative; display: flex; align-items: stretch; }
.loyseo-header__menu a { display: flex; align-items: center; min-height: 60px; padding: 0; background: transparent !important; color: var(--wp--preset--color--text-body) !important; font-size: var(--wp--preset--font-size--body); text-decoration: none; white-space: nowrap; }
.loyseo-header__menu .current-menu-item > a, .loyseo-header__menu .current-menu-ancestor > a, .loyseo-header__menu a:hover, .loyseo-header__menu a:focus-visible { background: transparent !important; color: var(--wp--preset--color--brand-primary) !important; }
.loyseo-header__submenu-toggle { display: grid; flex: 0 0 12px; width: 12px; min-width: 0; min-height: 0; height: 60px; margin: 0 0 0 8px; place-items: center; padding: 0 !important; appearance: none; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; color: var(--wp--preset--color--text-body) !important; cursor: pointer; }
.loyseo-header__menu li:hover > .loyseo-header__submenu-toggle, .loyseo-header__menu li:focus-within > .loyseo-header__submenu-toggle, .loyseo-header__menu li.current-menu-item > .loyseo-header__submenu-toggle, .loyseo-header__menu li.current-menu-ancestor > .loyseo-header__submenu-toggle { color: var(--wp--preset--color--brand-primary) !important; }
.loyseo-header__submenu-toggle svg { width: 12px; height: 12px; }
.loyseo-header__menu .sub-menu { position: absolute; top: calc(100% - 2px); left: 0; z-index: 5; display: none; min-width: 245px; overflow: hidden; border: 1px solid var(--wp--preset--color--border-default); border-radius: var(--wp--custom--radius--panel); background: var(--wp--preset--color--surface-white); box-shadow: var(--wp--custom--shadow--soft-floating); }
.loyseo-header__menu li:hover > .sub-menu, .loyseo-header__menu li:focus-within > .sub-menu, .loyseo-header__menu li.is-open > .sub-menu { display: block; }
.loyseo-header__menu .sub-menu li { display: flex; border-bottom: 1px solid var(--wp--preset--color--surface-muted); }
.loyseo-header__menu .sub-menu a { min-height: 0; width: 100%; padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); line-height: 1.5; white-space: normal; }
.loyseo-header__menu .sub-menu .sub-menu { top: 0; left: 100%; }
.loyseo-header__search { display: flex; flex: 0 0 200px; align-items: center; gap: 5px; overflow: visible; border: 0; background: transparent; }
.loyseo-header__search input { box-sizing: border-box; min-width: 0; width: 100%; height: 32px; border: 1px solid var(--wp--preset--color--border-subtle); border-radius: var(--wp--custom--radius--compact); padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30); background: var(--wp--preset--color--surface-white); color: var(--wp--preset--color--text-body); font: inherit; font-size: var(--wp--preset--font-size--small); }
.loyseo-header__search input:focus { border-color: var(--wp--preset--color--brand-primary); outline: 0; box-shadow: var(--wp--custom--shadow--focus-ring-primary); }
.loyseo-header__search:focus-within { box-shadow: none; }
.loyseo-header__search button { display: grid; flex: 0 0 32px; width: 32px; min-width: 32px; min-height: 32px; height: 32px; margin: 0; place-items: center; padding: 0 !important; appearance: none; border: 0 !important; border-radius: var(--wp--custom--radius--compact) !important; background: var(--wp--preset--color--surface-soft) !important; box-shadow: var(--wp--custom--shadow--offset-aqua) !important; color: var(--wp--preset--color--brand-primary) !important; font: inherit; line-height: 1; cursor: pointer; }
.loyseo-header__search button:hover, .loyseo-header__search button:focus-visible { background: var(--wp--preset--color--surface-soft) !important; color: var(--wp--preset--color--brand-primary) !important; }
.loyseo-header__search button:focus-visible { outline: 2px solid var(--wp--preset--color--brand-primary); outline-offset: 2px; }
.loyseo-header__search svg { width: 17px; height: 17px; }
.loyseo-header__menu-toggle { display: none; }

.loyseo-header__promotion-wrap { position: sticky; top: 0; z-index: 20; padding: var(--wp--preset--spacing--30) 0 var(--wp--preset--spacing--20); }
body.admin-bar .loyseo-header__promotion-wrap { top: 32px; }
.loyseo-header__promotion { display: flex; align-items: center; justify-content: center; gap: 20px; height: 50px; min-height: 0; border-radius: var(--wp--custom--radius--panel); background: linear-gradient(105deg, var(--wp--preset--color--violet-deep), var(--wp--preset--color--violet-base)); box-shadow: var(--wp--custom--shadow--soft-compact); color: var(--wp--preset--color--violet-text-light); }
.loyseo-header__promotion-message { color: var(--wp--preset--color--violet-text-light) !important; font-size: var(--wp--preset--font-size--body); font-weight: var(--wp--custom--typography--weight--semibold); line-height: var(--wp--custom--typography--line-height--title); text-decoration: underline; text-underline-offset: 3px; }
.loyseo-header__promotion-actions { display: flex; align-items: center; gap: 14px; }
.loyseo-header__button, .loyseo-header__contact-link { font-size: var(--wp--preset--font-size--small); text-decoration: none; white-space: nowrap; }
.loyseo-header__button { position: relative; display: inline-flex; align-items: center; overflow: hidden; padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20); border-radius: var(--wp--custom--radius--compact); transition: transform 180ms ease; }
.loyseo-header__button::after { position: absolute; top: 0; bottom: 0; left: -40%; width: 28%; background: linear-gradient(105deg, transparent, var(--wp--preset--color--surface-white), transparent); content: ""; opacity: 0; pointer-events: none; }
.loyseo-header__button--primary { background: var(--wp--preset--color--orange-base); color: var(--wp--preset--color--text-heading) !important; box-shadow: var(--wp--custom--shadow--inset-bottom-warm); }
.loyseo-header__button--brand-primary { background: var(--wp--preset--color--brand-primary); color: var(--wp--preset--color--surface-white) !important; }
.loyseo-header__button--outline { border: 2px solid var(--wp--preset--color--orange-strong); color: var(--wp--preset--color--orange-strong) !important; }
.loyseo-header__contact-link { color: var(--wp--preset--color--violet-text-light) !important; }
.loyseo-header__button:hover, .loyseo-header__button:focus-visible { transform: translateY(-2px); text-decoration: none; }
.loyseo-header__button:hover::after, .loyseo-header__button:focus-visible::after { animation: loyseo-button-sheen 550ms ease; }
.loyseo-header__contact-link:hover, .loyseo-header__contact-link:focus-visible { text-decoration: underline; }

@media (max-width: 1180px) {
	.loyseo-header__main-inner { gap: 12px; height: var(--wp--custom--header--tablet-height); min-height: var(--wp--custom--header--tablet-height); }
	.loyseo-header__search { flex-basis: 200px; }
}

@media (max-width: 960px) {
	.loyseo-header__announcement-inner { gap: 8px; }
	.loyseo-header__countdown { display: none; }
	.loyseo-header__announcement-copy { font-size: var(--wp--preset--font-size--small); text-align: center; }
	.loyseo-header__main-inner { padding-inline: var(--wp--preset--spacing--30); }
	.loyseo-header__menu-toggle { display: block; width: 42px; margin-left: auto; padding: var(--wp--preset--spacing--20); border: 0; border-radius: var(--wp--custom--radius--compact); background: transparent; color: var(--wp--preset--color--brand-primary); cursor: pointer; }
	.loyseo-header__menu-toggle span { display: block; height: 2px; margin: 4px 0; background: currentColor; }
	.loyseo-header__navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; max-height: calc(100vh - var(--wp--custom--header--tablet-height)); overflow: auto; border-top: 1px solid var(--wp--preset--color--border-subtle); background: var(--wp--preset--color--surface-white); box-shadow: var(--wp--custom--shadow--soft-floating); }
	.loyseo-header.is-menu-open .loyseo-header__navigation { display: block; }
	.loyseo-header__menu { display: block; padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); }
	.loyseo-header__menu li { display: flex; flex-wrap: wrap; justify-content: space-between; }
	.loyseo-header__menu > li { border-bottom: 1px solid var(--wp--preset--color--border-subtle); }
	.loyseo-header__menu a { min-height: 46px; padding: 0; font-size: var(--wp--preset--font-size--body); }
	.loyseo-header__submenu-toggle { flex-basis: 40px; width: 40px; height: 46px; margin: 0; }
	.loyseo-header__menu .sub-menu, .loyseo-header__menu .sub-menu .sub-menu { position: static; display: none; width: 100%; min-width: 0; margin: 10px 0; border: 0; background: var(--wp--preset--color--surface-soft); box-shadow: none; }
	.loyseo-header__menu .sub-menu > li + li { border-top: 1px solid var(--wp--preset--color--border-subtle); }
	.loyseo-header__menu li:hover > .sub-menu, .loyseo-header__menu li:focus-within > .sub-menu { display: none; }
	.loyseo-header__menu li.is-open > .sub-menu { display: block; }
	.loyseo-header__search { display: none; }
	.loyseo-header__promotion-wrap { display: none; }
}

@media (max-width: 600px) {
	.loyseo-header__brand, .loyseo-header__brand .custom-logo-link { max-width: var(--wp--custom--header--mobile-logo-width); }
	.loyseo-header__brand .custom-logo { width: var(--wp--custom--header--mobile-logo-width); }
}

@media (max-width: 782px) {
	body.admin-bar .loyseo-header__promotion-wrap { top: 46px; }
}

@media (prefers-reduced-motion: reduce) { .loyseo-header * { scroll-behavior: auto; } .loyseo-header__button { transition: none; } .loyseo-header__button:hover, .loyseo-header__button:focus-visible { transform: none; } .loyseo-header__button::after { animation: none !important; } }
