/* Isolated navigation; native header returns when this plugin is deactivated. */
.dkn-header { --dkn-styles-ready:1; --dkn-ink:#182a5c; --dkn-pink:#a8528d; --dkn-line:#e8e1e7; position:fixed; inset:0 0 auto; z-index:10020; background:#fff; color:var(--dkn-ink); border-bottom:1px solid var(--dkn-line); font:400 15px/1.45 "PT Serif",Georgia,serif; }
.dkn-header *, .dkn-header *::before, .dkn-header *::after { box-sizing:border-box; }
.dkn-header [hidden] { display:none!important; }
body.dkn-enabled { --dkn-height:100px; }
body.dkn-enabled .mainHeader, body.dkn-enabled .btVerticalHeaderTop { display:none!important; }
body.dkn-enabled .btContentWrap { padding-top:var(--dkn-height)!important; margin-top:0!important; }
/* The legacy 110/150px section offset belongs to the replaced theme header. */
body.dkn-enabled:not(.home) .bt_bb_section:first-of-type { margin-top:0!important; }
.admin-bar .dkn-header { top:var(--dkn-admin-offset,32px); }
.dkn-inner { width:calc(100% - 48px); max-width:1320px; height:100px; margin:0 auto; display:flex; align-items:center; gap:28px; position:relative; }
.dkn-brand { display:block; flex:0 0 164px; width:164px; line-height:0; }
.dkn-header .dkn-logo { display:block; width:164px; height:auto; max-height:86px; object-fit:contain; }
.dkn-header a { color:var(--dkn-ink); text-decoration:none; }
.dkn-header a:hover { color:var(--dkn-pink); }
.dkn-header :is(a,button):focus-visible { outline:3px solid var(--dkn-pink); outline-offset:3px; }
.dkn-nav { flex:1; min-width:0; }
.dkn-header ul { list-style:none; margin:0; padding:0; }
.dkn-header li { list-style:none; margin:0; padding:0; }
.dkn-header li::before,.dkn-header li::after { content:none; }
.dkn-list { display:flex; justify-content:center; align-items:center; gap:8px; }
.dkn-item { position:relative; }
.dkn-list > .dkn-item { display:flex; align-items:center; }
.dkn-link { display:flex; align-items:center; min-height:44px; padding:10px 8px; font:inherit; white-space:nowrap; }
.dkn-link[aria-current="page"],.dkn-current-parent > .dkn-link { color:var(--dkn-pink); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:8px; }
.dkn-header button { appearance:none; border:0; box-shadow:none; background:transparent; color:var(--dkn-ink); font:inherit; cursor:pointer; margin:0; padding:0; }
.dkn-header .dkn-sub-toggle { display:grid; place-items:center; width:44px; min-width:44px; height:44px; }
.dkn-sub-toggle svg { width:16px; height:16px; transition:transform .16s ease-out; }
.dkn-sub-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
.dkn-header .dkn-panel { position:absolute; top:calc(100% + 28px); left:-120px; width:640px; max-width:calc(100vw - 48px); padding:16px; display:grid; grid-template-columns:1fr 1fr; gap:4px 12px; background:#fff; border:1px solid var(--dkn-line); border-radius:12px; box-shadow:0 18px 40px -20px rgba(24,42,92,.25); max-height:calc(100vh - 140px); max-height:calc(100dvh - 140px); overflow:auto; overscroll-behavior:contain; }
.dkn-panel .dkn-link { white-space:normal; padding:12px; border-radius:8px; min-height:48px; }
.dkn-panel .dkn-link:hover { background:#f8f5f7; }
.dkn-nested { padding-left:16px!important; }
.dkn-actions { display:flex; align-items:center; gap:20px; flex-shrink:0; }
.dkn-contact { display:flex; flex-direction:column; gap:2px; white-space:nowrap; }
.dkn-phone { font-size:17px; }
.dkn-hours { font-size:12px; color:#454658; }
.dkn-header .dkn-appointment { display:flex; align-items:center; justify-content:center; min-height:48px; padding:12px 20px; border-radius:10px; background:var(--dkn-pink); color:#fff; font:inherit; white-space:nowrap; }
.dkn-header .dkn-appointment:hover { background:#934579; color:#fff; }
.dkn-socials,.dkn-panel-contact { display:none; }
.dkn-mobile-contact,.dkn-mobile-phone,.dkn-menu-toggle { display:none!important; }
@media(min-width:1180px) {
  .dkn-panel-contact { display:block; grid-column:1 / -1; border-top:1px solid var(--dkn-line); padding:12px!important; }
  .dkn-panel-contact-inner { display:flex; justify-content:space-between; gap:20px; align-items:center; }
  .dkn-panel-socials { grid-column:1 / -1; border-top:1px solid var(--dkn-line); margin-top:8px!important; }
  .dkn-panel-socials .dkn-socials { display:flex; gap:24px; padding:8px 12px 0; }
  .dkn-panel-socials .dkn-social { display:flex; align-items:center; min-height:44px; font-size:14px; }
}
@media(max-width:1439px) and (min-width:1180px) {
  .dkn-inner { gap:18px; }
  .dkn-brand,.dkn-header .dkn-logo { width:144px; flex-basis:144px; }
  .dkn-list { gap:2px; }
  .dkn-link { padding-left:6px; padding-right:6px; font-size:14px; }
  .dkn-actions { gap:14px; }
}
@media(max-width:1179px) {
  body.dkn-enabled { --dkn-height:80px; }
  .dkn-inner { width:calc(100% - 32px); height:80px; gap:16px; justify-content:space-between; }
  .dkn-brand,.dkn-header .dkn-logo { width:134px; flex-basis:134px; max-height:70px; }
  .dkn-actions { gap:12px; }
  .dkn-contact { display:none; }
  .dkn-header .dkn-menu-toggle,.dkn-header .dkn-mobile-phone { display:grid!important; place-items:center; width:44px; height:44px; border-radius:8px; }
  .dkn-menu-toggle svg { width:24px; height:24px; }
  .dkn-close-icon { display:none; }
  .dkn-menu-open .dkn-open-icon { display:none; }
  .dkn-menu-open .dkn-close-icon { display:block; }
  .dkn-nav { position:absolute; left:-16px; right:-16px; top:100%; max-height:calc(100vh - 80px); max-height:calc(100dvh - 80px); overflow-y:auto; background:#fff; border-bottom:1px solid var(--dkn-line); padding:12px 24px calc(100px + env(safe-area-inset-bottom,0px)); overscroll-behavior:contain; }
  .admin-bar .dkn-nav { max-height:calc(100vh - 80px - var(--dkn-admin-offset,32px)); max-height:calc(100dvh - 80px - var(--dkn-admin-offset,32px)); }
  .dkn-list { display:block; }
  .dkn-panel-socials { display:none; }
  .dkn-list > .dkn-item { display:flex; flex-wrap:wrap; border-bottom:1px solid var(--dkn-line); }
  .dkn-list > .dkn-item > .dkn-link { flex:1; min-height:52px; padding:12px 4px; font-size:17px; }
  .dkn-header .dkn-sub-toggle { width:44px; min-width:44px; height:52px; }
  .dkn-header .dkn-panel { position:static; width:100%; max-width:none; max-height:none; padding:0 0 12px 12px; border:0; box-shadow:none; border-radius:0; grid-template-columns:1fr; gap:0; overflow:visible; }
  .dkn-panel .dkn-link { padding:12px; font-size:16px; }
  .dkn-mobile-contact { display:flex!important; flex-direction:column; gap:4px; padding-top:20px; }
  .dkn-socials { display:flex; gap:20px; padding-top:12px; }
  .dkn-social { display:flex; align-items:center; min-height:44px; font-size:14px; }
}
@media(max-width:600px) {
  body.dkn-enabled { --dkn-height:76px; }
  .dkn-inner { height:76px; gap:8px; width:calc(100% - 24px); }
  .dkn-brand,.dkn-header .dkn-logo { width:122px; flex-basis:122px; max-height:64px; }
  .dkn-actions { gap:6px; }
  .dkn-header .dkn-appointment { min-height:44px; padding:10px 12px; font-size:13px; }
  .dkn-header .dkn-mobile-phone { display:none!important; }
  .dkn-nav { left:-12px; right:-12px; padding-left:20px; padding-right:20px; max-height:calc(100vh - 76px); max-height:calc(100dvh - 76px); }
  .admin-bar .dkn-nav { max-height:calc(100vh - 76px - var(--dkn-admin-offset,46px)); max-height:calc(100dvh - 76px - var(--dkn-admin-offset,46px)); }
}
@media(max-width:782px) { .admin-bar .dkn-header { top:var(--dkn-admin-offset,46px); } }
@media(prefers-reduced-motion:reduce) { .dkn-sub-toggle svg { transition:none; } }

@media(max-width:360px) { .dkn-brand,.dkn-header .dkn-logo { width:108px; flex-basis:108px; } .dkn-header .dkn-appointment { padding-left:8px; padding-right:8px; } }

.dkn-header .dkn-nzok { min-width:44px; justify-content:center; }
.dkn-header .dkn-nzok-logo { display:block; width:36px; height:36px; object-fit:contain; }

.dkn-header .dkn-panel .dkn-parent,.dkn-header .dkn-nested .dkn-parent { display:flex; flex-wrap:wrap; align-items:center; }
.dkn-header .dkn-panel .dkn-parent > .dkn-link,.dkn-header .dkn-nested .dkn-parent > .dkn-link { flex:1; }
.dkn-header .dkn-nested { width:100%; flex-basis:100%; }
