#header.hb-header { background:#fff; color:var(--ink,#172e53); position:relative; z-index:5; }
.hb-header,.hb-header * { box-sizing:border-box; }
.hb-header .hb-row { background:var(--hb-row-bg,#fff); color:var(--hb-row-ink,inherit); border-bottom:var(--hb-lineWidth,1px) solid var(--hb-row-line,#e9e9e9); }
.hb-header .hb-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:var(--hb-align,flex-start); gap:var(--hb-gap,12px); padding-block:var(--hb-pad,8px); }
.hb-header .hb-item { max-width:100%; min-width:0; color:var(--hb-ink,inherit); }
.hb-header .hb-row:not(:has(.hb-item:not([hidden]))),.hb-header .hb-row[data-off],.hb-header .hb-item[hidden],
.hb-header[data-ready=desktop] [data-device=mobile],.hb-header[data-ready=mobile] [data-device=desktop] {display:none}
.hb-header .hb-item--brand img,.hb-header .hb-item--image img {width:var(--hb-width,190px);max-width:100%;height:auto;display:block;}
.hb-header .hb-item--menu:has(.hb-directions) {flex:1 1 auto}
.hb-header .hb-item--details,.hb-header .address,.hb-header .hb-item--address >span {display:grid;align-content:center;gap:2px}
.hb-header .address {border:0;padding:0}
.hb-header .hb-item small {display:block;color:var(--hb-muted,#546679);font-size:12px}
.hb-header .hb-item a {color:var(--hb-ink,inherit);text-decoration:none}
.hb-header .hb-item a:hover,.hb-header .hb-item a:focus-visible {color:var(--hb-hover,var(--md-accent,#1a7d87))}
.hb-header .hb-item .phone {font-weight:600;white-space:nowrap;color:var(--hb-ink,var(--md-accent,#1a7d87))}
.hb-header .hb-item :is(.i,.hb-disclose) {color:var(--hb-icon,inherit)}
#header.hb-header .hb-item .book {background:var(--hb-bg,var(--md-accent,#1a7d87));color:var(--hb-ink,white);border:var(--hb-borderWidth,1px) solid var(--hb-border,transparent);border-radius:var(--hb-radius,8px)}
#header.hb-header .hb-item .book:is(:hover,:focus-visible) {background:var(--hb-bgHover,var(--md-accent-hover,#146872));color:var(--hb-hover,white)}
.hb-header .hb-item--text,.hb-header .hb-item--hours {overflow-wrap:anywhere}
.hb-header .hb-divider {display:block;height:28px;width:var(--hb-width,1px);background:var(--hb-border,#d4dddd)}
.hb-header .hb-menu {display:block;position:relative;min-width:0;max-width:100%;color:inherit}
.hb-header .hb-links {list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px}
.hb-header .hb-directions > .hb-menu-body > .hb-links {justify-content:space-between}
.hb-header .hb-links li {display:flex;align-items:center;position:relative;min-width:0}
.hb-header .hb-links li > a,.hb-header .hb-links li > span {display:block;padding:8px 0;overflow-wrap:anywhere;font:500 15px/1.4 var(--md-site-font,Inter,Arial,sans-serif)}
.hb-header .hb-links a[aria-current=page] {color:var(--hb-active,var(--md-accent,#1a7d87))}
.hb-header :is(.hb-disclose,.hb-trigger) {cursor:pointer;min-height:36px;border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;gap:5px}
.hb-header .hb-disclose {min-width:24px;padding:3px}
.hb-header .hb-disclose svg {width:13px;height:13px}
.hb-header .hb-trigger {display:none;padding:8px 12px;color:var(--hb-ink,inherit);background:var(--hb-bg,transparent);border:var(--hb-borderWidth,1px) solid var(--hb-border,#dae4e4);border-radius:var(--hb-radius,8px)}
.hb-header .hb-trigger:hover {background:var(--hb-bgHover,#f4f8f8);color:var(--hb-hover,var(--md-accent,#1a7d87))}
.hb-header .hb-sub,.hb-header [data-compact=always] > .hb-menu-body {position:absolute;z-index:6;inset:auto auto auto 0;top:100%;min-width:min(275px,85vw);width:max-content;max-width:min(460px,90vw);max-height:min(65vh,600px);overflow:auto;background:var(--hb-panel,white);color:var(--hb-panelInk,#172e53);border:1px solid var(--hb-line,#e0e8e8);padding:8px 14px;border-radius:8px;box-shadow:0 6px 20px #132a331c}
.hb-header .hb-sub .hb-links,.hb-header [data-compact=always] > .hb-menu-body > .hb-links {display:grid;gap:0}
.hb-header .hb-sub li,.hb-header [data-compact=always] .hb-links li {flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid var(--hb-line,#e9e9e9)}
.hb-header .hb-sub .hb-sub,.hb-header [data-compact=always] .hb-sub {position:static;width:100%;min-width:0;border:0;box-shadow:none;padding:0 0 0 12px;max-height:none}
.hb-header .hb-sub a,.hb-header [data-compact=always] .hb-links a {color:var(--hb-panelInk,inherit)}
.hb-header .hb-sub a:hover,.hb-header [data-compact=always] .hb-links a:hover {color:var(--hb-panelHover,var(--md-accent,#1a7d87))}
.hb-header .hb-sub a[aria-current],.hb-header [data-compact=always] .hb-links a[aria-current] {color:var(--hb-panelActive,var(--md-accent,#1a7d87))}
.hb-header .hb-align-end {left:auto!important;right:0}
.hb-header[data-ready] .hb-disclose[aria-expanded=false] + .hb-sub,
.hb-header[data-ready] [data-compact=always] > .hb-trigger[aria-expanded=false] + .hb-menu-body {display:none}
.hb-header[data-ready] [data-compact=always] > .hb-trigger {display:inline-flex}
.hb-header[data-ready=desktop] .book-short {display:none}
.hb-header :focus-visible {outline:2px solid currentColor;outline-offset:2px}
@media(min-width:901px){.hb-header:not([data-ready]) [data-device=mobile] {display:none}}
@media(max-width:900px){
 .hb-header:not([data-ready]) {display:flex;flex-wrap:wrap;align-items:center;gap:8px}
 .hb-header:not([data-ready]) :is(.hb-row,.hb-inner) {display:contents}
 .hb-header:not([data-ready]) .hb-item {order:var(--hb-mobile-order)}
 .hb-header:not([data-ready]) .hb-item:not([data-on-mobile]) {display:none}
 .hb-header .hb-item--brand img,.hb-header .hb-item--image img {width:var(--hb-mobileWidth,var(--hb-width,130px))}
 .hb-header .book-long {display:none}.hb-header .book-short {display:inline}
 .hb-header .hb-item .messengers {display:flex}
 .hb-header .hb-item--details .phone {font-size:15px}
 .hb-header[data-ready] [data-compact=mobile] > .hb-trigger {display:inline-flex}
 .hb-header[data-ready] [data-compact=mobile] > .hb-trigger[aria-expanded=false] + .hb-menu-body {display:none}
 .hb-header [data-compact=mobile] > .hb-menu-body {position:absolute;z-index:6;top:100%;min-width:min(250px,82vw);max-width:90vw;max-height:62vh;overflow:auto;background:var(--hb-panel,white);color:var(--hb-panelInk,#172e53);padding:8px 14px;border:1px solid var(--hb-line,#ddd);border-radius:8px}
 .hb-header [data-compact=mobile] .hb-links {display:grid;gap:0}
 .hb-header [data-compact=mobile] .hb-links li {flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid var(--hb-line,#e9e9e9)}
 .hb-header [data-compact=mobile] .hb-sub {position:static;width:100%;min-width:0;border:0;padding:0 0 0 12px;box-shadow:none}
 .hb-header [data-compact=mobile] .hb-links a {color:var(--hb-panelInk,inherit)}
 .hb-header [data-compact=mobile] .hb-links a:hover {color:var(--hb-panelHover,var(--md-accent))}
 .hb-header [data-compact=mobile] .hb-links a[aria-current] {color:var(--hb-panelActive,var(--md-accent))}
}


.hb-header .phone > svg {display:none}
.hb-header .hb-item:not(.hb-item--booking,.hb-item--button,.hb-item--services) {background-color:var(--hb-bg,transparent);border:var(--hb-borderWidth,0) solid var(--hb-border,transparent);border-radius:var(--hb-radius,0)}
.hb-header .hb-item:not(.hb-item--booking,.hb-item--button,.hb-item--services):hover {background-color:var(--hb-bgHover,var(--hb-bg,transparent));color:var(--hb-hover,var(--hb-ink,inherit))}
.hb-header .hb-item .messenger img {width:var(--hb-width,32px);height:auto}.hb-header .hb-item .messenger {width:auto;min-width:40px}
.hb-header:not([data-ready]) :is(.hb-sub,.hb-menu-body) {position:static;max-height:none;box-shadow:none}
@media(max-width:900px){
 .hb-header [data-compact-info].hb-item--address .line-one {display:none}
 .hb-header [data-compact-info] .phone {display:grid;place-items:center;min-width:30px;min-height:44px}.hb-header [data-compact-info] .phone svg{display:block;width:21px;height:21px}
 .hb-header [data-compact-info] .phone span,.hb-header [data-compact-info].hb-item--navigation .hb-trigger span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .hb-header [data-compact-info].hb-item--details small,.hb-header [data-compact-info].hb-item--navigation .hb-trigger svg:last-child{display:none}
 .hb-header [data-compact-info].hb-item--navigation .hb-trigger {padding:8px}.hb-header [data-compact-info].hb-item--navigation .hb-trigger svg{width:20px;height:20px}
 .hb-header .hb-item--hours {font-size:12px}.hb-header .hb-item .messenger {min-width:30px;min-height:36px;height:auto}.hb-header .hb-item .messenger img{width:var(--hb-mobileWidth,var(--hb-width,26px))}
}

/* Явные параметры элемента имеют приоритет над общими настройками кнопок сайта. */
#header.hb-header .hb-item[style*="--hb-bg:"] :is(#book,.book) {background-color:var(--hb-bg)}
#header.hb-header .hb-item[style*="--hb-ink:"] :is(#book,.book) {color:var(--hb-ink)}
#header.hb-header .hb-item[style*="--hb-border:"] :is(#book,.book) {border-color:var(--hb-border)}
#header.hb-header .hb-item[style*="--hb-radius:"] :is(#book,.book) {border-radius:var(--hb-radius)}
#header.hb-header .hb-item[style*="--hb-bgHover:"] :is(#book,.book):is(:hover,:focus-visible) {background-color:var(--hb-bgHover)}
#header.hb-header .hb-item[style*="--hb-hover:"] :is(#book,.book):is(:hover,:focus-visible) {color:var(--hb-hover)}
.hb-header .address:is(:hover,:focus-visible) .line-one {color:var(--hb-hover,inherit)}
.hb-header .hb-item--details .phone:is(:hover,:focus-visible),.hb-header .hb-item--phone .phone:is(:hover,:focus-visible) {color:var(--hb-hover,var(--md-accent-hover))}
.hb-header .hb-item[data-compact-info] .phone .i {color:var(--hb-icon,inherit)}
.hb-header .book {max-width:100%;white-space:normal;overflow-wrap:anywhere}
.hb-header .hb-trigger {max-width:100%;overflow-wrap:anywhere}

.hb-header .hb-item .messenger {position:relative;background:var(--hb-bg,transparent);border-radius:var(--hb-radius,8px)}
.hb-header .hb-item .messenger:hover {background-color:var(--hb-bgHover,var(--hb-bg,transparent))}
.hb-header .hb-item--social[style*="--hb-icon:"] .messenger img,.hb-header .messenger[style*="--hb-icon:"] img {opacity:0}
.hb-header .hb-item--social[style*="--hb-icon:"] .messenger::after,.hb-header .messenger[style*="--hb-icon:"]::after {content:"";position:absolute;inset:0;background:var(--hb-icon);mask:var(--hb-social-image) center / var(--hb-width,32px) auto no-repeat;pointer-events:none}
@media(max-width:900px){.hb-header .hb-item--social[style*="--hb-icon:"] .messenger::after,.hb-header .messenger[style*="--hb-icon:"]::after {mask-size:var(--hb-mobileWidth,var(--hb-width,26px)) auto}}

@media(max-width:480px){
 .hb-header .hb-item--address[data-compact-info]{max-width:min(42%,150px)}
 .hb-header .hb-item--address[data-compact-info] small {font-size:11.5px;line-height:1.35;white-space:normal}
 .hb-header .hb-item--hours {max-width:36%;font-size:11.5px;line-height:1.35}
 .hb-header .hb-item--brand img {width:var(--hb-mobileWidth,var(--hb-width,115px))}
 #header.hb-header .hb-item .book {padding-inline:12px}
}
.hb-header:not([data-ready]) .hb-links li:not(:hover,:focus-within) > .hb-sub {display:none}
.hb-header:not([data-ready]) [data-compact=always] > .hb-trigger {display:inline-flex}
.hb-header:not([data-ready]) [data-compact=always]:not(:hover,:focus-within) > .hb-menu-body {display:none}
@media(max-width:900px){
 .hb-header:not([data-ready]) [data-compact=mobile] > .hb-trigger {display:inline-flex}
 .hb-header:not([data-ready]) [data-compact=mobile]:not(:hover,:focus-within) > .hb-menu-body {display:none}
}

/* Широкая панель привязана к ряду, а ссылки выровнены по контейнеру сайта. */
.hb-row:has(.hb-menu[data-dropdown=wide]) {position:relative}
.hb-header .hb-menu[data-dropdown=wide],
.hb-header [data-dropdown=wide] > .hb-menu-body > .hb-links > li {position:static}
.hb-header [data-dropdown=wide] .hb-sub.mega,
.hb-header [data-dropdown=wide][data-compact=always] > .hb-menu-body {
 position:absolute; inset:100% 0 auto; width:auto; min-width:0; max-width:none;
 max-height:72vh; overflow:auto; padding:0; border:0; border-radius:0;
 background:var(--hb-panel,#fff); color:var(--hb-panelInk,#172e53);
 border-bottom:1px solid var(--hb-line,var(--rule,#e9e9e9)); box-shadow:0 12px 22px #172e5314;
}
.hb-header [data-dropdown=wide] .treatment-list li {
 display:block; min-width:0; border:0; border-top:1px solid var(--hb-line,var(--rule,#e9e9e9));
}
.hb-header [data-dropdown=wide] .treatment-list li > a {
 display:flex; align-items:center; justify-content:space-between; gap:8px;
 padding:12px 1px; min-height:51px; color:var(--hb-panelInk,inherit);
}
.hb-header [data-dropdown=wide] .treatment-list a .i {flex:none; color:var(--hb-icon,var(--deep))}
.hb-header [data-dropdown=wide] .treatment-list a:is(:hover,:focus-visible) {
 color:var(--hb-panelHover,var(--deep)); text-decoration:underline; text-underline-offset:4px;
}
.hb-header [data-dropdown=wide] .treatment-list a[aria-current=page] {color:var(--hb-panelActive,var(--deep))}
.hb-header [data-dropdown=wide] .hb-wide-children {list-style:none; margin:0; padding-inline-start:1rem}
.hb-header [data-dropdown=wide] .hb-disclose[aria-expanded=true] > svg {transform:rotate(180deg)}
.hb-header [data-dropdown=wide][data-compact=always] > .hb-menu-body > .hb-links {
 max-width:1440px; margin-inline:auto; padding:8px 15px;
}
.hb-header [data-dropdown=wide][data-compact=always] .hb-sub.mega {
 position:static; flex-basis:100%; max-height:none; overflow:visible; border:0; box-shadow:none;
}
.hb-header [data-dropdown=wide][data-compact=always] .mega-inner {padding-inline:0}
@media(min-width:901px){
 .hb-header [data-dropdown=wide]:not([data-compact=always]) > .hb-menu-body > .hb-links > li:has(> [aria-expanded=true]) > :is(a,button:first-child) {
  color:var(--hb-active,var(--deep)); box-shadow:inset 0 -3px var(--gold,#ffc107);
 }
}
@media(max-width:900px){
 .hb-header .hb-item:has(> [data-dropdown=wide][data-compact=never]) {flex:1 1 100%}
 .hb-header [data-dropdown=wide][data-compact=never] > .hb-menu-body > .hb-links {display:grid; grid-template-columns:minmax(0,1fr)}
 .hb-header [data-dropdown=wide][data-compact=mobile] > .hb-menu-body {
  inset:100% 0 auto; width:auto; min-width:0; max-width:none; padding:0 15px;
  border:0; border-bottom:1px solid var(--hb-line,var(--rule)); border-radius:0;
 }
 .hb-header [data-dropdown=wide] .hb-sub.mega {position:static; flex-basis:100%; max-height:none; overflow:visible; border:0; box-shadow:none}
 .hb-header [data-dropdown=wide] > .hb-menu-body > .hb-links > li {flex-wrap:wrap; justify-content:space-between}
 .hb-header [data-dropdown=wide] .mega-inner {padding-inline:0}
 .hb-header [data-dropdown=wide] .treatment-list li > a {min-height:44px; padding-block:8px}
 .hb-header .hb-item:only-child > [data-dropdown=wide][data-compact=mobile] > .hb-menu-body {
  position:static; max-height:none; overflow:visible; padding:0; border:0;
 }
}
