@font-face {
  font-family: "Yokamura Header Manrope";
  src: url("manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Yokamura Header Manrope";
  src: url("manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
html.yok-header-preview {
  --yok-header-height: 80px;
  scroll-padding-top: calc(var(--yok-header-height) + env(safe-area-inset-top,0px) + 12px);
}
html.yok-header-preview:has(#wpadminbar) {
  scroll-padding-top: calc(var(--yok-header-height) + var(--wp-admin--admin-bar--height,32px) + env(safe-area-inset-top,0px) + 12px);
}
html.yok-header-preview body:has(#header.yok-header) { padding-top: 0 !important; }
#header.yok-header, #header.yok-header._active {
  --yok-ink: #f2f2f2;
  --yok-muted: #a0a3a7;
  --yok-background: #0e1114;
  --yok-separator: rgb(255 255 255 / 7%);
  position: sticky;
  top: 0;
  left: auto;
  z-index: 100;
  width: 100%;
  padding: env(safe-area-inset-top,0px) 0 0;
  background: var(--yok-background);
  color: var(--yok-ink);
  box-shadow: none;
}
.admin-bar #header.yok-header { top: var(--wp-admin--admin-bar--height,32px); }
#header.yok-header .header-inner {
  max-width: 1440px;
  min-height: var(--yok-header-height);
  box-sizing: border-box;
  padding-inline: max(40px,env(safe-area-inset-left,0px)) max(40px,env(safe-area-inset-right,0px));
  gap: 32px;
  font: 500 14px/1.4 "Yokamura Header Manrope", Manrope, sans-serif;
}
#header.yok-header::after {
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  inset: auto 0 0;
  background: var(--yok-separator);
  pointer-events: none;
}
.yok-header-logo { display: block; flex: none; width: 232px; }
.yok-header-logo img { display: block; width: 100%; height: auto; max-height: 56px; object-fit: contain; object-position: left; }
.yok-header :is(ul,li,p) { list-style: none; padding: 0; margin: 0; }
.yok-header [hidden] { display: none !important; }
.yok-header :is(a,button) { color: var(--yok-ink); text-decoration: none; }
.yok-header button { font: inherit; border: 0; background: transparent; cursor: pointer; }
.yok-header :is(a,button):focus-visible { outline: 2px solid #ff2424; outline-offset: 3px; }
.yok-header-desktop { flex: none; }
.yok-header-desktop .yok-header-links { display: flex; align-items: center; gap: 30px; }
.yok-header-desktop .yok-header-links > li > a {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-height: 44px;
  white-space: nowrap;
  transition: color 200ms ease;
}
.yok-header-desktop .yok-header-links > li > a[aria-current]::after {
  position: absolute;
  content: "";
  inset: auto 0 2px;
  height: 1px;
  background: #ff2424;
}
.yok-header-desktop a:hover, .yok-header-mobile a[aria-current] { color: var(--yok-muted); }
.yok-header-parent { display: flex; align-items: center; gap: 5px; }
.yok-header-expand {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 26px;
  min-height: 44px;
  padding: 0;
}
.yok-header-expand::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-inline: 5px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.yok-header-expand[aria-expanded="true"]::after { transform: rotate(225deg); }
.yok-header-desktop .yok-header-sub {
  position: absolute;
  top: 100%;
  right: max(40px, calc((100vw - 1440px) / 2 + 40px));
  width: min(580px, calc(100vw - 80px));
  max-height: calc(100dvh - 110px);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--yok-background);
  padding: 24px;
  box-sizing: border-box;
  border: 1px solid var(--yok-separator);
}
.yok-header-sub p { color: var(--yok-muted); margin-block: 12px 4px; }
.yok-header-sub a { display: block; padding-block: 7px; overflow-wrap: anywhere; }
.yok-header-toggle, .yok-header-mobile { display: none; }
.yok-header-compact .yok-header-desktop {
  position: absolute;
  width: 100%;
  inset-inline-start: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
.yok-header-compact .header-inner {
  --yok-header-height: 64px;
  padding-inline: max(16px,env(safe-area-inset-left,0px)) max(16px,env(safe-area-inset-right,0px)) !important;
}
.yok-header-compact .yok-header-logo { width: 180px; }
.yok-header-compact .yok-header-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
}
.yok-header-bars { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5; }
.yok-header-bars path { transform-origin: 12px 12px; transition: transform 220ms ease; }
.yok-header-bars path:first-child { transform: translateY(-4px); }
.yok-header-bars path:last-child { transform: translateY(4px); }
.yok-header-open .yok-header-bars path:first-child { transform: rotate(45deg); }
.yok-header-open .yok-header-bars path:last-child { transform: rotate(-45deg); }
.yok-header-compact .yok-header-mobile {
  display: block;
  position: fixed;
  inset: var(--yok-mobile-menu-top,64px) 0 auto;
  box-sizing: border-box;
  height: calc(100vh - var(--yok-mobile-menu-top,64px));
  height: calc(100dvh - var(--yok-mobile-menu-top,64px));
  overscroll-behavior: contain;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--yok-background);
  padding: 12px max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms;
  font: 500 22px/1.35 "Yokamura Header Manrope", Manrope, sans-serif;
}
.yok-header-open .yok-header-mobile { opacity: 1; visibility: visible; pointer-events: auto; }
html:has(.yok-header-open), body:has(.yok-header-open) { overflow: hidden; }
.yok-header-mobile .yok-header-links > li {
  display: block;
  border-bottom: 1px solid var(--yok-separator);
}
.yok-header-mobile .yok-header-links > li > :is(a,button) { padding: 15px 0; min-height: 44px; }
.yok-header-mobile .yok-header-links > li > a { display: inline-block; }
.yok-header-mobile .yok-header-links > li > button:not([aria-label]) { width: 100%; }
.yok-header-mobile .yok-header-sub { font-size: 16px; padding-bottom: 12px; }
@media (max-width: 1023px) {
  html.yok-header-preview { --yok-header-height: 64px; }
}
@media (max-width: 782px) {
  html.yok-header-preview:has(#wpadminbar) { --wp-admin--admin-bar--height: 46px; }
}
@media (max-width: 600px) {
  .admin-bar #header.yok-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .yok-header *, .yok-header *::before, .yok-header *::after { transition-duration: 0s !important; }
}

/* The theme sets Montserrat directly on list items and a heavier weight on links. */
#header.yok-header :is(ul,li,p,a,button) { font: inherit; }
#header.yok-header .yok-header-mobile .yok-header-sub { font-size: 16px; }
html.yok-header-preview #header:not(.yok-header) {
  box-sizing: border-box;
  height: calc(var(--yok-header-height) + env(safe-area-inset-top,0px));
  overflow: clip;
}

/* Native modal top layer keeps theme galleries and fixed elements underneath. */
.yok-header-overlay {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  background: #0e1114;
  overflow: hidden;
}
.yok-header-overlay::backdrop { background: #0e1114; }
.yok-header-overlay[open] #header.yok-header {
  position: static;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.yok-header-overlay[open] #header.yok-header > .header-inner {
  flex-shrink: 0;
  width: 100%;
}
.yok-header-overlay[open] #header.yok-header > .yok-header-mobile {
  position: static;
  min-height: 0;
  flex: 1;
  height: auto;
  opacity: 1;
  visibility: visible;
  background: #0e1114;
  transition: none;
  border-top: 1px solid var(--yok-separator);
}
#header.yok-header .yok-header-mobile .yok-header-catalog p {
  font-size: 14px;
  color: var(--yok-muted);
}
#header.yok-header .yok-header-mobile .yok-header-catalog a {
  font-size: 16px;
  font-weight: 400;
}
#header.yok-header .yok-header-mobile .yok-header-catalog a[aria-current="page"] { color: #ff2424; }
#header.yok-header .yok-header-mobile .yok-header-expand::after { transition: transform 210ms ease; }

#header.yok-header .yok-header-toggle {
  color: #f2f2f2;
  background: transparent !important;
  box-shadow: none !important;
  border: 0;
  -webkit-tap-highlight-color: transparent;
}
#header.yok-header .yok-header-toggle.yok-header-pointer-focus,
#header.yok-header .yok-header-toggle:focus:not(:focus-visible) { outline: none; }
#header.yok-header .yok-header-toggle:focus-visible:not(.yok-header-pointer-focus) {
  outline: 2px solid #ff2424;
  outline-offset: 3px;
}
#header.yok-header .yok-header-mobile .yok-header-sub {
  box-sizing: border-box;
  padding-bottom: 0;
  overflow: hidden;
}
#header.yok-header .yok-header-mobile .yok-header-sub::after {
  content: "";
  display: block;
  height: 12px;
}
#header.yok-header .yok-header-mobile .yok-header-sub[hidden] { display: none !important; }
