/* Source mega-menu geometry, shared by every route. Portalled directly to body. */
body.bazot-site #scrim{position:fixed;inset:0;z-index:10000;background:#06152baa;backdrop-filter:blur(3px)}
body.bazot-site #drawer{position:fixed!important;top:0;bottom:auto;left:0;right:auto;width:min(490px,94vw);max-width:94vw;height:100dvh;max-height:100dvh;z-index:10001;display:flex;flex-direction:column;border-radius:0 24px 24px 0;overflow:hidden;box-sizing:border-box;transform:translateX(-105%)}
body.bazot-site #drawer.open{transform:none}
body.bazot-site #drawer.bazot-category-popup{top:var(--bazot-popup-top,100px)!important;left:var(--bazot-popup-left,16px)!important;right:auto!important;bottom:auto!important;width:var(--bazot-popup-width,min(1200px,calc(100vw - 32px)))!important;max-width:calc(100vw - 32px)!important;height:auto;min-height:0;max-height:calc(100dvh - var(--bazot-popup-top,100px) - 16px);border:1px solid #ffffffae;border-radius:22px;background:linear-gradient(135deg,#ffffffed,#e9f4f9ed);backdrop-filter:blur(32px) saturate(1.65);transform:translateY(-12px);opacity:0;pointer-events:none}
body.bazot-site #drawer.bazot-category-popup.open{transform:none;opacity:1;pointer-events:auto}
body.bazot-site #drawer .drawer-top{display:flex;align-items:center;justify-content:space-between;flex:none;padding:16px 23px;border-bottom:1px solid var(--line);background:#ffffff80}
body.bazot-site #drawer .drawer-inner{min-height:0;overflow:auto;padding:17px 21px 23px}
body.bazot-site #drawer .bazot-mega-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px;align-items:start;direction:inherit}
body.bazot-site #drawer .bazot-full-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:385px;overflow:auto;scrollbar-width:thin;padding:3px 14px 12px 7px!important}
body.bazot-site #drawer .drawer-category{width:100%;min-width:0;min-height:55px;padding:10px;border:1px solid #e5edf1;border-radius:15px;background:#ffffff9c;color:var(--ink);font-family:inherit;font-size:12px;font-weight:700;line-height:1.8;text-align:start;cursor:pointer}
body.bazot-site #drawer .drawer-category.selected{background:#0a355b;color:white}
body.bazot-site #drawer .drawer-detail{margin:0;padding:22px;border:1px solid var(--line);border-radius:18px;background:#ffffffab;min-width:0}
body.bazot-site #drawer .drawer-detail h3{margin:0 0 16px;font-size:18px}
body.bazot-site #drawer .drawer-subcats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.bazot-site #drawer .drawer-subcats a{display:flex;align-items:center;min-height:48px;border:1px solid #e4ebee;border-radius:11px;padding:10px 12px;background:#f0f6f9;color:var(--ink);font-size:12px;text-decoration:none}
body.bazot-site #drawer .bazot-category-all{display:block;color:#007f98;padding:0 0 15px;border:0;font-size:12px}
body.bazot-site .bazot-language-switcher{display:flex;align-items:center;gap:5px;direction:rtl;font:700 12px/1.2 Vazirmatn,sans-serif}
body.bazot-site .bazot-language-link{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:44px;min-height:44px;padding:0 5px;border:1px solid transparent;border-radius:13px;color:var(--ink);text-decoration:none;box-sizing:border-box}
body.bazot-site .bazot-language-link[aria-current=true]{min-width:44px;background:#e8f4fa;border-color:#d5e2ed}
body.bazot-site #drawer .bazot-language-switcher a{padding:0 5px;display:inline-flex;border-bottom:0}
html[data-theme=dark] body.bazot-site #drawer{background:#10263e;color:var(--ink)}
html[data-theme=dark] body.bazot-site #drawer.bazot-category-popup{background:linear-gradient(135deg,#0d2943f5,#173b51f5);border-color:#6ca5b14a}
html[data-theme=dark] body.bazot-site #drawer :is(.drawer-top,.drawer-detail,.drawer-category,.drawer-subcats a){background:#17344f;color:var(--ink);border-color:#37566d}
html[data-theme=dark] body.bazot-site #drawer .drawer-category.selected{background:#058fa7}
html[data-theme=dark] body.bazot-site .bazot-language-link[aria-current=true]{background:#15354c;border-color:#356178}
@media(max-width:900px){body.bazot-site #drawer .bazot-mega-layout{display:block}body.bazot-site #drawer .bazot-full-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:240px}body.bazot-site #drawer .drawer-detail{margin-top:18px}body.bazot-site #drawer .drawer-subcats{grid-template-columns:1fr}body.bazot-site #drawer .locale-tools{display:flex!important}body.bazot-site #drawer .drawer-inner{padding:16px}}
@media(prefers-reduced-motion:reduce){body.bazot-site #drawer{transition:none}}

body.bazot-site .locale-tools .bazot-language-switcher .lang-toggle{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:64px;min-width:64px;height:44px;min-height:44px;padding:0 5px;border:1px solid #cbdfe8;border-radius:13px;background:linear-gradient(145deg,#f6fbff,#e8f4fa);color:#127a94;font-size:11px;font-weight:800;box-shadow:0 3px 9px #07182f09;text-decoration:none}
body.bazot-site .locale-tools .bazot-language-switcher .lang-toggle:hover{background:linear-gradient(135deg,#08617b,#05a9b8);border-color:#23a9c5;color:white}
html[data-theme=dark] body.bazot-site .locale-tools .bazot-language-switcher .lang-toggle{background:linear-gradient(145deg,#15354c,#0e2840);border-color:#356178;color:#64c8d9}
