 

@property --float-ink {
  syntax: "<color>";
  inherits: true;
  initial-value: #fff;
}

body[data-page="www"] .site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  --float-ink: #fff;
  color: var(--float-ink);
  background: none !important;
  box-shadow: none !important;
  transition: --float-ink 180ms ease 170ms;
}
body[data-page="www"] .site-topbar:is(.is-menu-open, .is-account-open, .is-search-open, .is-rolling) {
  --float-ink: var(--text);
  transition: --float-ink 160ms ease;
}
body[data-page="www"] .site-topbar .topbar {
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 1px 1.2px rgba(52, 34, 12, 0.34)) drop-shadow(0 3px 9px rgba(52, 34, 12, 0.2));
  transition: filter 180ms ease 170ms;
}
body[data-page="www"] .site-topbar:is(.is-menu-open, .is-account-open, .is-search-open) .topbar {
  filter: drop-shadow(0 1px 1.2px rgba(52, 34, 12, 0)) drop-shadow(0 3px 9px rgba(52, 34, 12, 0));
  transition: filter 160ms ease;
}

body[data-page="www"] .site-topbar svg { filter: none; }
body[data-page="www"] .site-topbar :is(.topbar-login, .topbar-menu-toggle, .jgx-topbar-search) {
  color: var(--float-ink);
}
body[data-page="www"] .site-topbar .topbar-burger > span { background: var(--float-ink); }
body[data-page="www"] .site-topbar :is(.topbar-login, .topbar-menu-toggle, .jgx-topbar-search):focus-visible {
  outline-color: color-mix(in srgb, var(--float-ink) 70%, transparent);
}

body[data-page="www"] .site-topbar :is(.topbar-login-icon, .jgx-topbar-search svg) {
  background-color: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}
body[data-page="www"] .site-topbar .topbar-login-icon { --ic: url("./design/icons/user.svg"); }
body[data-page="www"] .site-topbar .jgx-topbar-search svg { --ic: url("./design/icons/search.svg"); }
body[data-page="www"] .site-topbar :is(.topbar-login-icon, .jgx-topbar-search svg) > * { display: none; }

body[data-page="www"] .site-topbar :is(.topbar-login, .topbar-menu-toggle, .jgx-topbar-search) { border-radius: 50%; }

body[data-page="www"] .site-topbar :is(.topbar-drawer-stock, .topbar-paper-stock) {
  background-color: #f8f5ee !important;
  background-image:
    radial-gradient(150% 120% at 14% -6%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 56%),
    linear-gradient(168deg, rgba(0, 0, 0, 0) 55%, rgba(60, 44, 18, 0.05)) !important;
  background-blend-mode: soft-light, multiply;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
}

body[data-page="www"] .site-topbar :is(.topbar-drawer-stock, .topbar-paper-stock)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("./design/paper-tooth.webp?v=3") 0 0 / 400px 240px repeat;
  mix-blend-mode: multiply;
  opacity: 0.075;
  pointer-events: none;
}

body[data-page="www"] .site-topbar :is(.topbar-drawer, .topbar-account-drawer, .topbar-search-drawer) .topbar-drawer-stock {
  border-radius: 0 0 var(--widget-r) var(--widget-r);
  box-shadow: inset 0 -1px 0 rgba(120, 96, 52, 0.12);
}

body[data-page="www"] .site-topbar > .topbar-paper,
body[data-page="www"] .site-topbar .topbar-leaf-cast,
body[data-page="www"] .site-topbar > .topbar-paper .topbar-paper-stock {
  border-radius: 0 0 var(--widget-r) var(--widget-r);
}
body[data-page="www"] .site-topbar > .topbar-paper .topbar-paper-stock {
  transition: border-radius 140ms ease;
}

body[data-page="www"] .site-topbar:is(.is-search-results, [data-paper-hold="search"]) > .topbar-paper,
body[data-page="www"] .site-topbar:is(.is-search-results, [data-paper-hold="search"]) .topbar-leaf-cast,
body[data-page="www"] .site-topbar:is(.is-search-results, [data-paper-hold="search"]) > .topbar-paper .topbar-paper-stock {
  border-radius: 0;
}

body[data-page="www"] .site-topbar .topbar-search-drawer .topbar-drawer-stock::before {
  border: 0;
}

body[data-page="www"] .site-topbar.is-floating > .topbar-paper .topbar-paper-stock {
  background-image: none !important;
}
body[data-page="www"] .site-topbar.is-floating .topbar-search-drawer .topbar-drawer-stock::after {
  background-position: 0 calc(-1 * var(--bar-h, 56px));
}

body[data-page="www"] .site-topbar .topbar-search-cast {
  border-radius: 0 0 var(--widget-r) var(--widget-r);
}
body[data-page="www"] .site-topbar.is-floating > .topbar-search-drawer > .topbar-drawer-paper {
  filter: none;
}

body[data-page="www"] .site-topbar .topbar-mainline .brand::before {
  background: var(--float-ink);
  -webkit-mask: url("./design/joogox-logo.svg?v=2") no-repeat 0 0 / 100% 100%;
  mask: url("./design/joogox-logo.svg?v=2") no-repeat 0 0 / 100% 100%;
}

:root { --bar-h: 56px; }

:root { --widget-r: calc(24px * var(--fd-s, 1)); }
@media (max-width: 760px) { :root { --bar-h: 52px; } }
.topbar-shade {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--bar-h, 56px) + 70px);
  z-index: 40;
  pointer-events: none;
  background: linear-gradient(
    rgba(38, 24, 8, 0.36) 0%,
    rgba(38, 24, 8, 0.31) 12%,
    rgba(38, 24, 8, 0.24) 26%,
    rgba(38, 24, 8, 0.165) 41%,
    rgba(38, 24, 8, 0.1) 56%,
    rgba(38, 24, 8, 0.05) 71%,
    rgba(38, 24, 8, 0.018) 85%,
    rgba(38, 24, 8, 0) 100%
  );
}

body[data-page="www"] .topbar-scrim {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body[data-page="www"] .site-topbar > .topbar-paper,
body[data-page="www"] .site-topbar .topbar-leaf-cast {
  transform-origin: 50% 0;
  transform: perspective(900px) rotateX(-90deg);
  visibility: hidden;
  transition: transform 170ms cubic-bezier(0.5, 0, 0.75, 0), visibility 0s 170ms, border-radius 140ms ease;
}

body[data-page="www"] .site-topbar.has-paper-twin > .topbar-paper {
  filter: none;
}
.topbar-leaf-cast {
  position: absolute;
  inset: 0;
  background: var(--card);
}
body[data-page="www"] .site-topbar.is-search-open > .topbar-paper,
body[data-page="www"] .site-topbar.is-search-open .topbar-leaf-cast {
  transform: perspective(900px) rotateX(0deg);
  visibility: visible;
  transition: transform 300ms cubic-bezier(0.32, 0, 0.24, 1), visibility 0s, border-radius 140ms ease;
}

body[data-page="www"] .site-topbar :is(.topbar-drawer, .topbar-account-drawer) > .topbar-drawer-paper {
  top: calc(-1 * var(--bar-h, 56px));
  clip-path: none;
}

body[data-page="www"] .site-topbar > :is(.topbar-drawer, .topbar-account-drawer) > .topbar-drawer-paper {
  filter: var(--drop-sheet);
}

body[data-page="www"] .site-topbar.has-flat-cast > :is(.topbar-drawer, .topbar-account-drawer) > .topbar-drawer-paper {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="www"] .site-topbar > .topbar-paper,
  body[data-page="www"] .site-topbar .topbar-leaf-cast {
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
}

body[data-page="www"] .site-topbar :is(.topbar-login-icon, .jgx-topbar-search svg) {
  transition: transform 0.34s cubic-bezier(0.33, 0.07, 0.2, 1), opacity 0.2s ease;
}
body[data-page="www"] .site-topbar :is(.topbar-login, .jgx-topbar-search)::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.6 3.6L14.4 14.4M14.4 3.6L3.6 14.4' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.6 3.6L14.4 14.4M14.4 3.6L3.6 14.4' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transform: rotate(-90deg) scale(0.35);
  transition: transform 0.34s cubic-bezier(0.33, 0.07, 0.2, 1), opacity 0.2s ease;
  pointer-events: none;
}
body[data-page="www"] .site-topbar.is-account-open .topbar-login::before,
body[data-page="www"] .site-topbar.is-search-open .jgx-topbar-search::before {
  opacity: 1;
  transform: none;
}
body[data-page="www"] .site-topbar.is-account-open .topbar-login-icon,
body[data-page="www"] .site-topbar.is-search-open .jgx-topbar-search svg {
  opacity: 0;
  transform: rotate(90deg) scale(0.35);
}

body[data-page="www"] .site-topbar:is(.is-search-open, .is-search-leaving) .jgx-topbar-search { visibility: visible; }
body[data-page="www"] .site-topbar.is-search-open .topbar-end { opacity: 1; visibility: visible; }
body[data-page="www"] .site-topbar.is-search-open > .topbar .topbar-end { pointer-events: auto; }
body[data-page="www"] .site-topbar .topbar-search :is(.topbar-search-lead, .topbar-search-close) { display: none; }
body[data-page="www"] .site-topbar .topbar-search .jgx-input { margin-right: var(--search-end, 0px); }
