/* Hario Pharmacy: shared header on regular posts only. */
/* Remove Lightning's standard header and mobile menu ONLY on single posts. */
body.hario-post-header-active .siteHeader,
body.hario-post-header-active header.siteHeader,
body.hario-post-header-active .site-header,
body.hario-post-header-active #site-header,
body.hario-post-header-active .site-header-sub,
body.hario-post-header-active .vk-mobile-nav,
body.hario-post-header-active .vk-mobile-nav-menu-btn,
body.hario-post-header-active .mobile-fix-nav,
body.hario-post-header-active .mobile-fix-nav-top {
  display: none !important;
}
/* Do not hide the theme's site content, page headings, breadcrumb or footer. */
.hario-sh-header,
.hario-sh-header * { box-sizing: border-box; }
.hario-sh-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
body.admin-bar .hario-sh-header { top: 32px; }
.hario-sh-header a,
.hario-sh-header a:visited { text-decoration: none; box-shadow: none; }
.hario-sh-header .hario-sh-bar {
  width: 100%;
  max-width: 1360px;
  min-height: 82px;
  padding: 10px 26px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}
.hario-sh-header .hario-sh-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: auto;
}
.hario-sh-header .hario-sh-brand img {
  display: block;
  width: 238px;
  max-height: 68px;
  height: auto;
  object-fit: contain;
}
.hario-sh-header .hario-sh-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 34px);
}
.hario-sh-header .hario-sh-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 25px);
}
.hario-sh-header .hario-sh-nav li { margin: 0; padding: 0; list-style: none; }
.hario-sh-header .hario-sh-nav a {
  display: block;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #333333;
  white-space: nowrap;
}
.hario-sh-header .hario-sh-nav a:hover,
.hario-sh-header .hario-sh-nav a:focus-visible { color: #49999f; }
.hario-sh-header .hario-sh-cta,
.hario-sh-header .hario-sh-cta:visited {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #7dbbbf;
  padding: 13px 18px;
  border-radius: 6px;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.hario-sh-header .hario-sh-cta:hover,
.hario-sh-header .hario-sh-cta:focus-visible { background: #5ba3aa; color: #ffffff; }
.hario-sh-header .hario-sh-toggle { display: none; }
@media (max-width: 1060px) {
  .hario-sh-header .hario-sh-bar { padding-right: 18px; padding-left: 18px; gap: 14px; }
  .hario-sh-header .hario-sh-brand img { width: 200px; }
  .hario-sh-header .hario-sh-panel { gap: 14px; }
  .hario-sh-header .hario-sh-nav ul { gap: 12px; }
  .hario-sh-header .hario-sh-nav a { font-size: 13px; }
  .hario-sh-header .hario-sh-cta { padding: 12px; font-size: 13px; }
}
@media (max-width: 920px) {
  .hario-sh-header .hario-sh-bar { min-height: 70px; padding: 8px 16px; }
  .hario-sh-header .hario-sh-brand img { width: 185px; max-height: 55px; }
  .hario-sh-header .hario-sh-toggle {
    width: 52px;
    height: 52px;
    border: 0;
    padding: 6px 2px;
    margin-left: auto;
    background: transparent;
    color: #333333;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    cursor: pointer;
    font: inherit;
  }
  .hario-sh-header .hario-sh-toggle svg {
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round;
  }
  .hario-sh-header .hario-sh-toggle span { font-size: 10px; line-height: 1.2; letter-spacing: .04em; }
  .hario-sh-header .hario-sh-panel {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    right: 0;
    margin: 0;
    padding: 16px 24px 24px;
    border-top: 1px solid #e9eeee;
    box-shadow: 0 9px 14px rgba(0,0,0,.09);
    background: rgba(255,255,255,.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .hario-sh-header.hario-sh-open .hario-sh-panel { display: flex; }
  .hario-sh-header .hario-sh-nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hario-sh-header .hario-sh-nav a { padding: 14px 5px; border-bottom: 1px solid #e5eeee; font-size: 15px; }
  .hario-sh-header .hario-sh-cta { width: 100%; padding: 14px 18px; font-size: 15px; }
}
@media (max-width: 782px) {
  body.admin-bar .hario-sh-header { top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .hario-sh-header .hario-sh-cta { transition: none; }
}
