/* Shared header: homepage colours, ordering and indented service groups. */
#jp-header.ms-site-header,
#ms-salon-dialog { color:#504842; background:#f9f9f9; font:400 16px/1.45 Jost,Arial,sans-serif; text-align:left; }
#jp-header.ms-site-header { position:sticky; top:0; z-index:90100; width:100%; margin:0; border:0; }
#jp-header.ms-site-header *, #ms-salon-dialog * { box-sizing:border-box; }
#jp-header.ms-site-header a { color:#504842; text-decoration:none; }
#jp-header ul { list-style:none; margin:0; padding:0; }
#jp-header.ms-site-header li { margin:0; padding:0; }
#jp-header .jp-header__inner { box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; width:calc(100% - 48px); max-width:1100px; min-height:80px; height:auto; margin:0 auto; padding:15px 0 0; gap:24px; }
#jp-header .ms-header-home { display:block; flex:0 0 100px; }
#jp-header .jp-logo { display:block; width:100px; height:45px; max-width:none; object-fit:contain; }
#jp-header #jp-navigation { position:static; display:block; flex:1; min-width:0; margin:0; padding:0; width:auto; height:auto; max-height:none; overflow:visible; background:transparent; border:0; animation:none; }
#jp-header .ms-header-primary { display:flex; flex-flow:row nowrap; align-items:center; justify-content:center; gap:16px; font:300 14px/1.45 Jost,Arial,sans-serif; white-space:nowrap; }
#jp-header .ms-header-primary>li>a { display:block; padding:12px 0; }
#jp-header .jp-services { position:relative; }
#jp-header .jp-services>summary { display:flex; align-items:center; justify-content:flex-start; gap:6px; padding:12px 0; list-style:none; font:inherit; cursor:pointer; }
#jp-header .jp-services>summary::-webkit-details-marker { display:none; }
#jp-header .jp-services>summary::after { content:''; width:0; height:0; border:3px solid transparent; border-top-color:currentColor; transform:translateY(2px); }
#jp-header .jp-services[open]>summary::after { transform:translateY(-2px) rotate(180deg); }
#jp-header .jp-services>.ms-header-services { position:absolute; top:100%; left:-16px; width:300px; min-width:0; max-height:calc(100dvh - 110px); overflow-y:auto; overscroll-behavior:contain; margin:0; padding:10px 12px; border:1px solid #d8d0c1; border-radius:8px; background:#f9f9f9; box-shadow:0 12px 25px #50484218; text-align:left; white-space:normal; font:400 14px/1.4 Jost,Arial,sans-serif; animation:none; }
#jp-header .ms-header-services a { display:block; padding:7px 8px; border-radius:4px; }
#jp-header .ms-header-services .ms-header-parent { font-weight:500; }
#jp-header .ms-header-service-group+.ms-header-service-group { margin-top:5px; }
#jp-header .ms-header-children { padding-left:16px; }
#jp-header .ms-header-children a { font-size:13px; font-weight:400; }
#jp-header .ms-header-services a:hover { background:#eee9df; }
#jp-header .jp-header__actions { display:flex; flex-direction:row; align-items:center; gap:10px; flex-shrink:0; margin:0; }
#jp-header .jp-header__actions--mobile { display:none; }
#jp-header.ms-site-header .jp-header__booking, #jp-header.ms-site-header .jp-header__salon { display:inline-flex; align-items:center; justify-content:center; width:auto; min-height:45px; height:auto; padding:10px 18px; border:1px solid #504842; border-radius:8px; background:#504842; color:#fffae9; font:400 16px/1.4 Jost,Arial,sans-serif; white-space:nowrap; }
#jp-header .jp-header__booking:hover, #jp-header .jp-header__salon:hover { background:#6a6058; border-color:#6a6058; }
#jp-header .jp-menu-toggle { display:none; }
#jp-header :is(a,button,summary):focus-visible, #ms-salon-dialog :is(a,button):focus-visible { outline:2px solid #504842; outline-offset:4px; }
#ms-salon-dialog { box-sizing:border-box; width:min(560px,calc(100% - 40px)); max-height:calc(100dvh - 40px); overflow:auto; margin:auto; padding:56px 32px 32px; border:0; border-radius:8px; text-align:center; }
#ms-salon-dialog::backdrop { background:#0009; }
#ms-salon-dialog h2 { margin:0 0 24px; font:400 30px/1.2 'Marcellus SC',Georgia,serif; }
#ms-salon-dialog>a, #ms-salon-dialog .jp-salon-soon { display:block; margin-top:16px; padding:16px 20px; border:1px solid #504842; border-radius:10px; color:#504842; text-decoration:none; font:400 16px/1.45 Jost,Arial,sans-serif; }
#ms-salon-dialog .jp-salon-soon { border-color:#c7c7c7; color:#777; }
#ms-salon-dialog .jp-salon-close { position:absolute; right:12px; top:8px; width:44px; height:44px; padding:0; border:0; background:transparent; color:#504842; font:400 32px/1 Jost,Arial,sans-serif; cursor:pointer; }
/* Replaced Tilda headers are in normal flow; their old mobile spacer is obsolete. */
html body.t-body #allrecords.t-records:has(> #jp-header.ms-site-header) { padding-top:0!important; }
@media(min-width:981px) and (max-width:1199px) {
 #jp-header .jp-header__inner { width:calc(100% - 40px); gap:16px; }
 #jp-header .ms-header-primary { gap:10px; font-size:12px; }
 #jp-header.ms-site-header .jp-header__booking, #jp-header.ms-site-header .jp-header__salon { padding-inline:12px; font-size:14px; }
}
@media(max-width:980px) {
 #jp-header .jp-header__inner { width:100%; min-height:80px; height:auto; padding:16px 24px; gap:0; flex-wrap:wrap; }
 #jp-header .jp-logo { width:100px; height:45px; }
 #jp-header .jp-menu-toggle:not([hidden]) { display:flex; flex-direction:column; justify-content:center; gap:5px; position:relative; width:44px; height:44px; min-height:44px; margin:0 0 0 auto; padding:10px; border:0; border-radius:0; background:transparent; color:#504842; cursor:pointer; }
 #jp-header .jp-menu-toggle::before { content:none; }
 #jp-header .jp-menu-toggle span { display:block; width:24px; height:2px; background:currentColor; transition:transform .15s,opacity .15s; }
 #jp-header .jp-menu-toggle[aria-expanded=true] span:first-child { transform:translateY(7px) rotate(45deg); }
 #jp-header .jp-menu-toggle[aria-expanded=true] span:nth-child(2) { opacity:0; }
 #jp-header .jp-menu-toggle[aria-expanded=true] span:last-child { transform:translateY(-7px) rotate(-45deg); }
 #jp-header #jp-navigation { flex-basis:100%; padding:20px 0; }
 #jp-header.ms-header-ready #jp-navigation { display:none; position:absolute; top:100%; left:0; right:0; max-height:calc(100dvh - var(--ms-header-height,80px) - 12px); overflow-y:auto; overscroll-behavior:contain; padding:20px 24px calc(110px + env(safe-area-inset-bottom,0px)); background:#f9f9f9; box-shadow:0 12px 25px #50484218; }
 #jp-header.ms-header-ready #jp-navigation.is-open { display:block; }
 #jp-header .ms-header-primary { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:4px; text-align:left; white-space:normal; font:300 17px/1.4 Jost,Arial,sans-serif; }
 #jp-header .ms-header-primary>li>a, #jp-header .jp-services>summary { padding:12px 0; }
 #jp-header .jp-services>.ms-header-services { position:static; width:100%; max-height:none; overflow:visible; margin:0 0 12px; padding:4px 0 4px 12px; border:0; border-left:1px solid #d8d0c1; border-radius:0; box-shadow:none; font-size:16px; }
 #jp-header .ms-header-services a { padding:11px 8px; }
 #jp-header .ms-header-children a { font-size:15px; }
 #jp-header .jp-header__actions--desktop { display:none; }
 #jp-header .jp-header__actions--mobile { display:flex; align-items:stretch; flex-direction:column; gap:10px; margin-top:24px; }
}
@media(prefers-reduced-motion:reduce) { #jp-header .jp-menu-toggle span { transition:none; } }
