/* Shared navigation: desktop, fixed header and mobile drawer. */
.kg-nav, .kg-mobile-nav, .kg-mobile-actions { color: #26221e; font-family: inherit; font-weight: inherit; }
.kg-nav *, .kg-mobile-nav *, .kg-mobile-actions * { box-sizing: border-box; }
#header .l-header__bar, #header .l-header__spNav { display: none; }
#header .l-header__inner, #fix_header .l-fixHeader__inner { max-width: 1280px; padding-right: 28px; padding-left: 28px; }
#header .l-header__inner { min-height: 88px; }
#header, #fix_header { background: #fff; color: #26221e; }
#header .l-header__gnav, #fix_header .l-fixHeader__gnav { display: flex; align-items: center; margin-left: auto; }
.kg-nav { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.6; }
.kg-nav > li { margin: 0; padding: 0; }
.kg-nav a, .kg-mobile-nav a { text-decoration: none; }
.kg-nav__group { position: relative; }
.kg-nav__group > summary, .kg-mobile-guide > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; font-weight: inherit; }
.kg-nav__group > summary { padding: 16px; border-radius: 6px; }
.kg-nav__group > summary::-webkit-details-marker, .kg-mobile-guide > summary::-webkit-details-marker { display: none; }
.kg-nav__group > summary:hover, .kg-nav__group[open] > summary { background: #f2f6f3; color: #1f4d3f; }
.kg-nav__chevron { width: 7px; height: 7px; flex: 0 0 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
details[open] > summary .kg-nav__chevron { transform: translateY(2px) rotate(225deg); }
.kg-nav__panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 10; padding: 22px; background: #fff; border: 1px solid #e3e8e3; border-radius: 10px; box-shadow: 0 12px 32px rgb(31 77 63 / 12%); }
.kg-nav__panel--treatments { width: 480px; }
.kg-nav__panel--guide { width: 260px; }
.kg-nav__panel { max-width: calc(100vw - 32px); }
.kg-nav__eyebrow { margin: 0 0 12px; color: #5c665f; font-size: 11px; font-weight: inherit; letter-spacing: .04em; }
.kg-nav__links { list-style: none; padding: 0; margin: 0; }
.kg-nav__links > li { padding: 0; margin: 0; }
.kg-nav__links a { display: block; padding: 13px 12px; border-radius: 6px; color: #26221e; line-height: 1.5; }
.kg-nav__links a:hover { color: #1f4d3f; background: #f2f6f3; }
.kg-nav__panel--treatments > .kg-nav__links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.kg-nav__link-title { display: block; font-size: 14px; font-weight: inherit; }
.kg-nav__link-note { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; color: #68736c; }
.kg-nav__urgent { display: flex; align-items: center; gap: 7px; padding: 15px 16px; font-weight: inherit; color: #8e3b2f; border-radius: 6px; white-space: nowrap; }
.kg-nav__urgent span { font-size: 11px; font-weight: 500; }
.kg-nav__urgent:hover { background: #fbf1ee; }
.kg-nav__line { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 20px; border-radius: 7px; background: #06a947; color: #fff !important; font-size: 14px; font-weight: inherit; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.kg-nav > li:last-child { margin-left: 8px; }
.kg-nav__line:hover { background: #048c3a; }
.kg-nav__line > .kg-nav__link-title { font: inherit; }
.kg-nav a:focus-visible, .kg-nav summary:focus-visible, .kg-mobile-actions a:focus-visible, .kg-mobile-actions button:focus-visible, .kg-mobile-nav a:focus-visible, .kg-mobile-nav summary:focus-visible { outline: 2px solid #1f4d3f; outline-offset: 3px; }
.kg-mobile-actions { display: none; }

/* The drawer keeps SWELL's open/close behaviour and scroll handling. */
.kg-sp-menu .p-spMenu__inner { max-width: 390px; width: min(90vw, 390px); background: #fff; }
.kg-sp-menu .p-spMenu__body { padding: 30px 24px; }
.kg-sp-menu .p-spMenu__closeBtn { color: #26221e; }
.kg-mobile-title { margin: 0 0 24px; font-size: 19px; font-weight: inherit; color: #1f4d3f; }
.kg-mobile-nav .kg-nav__eyebrow { margin: 26px 0 10px; }
.kg-mobile-urgent { display: flex; align-items: center; justify-content: space-between; padding: 16px; gap: 12px; border: 1px solid #ead7d0; border-radius: 7px; color: #8e3b2f; background: #fcf5f2; font-size: 12px; line-height: 1.7; }
.kg-mobile-urgent strong { margin-right: 5px; font-size: 18px; }
.kg-mobile-nav .kg-nav__links a { padding: 13px 2px; border-bottom: 1px solid #edf0ed; border-radius: 0; }
.kg-mobile-nav .kg-nav__link-title { font-size: 14px; }
.kg-mobile-nav .kg-nav__link-note { margin-top: 3px; font-size: 11px; }
.kg-mobile-guide { margin-top: 26px; }
.kg-mobile-guide > summary { padding: 10px 2px; font-size: 14px; color: #1f4d3f; }
.kg-mobile-guide .kg-nav__link-title { font-size: 13px; font-weight: inherit; }
.kg-mobile-home { display: inline-block; margin-top: 26px; font-size: 12px; color: #68736c; }

/* Standard WordPress menu items, including user-added groups and nested links. */
.kg-nav__plain { display: block; padding: 15px 16px; color: inherit; }
.kg-nav__urgent .kg-nav__link-title { font-size: inherit; font-weight: inherit; }
.kg-nav__urgent .kg-nav__link-note { margin: 0; color: inherit; }
.kg-nav__parent-link { color: inherit; }
.kg-nav__parent-link .kg-nav__link-title { font: inherit; }
.kg-nav__subgroup > summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 12px; cursor: pointer; list-style: none; }
.kg-nav__subgroup > summary::-webkit-details-marker { display: none; }
.kg-nav__nested .kg-nav__nested { padding-left: 14px; }
.kg-nav__subgroup > .kg-nav__nested { padding-left: 14px; }
.kg-mobile-root { margin: 0; padding: 0; list-style: none; }
.kg-mobile-root > li { margin: 0; padding: 0; }
.kg-mobile-root > li:first-child > .kg-mobile-guide { margin-top: 0; }
.kg-mobile-root > li > .kg-mobile-guide > summary { font-size: 14px; }
.kg-mobile-root > li > .kg-mobile-guide .kg-nav__link-title { font-size: 14px; font-weight: inherit; }
.kg-mobile-root > li > .kg-mobile-urgent { margin-top: 24px; justify-content: flex-start; }
.kg-mobile-root .kg-mobile-urgent .kg-nav__link-note { margin: 0; color: inherit; }
.kg-mobile-root > li > .kg-nav__line { display: flex; margin-top: 14px; }
.kg-mobile-root > li > .kg-nav__plain { padding: 14px 2px; }

@media (min-width: 960px) {
  #header .l-header__logo, #fix_header .l-fixHeader__logo { flex-shrink: 0; margin-right: 24px; }
  #header .c-headLogo__img, #fix_header .c-headLogo__img { max-width: 230px; }
  #fix_header .l-fixHeader__inner { min-height: 72px; }
}
@media (max-width: 1100px) and (min-width: 960px) {
  #header .l-header__inner, #fix_header .l-fixHeader__inner { padding-left: 20px; padding-right: 20px; }
  #header .c-headLogo__img, #fix_header .c-headLogo__img { max-width: 190px; }
  .kg-nav__group > summary, .kg-nav__urgent { padding-left: 12px; padding-right: 12px; }
  .kg-nav__line { padding-right: 16px; padding-left: 16px; }
  .kg-nav__panel--treatments { width: 440px; }
}
@media (max-width: 959px) {
  #header .l-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 8px 16px; gap: 12px; }
  #header .l-header__logo { position: static; width: auto; min-width: 0; margin: 0; padding: 0; transform: none; order: 0; }
  #header .c-headLogo__link { padding: 0; }
  #header .c-headLogo__img { width: 100%; max-width: 180px; height: auto; max-height: 48px; object-fit: contain; }
  #header .l-header__gnav { display: none; }
  .kg-mobile-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; order: 1; }
  .kg-mobile-actions .kg-nav__line { padding: 10px 12px; font-size: 11px; border-radius: 6px; }
  .kg-mobile-actions .c-iconBtn { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2px; width: 40px; min-height: 44px; color: #1f4d3f; }
  .kg-mobile-actions .c-iconBtn__icon { font-size: 23px; }
  .kg-menu-label { margin-top: 3px; font-size: 9px; line-height: 1; }
  #steps, #clinic { scroll-margin-top: 84px; }
}
@media (max-width: 360px) {
  #header .l-header__inner { gap: 8px; padding-right: 10px; padding-left: 10px; }
  .kg-mobile-actions { gap: 6px; }
  .kg-mobile-actions .kg-nav__line { padding: 10px; }
  .kg-sp-menu .p-spMenu__body { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .kg-nav__chevron { transition: none; }
}
