/* Catalog UI 2.0.2. All geometry inherits the existing header grid. */
.kd-menu-root { --kd-ink:#123d51; --kd-accent:#ef7c39; position:fixed; inset:0; z-index:100050; pointer-events:none; color:var(--kd-ink); font-size:14px; line-height:1.5; }
.kd-menu-root[hidden],.kd-menu-root [hidden] { display:none!important; }
.kd-menu-root * { box-sizing:border-box; }
.kd-menu-backdrop { position:absolute; inset:var(--kd-menu-top,0) 0 0; background:#122e3d59; pointer-events:auto; }
.kd-menu-panel { position:absolute; top:var(--kd-menu-top,180px); left:var(--kd-menu-left,15px); width:var(--kd-menu-width,calc(100% - 30px)); max-height:calc(100vh - var(--kd-menu-top,180px) - 16px); max-height:calc(100dvh - var(--kd-menu-top,180px) - 16px); display:flex; flex-direction:column; background:#fff; border:1px solid #e4e9ec; border-radius:0 0 10px 10px; box-shadow:0 15px 35px #123d5130; pointer-events:auto; overflow:hidden; }
.kd-menu-toolbar { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 22px; border-bottom:1px solid #edf0f2; }
.kd-menu-toolbar h2 { margin:0; font-size:20px; line-height:1.3; font-weight:700; color:var(--kd-ink); }
.kd-menu-root button { font:inherit; cursor:pointer; text-transform:none; }
.kd-menu-close { display:flex; justify-content:center; align-items:center; flex:0 0 40px; width:40px; height:40px; padding:0; background:#fff; color:var(--kd-ink); border:1px solid #dce3e7; border-radius:6px; font-size:30px!important; line-height:1; }
.kd-menu-close:hover { background:#f3f6f7; color:var(--kd-ink); }
.kd-menu-body { display:grid; grid-template-columns:minmax(240px,29%) minmax(0,1fr); min-height:0; flex:1 1 auto; height:520px; }
.kd-menu-departments { overflow-y:auto; min-width:0; padding:10px; border-right:1px solid #e5eaed; overscroll-behavior:contain; scrollbar-width:thin; }
.kd-menu-row { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:46px; width:100%; margin:0; padding:11px 12px; text-align:left; border:0; border-radius:5px; background:#fff; color:var(--kd-ink); font:inherit; text-decoration:none; overflow-wrap:anywhere; }
.kd-menu-row:hover,.kd-menu-row.is-active { background:#fff0e6; color:var(--kd-ink); }
.kd-menu-row.is-active { box-shadow:inset 3px 0 var(--kd-accent); }
.kd-menu-row-label { flex:1; min-width:0; }
.kd-menu-chevron { font-size:24px; line-height:20px; color:#64818e; }
.kd-menu-icon { display:flex; flex:0 0 24px; align-items:center; width:24px; height:24px; }
.kd-menu-icon .menu_item { margin:0; }
.kd-menu-special-icon { display:block; width:24px; height:24px; color:var(--kd-ink); }
.kd-menu-special-icon.is-accent { color:var(--kd-accent); }
.kd-menu-detail { min-width:0; overflow-y:auto; padding:24px; overscroll-behavior:contain; scrollbar-width:thin; }
.kd-menu-detail-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding-bottom:20px; margin-bottom:22px; border-bottom:1px solid #e5eaed; }
.kd-menu-root h3 { font-size:21px; line-height:1.35; margin:0; color:var(--kd-ink); font-weight:700; }
.kd-menu-all { display:inline-block; color:#b34f19; font-weight:600; white-space:nowrap; text-underline-offset:3px; }
.kd-menu-all:hover { color:#963e13; text-decoration:underline; }
.kd-menu-groups { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px 22px; align-items:start; }
.kd-menu-group h4 { margin:0 0 10px; font-size:15px; line-height:1.45; font-weight:700; }
.kd-menu-group h4 a { color:var(--kd-ink); }
.kd-menu-links { margin:0; padding:0; list-style:none; }
.kd-menu-links li { margin:0 0 8px; line-height:1.5; }
.kd-menu-links a { color:#425560; overflow-wrap:anywhere; }
.kd-menu-links a:hover,.kd-menu-group h4 a:hover { color:#b34f19; text-decoration:underline; }
.kd-menu-links .kd-menu-links { border-left:1px solid #e1e7eb; padding-left:12px; margin-top:8px; }
.kd-menu-tabs { display:none; }
.kd-menu-root.is-loading .kd-menu-body { grid-template-columns:1fr; }
.kd-menu-root.is-loading .kd-menu-detail { display:none; }
.kd-menu-loading { display:flex; flex-direction:column; align-items:flex-start; gap:18px; padding:24px; min-height:180px; }
.kd-menu-loading p { margin:0; }
.kd-menu-retry { border:1px solid var(--kd-accent); border-radius:6px; color:#b34f19; background:#fff; padding:10px 22px; }
.kd-menu-root a:focus-visible,.kd-menu-root button:focus-visible,.kd-menu-root input:focus-visible { outline:2px solid var(--kd-accent); outline-offset:-2px; }
.kd-menu-sr { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.kd-menu-enhanced #box-vertical-megamenus > .vertical-menu-content,.kd-menu-enhanced .menu_holder { display:none!important; }
@media(min-width:992px) and (max-width:1199px) {
  .kd-menu-body { grid-template-columns:260px minmax(0,1fr); }
  .kd-menu-groups { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .kd-menu-detail-heading { flex-direction:column; gap:10px; }
}
@media(max-width:991px) {
  .kd-menu-enhanced #main_menu > .header-nav { display:none!important; }
  .kd-menu-root.is-mobile .kd-menu-backdrop { inset:0; }
  .kd-menu-root.is-mobile .kd-menu-panel { inset:0; width:100%; height:100%; height:100dvh; max-height:100%; border:0; border-radius:0; }
  .kd-menu-root.is-mobile .kd-menu-toolbar { padding:12px 18px; }
  .kd-menu-root.is-mobile .kd-menu-toolbar h2 { font-size:23px; }
  .kd-menu-root.is-mobile .kd-menu-close { border:0; }
  .kd-menu-tabs { display:flex; flex:0 0 auto; border-bottom:1px solid #e2e8ec; padding:0 18px; }
  .kd-menu-tabs button { flex:1; min-height:48px; padding:10px; border:0; border-bottom:3px solid transparent; border-radius:0; background:#fff; color:#50616d; font-weight:600; }
  .kd-menu-tabs button[aria-selected="true"] { color:#b34f19; border-bottom-color:var(--kd-accent); }
  .kd-menu-root.is-mobile .kd-menu-body { display:flex; height:auto; min-height:0; flex:1 1 auto; }
  .kd-menu-root.is-mobile .kd-menu-departments { width:100%; padding:0 18px 24px; border:0; }
  .kd-menu-root.is-mobile .kd-menu-detail { display:none; }
  .kd-menu-root.is-mobile .kd-menu-row { border-radius:0; border-bottom:1px solid #e6ebee; min-height:52px; padding:13px 2px; font-size:15px; }
  .kd-menu-section-label { margin:0; padding:18px 2px 8px; color:#697c87; font-size:12px; font-weight:600; }
  .kd-menu-root.is-mobile .kd-menu-icon { margin-right:4px; }
  .kd-menu-back { display:block; width:100%; min-height:48px; padding:14px 0; text-align:left; border:0; background:#fff; color:var(--kd-ink); font-weight:600!important; }
  .kd-menu-back:hover { color:#b34f19; background:#fff; }
  .kd-menu-mobile-heading { margin:6px 0 12px; padding:0 0 18px; border-bottom:1px solid #e6ebee; }
  .kd-menu-mobile-heading h3 { margin-bottom:12px; }
  .kd-menu-company { flex:1; min-height:0; overflow-y:auto; padding:14px 18px 30px; overscroll-behavior:contain; }
  .kd-menu-favorites { margin-top:14px; }
  .kd-menu-contacts { display:flex; flex-direction:column; align-items:center; gap:24px; padding:32px 0; }
  .kd-menu-phone { font-size:23px; font-weight:700; color:var(--kd-ink); }
  .kd-menu-callback { width:100%; text-align:center; border:1px solid var(--kd-accent); border-radius:6px; padding:12px; color:#b34f19; font-weight:700; }
  .kd-menu-callback:hover { background:#fff0e6; color:#963e13; }
  .kd-menu-rating { display:block; border:0; width:150px; height:50px; }
  .kd-menu-rating-link { margin-top:-14px; color:var(--kd-ink); text-decoration:underline; text-underline-offset:3px; font-size:13px; }
}

/* Desktop: give the category lists the space formerly used by the toolbar. */
@media (min-width:992px) {
  .kd-menu-root .kd-menu-toolbar { display:none; }
}
