/* OstadHonar public header v2 — scoped to the public index. */
:root { --oh-nav-ink:#18238f; --oh-nav-teal:#087d78; --oh-nav-gold:#98924d; --oh-bottom-h:calc(68px + env(safe-area-inset-bottom, 0px)); --oh-public-header-h:136px; }
#topmenuw { background:#fff; box-shadow:0 3px 12px rgba(24,35,143,.07); border-bottom:1px solid var(--oh-nav-gold); box-sizing:border-box; }
#topmenu.oh-logo-header { display:flex; align-items:center; justify-content:space-between; height:76px; max-width:1450px; padding:0 22px; gap:14px; box-sizing:border-box; }
#topmenu .oh-header-nav,#topmenu .oh-header-auth { display:flex; align-items:center; gap:17px; min-width:0; }
#topmenu .oh-header-auth { direction:ltr; gap:9px; }
#topmenu .oh-header-auth>* { direction:rtl; }
#topmenu .oh-header-nav>a,#topmenu .oh-header-auth>a { flex:0 0 auto; float:none; margin:0; white-space:nowrap; box-sizing:border-box; }
#topmenu a.oh-header-brand { display:flex; align-items:center; justify-content:center; background:transparent; padding:0; margin-left:4px; }
#topmenu a.oh-header-brand img { display:block; height:60px; width:auto; max-width:100%; object-fit:contain; }
#topmenu .oh-header-nav>a.topmenu_link { display:inline-flex; align-items:center; height:42px; line-height:1.5; padding:0; color:var(--oh-nav-ink); background:transparent; border-radius:0; font-size:13px; font-weight:650; position:relative; }
#topmenu .oh-header-nav>a.topmenu_link:hover,#topmenu .oh-header-nav>a.oh-home-active { color:var(--oh-nav-teal); background:transparent; }
#topmenu .oh-header-nav>a.oh-home-active:after { content:""; position:absolute; bottom:3px; left:0; right:0; height:2px; border-radius:3px; background:#19b8af; }
#topmenu .oh-header-auth>a.topmenu_left_register,#topmenu .oh-header-auth>a.topmenu_left_start_learning,#topmenu .oh-header-auth>a.topmenu_left_login { display:inline-flex; justify-content:center; align-items:center; height:42px; line-height:1.5; padding:0 15px; border-radius:11px; font-size:13px; font-weight:700; text-decoration:none; box-shadow:none; background-image:none; }
#topmenu .oh-header-auth>a.topmenu_left_register { border:1px solid var(--oh-nav-ink); background:#fff; color:var(--oh-nav-ink); }
#topmenu .oh-header-auth>a.topmenu_left_register:hover { background:#f1f3fc; }
#topmenu .oh-header-auth>a.topmenu_left_start_learning { border:1px solid var(--oh-nav-teal); background:var(--oh-nav-teal); color:#fff; }
#topmenu .oh-header-auth>a.topmenu_left_start_learning:hover { background:#066660; }
#topmenu .oh-header-auth>a.topmenu_left_login { background:#fff!important; border:1px solid #aa3434; color:#aa3434; }
#topmenu .oh-header-auth>a.topmenu_left_teacher_link { display:inline-flex; align-items:center; color:var(--oh-nav-ink); background:transparent; padding:0 5px; font-size:12px; height:42px; text-decoration:none; }
#topmenu .oh-header-auth>a.topmenu_left_teacher_link:hover { color:var(--oh-nav-teal); text-decoration:underline; }
#topmenu .oh-header-auth>span.topmenu_left_city { display:none; float:none; margin:0; color:#5a6070; background:transparent; padding:0; font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#topmenu .oh-header-auth>span.topmenu_left_profile { display:block; max-width:110px; }
#topmenu a:focus-visible,#oh-public-bottom :focus-visible,.oh-public-sheet :focus-visible { outline:2px solid var(--oh-nav-teal); outline-offset:3px; }
#oh-public-bottom,.oh-public-noscript { display:none; }
.oh-public-sheet:not([open]) { display:none; }
.oh-public-sheet { box-sizing:border-box; position:fixed; inset:auto 0 0; margin:0 auto; padding:0; width:min(100%,560px); max-width:100%; max-height: min(80vh, 690px); max-height:min(80dvh,690px); overflow:auto; overscroll-behavior:contain; border:1px solid #e5e8e7; border-radius:24px 24px 0 0; background:#fff; color:#202a3e; box-shadow:0 -10px 40px #18238f22; z-index:100002; text-align:right; line-height:1.7; }
.oh-public-sheet::backdrop { background:rgba(15,21,42,.53); }
.oh-sheet-heading { position:sticky; top:0; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:16px 20px; background:#fff; border-bottom:1px solid #edf0ef; z-index:1; }
.oh-sheet-heading h2 { margin:0; color:var(--oh-nav-ink); font-size:17px; font-weight:700; line-height:1.5; }
.oh-sheet-heading button { background:#f3f5f7; border:0; border-radius:12px; width:44px; height:44px; display:grid; place-items:center; color:var(--oh-nav-ink); cursor:pointer; padding:0; flex:none; }
.oh-sheet-heading svg,#oh-public-bottom svg { width:24px; height:24px; display:block; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.oh-sheet-content { padding:8px 20px calc(22px + env(safe-area-inset-bottom,0px)); }
.oh-sheet-content h3 { margin:12px 0 5px; color:#69717e; font-size:12px; font-weight:600; }
.oh-sheet-links a { display:flex; align-items:center; justify-content:space-between; min-height:46px; border-bottom:1px solid #eef0f2; color:#202a3e; text-decoration:none; font-size:14px; padding:7px 3px; box-sizing:border-box; }
.oh-sheet-links a:after { content:""; width:7px; height:7px; border-left:1.5px solid #69717e; border-bottom:1.5px solid #69717e; transform:rotate(45deg); margin-left:5px; flex:none; }
.oh-sheet-links a:hover { color:var(--oh-nav-teal); background:#f5faf9; }
.oh-sheet-links a.oh-sheet-logout { color:#aa3434; }
.oh-account-content p { color:#4e5867; font-size:14px; margin:10px 0 18px; }
.oh-account-content a { display:flex; align-items:center; justify-content:center; min-height:48px; margin:10px 0; border-radius:12px; font-size:14px; font-weight:700; text-decoration:none; }
.oh-account-content .oh-sheet-cta { background:var(--oh-nav-teal); color:#fff; border:1px solid var(--oh-nav-teal); }
.oh-account-content .oh-sheet-login { border:1px solid var(--oh-nav-ink); color:var(--oh-nav-ink); background:#fff; }
html.oh-sheet-open { overflow:hidden; }
#home-instruments,#children-music,#test-how,#consultation-form { scroll-margin-top:calc(var(--oh-public-header-h) + 12px); }
@media(min-width:1450px) { #topmenu .oh-header-auth>span.topmenu_left_city { display:block; } }
@media(min-width:1121px) and (max-width:1250px) { #topmenu.oh-logo-header { padding:0 13px; gap:8px; } #topmenu .oh-header-nav { gap:12px; } #topmenu .oh-header-nav>a.topmenu_link { font-size:12px; } #topmenu .oh-header-auth { gap:7px; } #topmenu .oh-header-auth>a.topmenu_left_register,#topmenu .oh-header-auth>a.topmenu_left_start_learning,#topmenu .oh-header-auth>a.topmenu_left_login { padding:0 10px; } #topmenu .oh-header-auth>a.topmenu_left_teacher_link { font-size:11px; } }
@media(max-width:1120px) {
 #topmenu.oh-logo-header { height:68px; padding:0 12px; justify-content:center; }
 #topmenu .oh-header-nav { justify-content:center; }
 #topmenu .oh-header-nav>a.topmenu_link,#topmenu .oh-header-auth { display:none!important; }
 #topmenu a.oh-header-brand { margin:0; }
 #topmenu a.oh-header-brand img { height:55px; }
 body { padding-bottom:var(--oh-bottom-h)!important; }
 #oh-public-bottom { box-sizing:border-box; position:fixed; z-index:99998; bottom:0; right:0; left:0; display:grid; grid-template-columns:repeat(var(--oh-bottom-cols,4),minmax(0,1fr)); height:var(--oh-bottom-h); padding:4px 6px calc(4px + env(safe-area-inset-bottom,0px)); gap:3px; border-top:1px solid #e5e9e7; background:#fff; box-shadow:0 -4px 20px rgba(24,35,143,.07); }
 #oh-public-bottom .oh-bottom-item { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-width:0; border:0; border-radius:12px; padding:3px 0; background:transparent; color:var(--oh-nav-ink); font:inherit; font-size:11px; font-weight:600; text-align:center; text-decoration:none; cursor:pointer; line-height:1.45; }
 #oh-public-bottom .oh-bottom-item span { max-width:100%; }
 #oh-public-bottom .oh-bottom-primary { color:var(--oh-nav-teal); background:#e9f7f4; font-weight:700; }
 #oh-public-bottom .oh-bottom-item:hover { background:#f0f5f7; }
 #oh-public-bottom .oh-bottom-primary:hover { background:#ddf2ed; }
 .oh-public-noscript { display:none; padding:14px; text-align:center; background:#fff; }
}
@media(max-width:650px) { /* Preserve the fixed booking/payment CTA above navigation. */
 .bk-v2 .bk-checkout { bottom:var(--oh-bottom-h)!important; }
}
@media(max-width:360px) { #oh-public-bottom .oh-bottom-item { font-size:10px; } #oh-public-bottom svg { width:23px;height:23px; } }
@media(prefers-reduced-motion:reduce) { #topmenu a,#oh-public-bottom a { transition:none; } }

@media(min-width:1121px){#topmenu .oh-header-nav{overflow-x:auto;scrollbar-width:thin} #topmenu .oh-header-auth{flex:none} #topmenu .oh-header-nav>a.topmenu_link{max-width:210px;overflow:hidden;text-overflow:ellipsis;display:inline-block;line-height:42px;} #topmenu .oh-header-nav>a.oh-header-brand{position:sticky;right:0;background:#fff;z-index:1;}}

@media(max-width:1120px){#oh-public-bottom .oh-bottom-item span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:1.35;} #oh-public-bottom svg{flex-shrink:0;}}
