.tml-site-menu {
  --brand: #0000a4;
  --brand-hover: #0000d6;
  --bol-blue: #0000a4;
  --bol-blue-dark: #00007d;
  --bol-orange: #f2b840;
  --ink: #171717;
  --muted: #6f6f73;
  --line: #d8d8dc;
  --active: #e9efff;
  --surface: #fff;
  --soft: #f5f6f8;
}

.tml-site-menu * { box-sizing: border-box; }
.tml-site-menu { font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; }
.tml-site-menu { margin: 0; }
.tml-site-menu button, .tml-site-menu input { font: inherit; }
.tml-site-menu button, .tml-site-menu a { -webkit-tap-highlight-color: transparent; }
.tml-site-menu .shell { width: min(100% - 32px, 1280px); margin-inline: auto; }
.tml-site-menu { min-height: 100vh; background: #fff; }
.tml-site-menu .lab-notice { background: #eef2ff; color: #313133; min-height: 32px; padding: 7px 16px; text-align: center; font-size: 13px; }

.tml-site-menu .site-header { position: relative; z-index: 20; background: var(--bol-blue); box-shadow: none; }
.tml-site-menu .header-main { height: 96px; display: grid; grid-template-columns: 330px minmax(320px, 1fr) auto; align-items: center; gap: 30px; }
.tml-site-menu .brand { display: inline-flex; align-items: center; }
.tml-site-menu .brand picture { display: contents; }
.tml-site-menu .brand img { display: block; width: 310px; max-height: 64px; object-fit: contain; object-position: left center; }
.tml-site-menu .search { height: 52px; display: flex; overflow: hidden; border: 0; border-radius: 26px; background: #fff; box-shadow: 0 4px 16px rgba(0,0,70,.18); }
.tml-site-menu .search:focus-within { outline: 3px solid rgba(242,184,64,.42); border-color: var(--bol-orange); }
.tml-site-menu .search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 22px; font-size: 17px; }
.tml-site-menu .search button, .tml-site-menu .mobile-search button { width: 58px; border: 0; background: var(--bol-orange); color: var(--bol-blue); display: grid; place-items: center; cursor: pointer; }
.tml-site-menu .search svg, .tml-site-menu .mobile-search svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 2; }
.tml-site-menu .header-actions { display: flex; align-items: center; gap: 20px; }
.tml-site-menu .header-action { width: 78px; min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; border-radius: 16px; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.tml-site-menu .header-action:hover, .tml-site-menu .header-action:focus-visible { background: rgba(255,255,255,.13); color: #fff; outline: none; text-decoration: none; }
.tml-site-menu .header-action > span:last-child { margin-top: 5px; font-size: 13px; line-height: 1; font-weight: 700; white-space: nowrap; }
.tml-site-menu .action-icon { position: relative; width: 32px; height: 32px; display: grid; place-items: center; }
.tml-site-menu .action-icon svg { width: 32px; height: 32px; display: block; }
.tml-site-menu .action-icon svg circle, .tml-site-menu .action-icon svg path { fill: currentColor; stroke: none; }
.tml-site-menu .header-action .action-icon:not(.action-icon--login) svg path { fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.tml-site-menu .header-action .action-icon .heart-bol-icon path { stroke-width: 2.55; }
.tml-site-menu .header-action .basket-ozon-icon .basket-body { fill: currentColor; stroke: none; }
.tml-site-menu .header-action .basket-ozon-icon .basket-handle { fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; }
.tml-site-menu .header-action .basket-ozon-icon .basket-hole { fill: var(--bol-blue); stroke: none; }
.tml-site-menu .login-dot { position: absolute; top: 0; right: 0; width: 11px; height: 11px; border-radius: 50%; background: #f4127b; box-shadow: 0 0 0 2px var(--bol-blue); }
.tml-site-menu .mobile-menu-button { display: none; }

.tml-site-menu .desktop-nav { background: #fff; border-top: 1px solid #edf0f5; border-bottom: 1px solid var(--line); box-shadow: none; }
.tml-site-menu .nav-inner { height: 64px; display: flex; align-items: stretch; gap: 38px; }
.tml-site-menu .nav-inner a, .tml-site-menu .nav-catalog { position: relative; display: inline-flex; align-items: center; gap: 11px; border: 0; background: transparent; color: var(--ink); text-decoration: none; padding: 0 2px; font-size: 16px; cursor: pointer; white-space: nowrap; }
.tml-site-menu .nav-inner a:hover, .tml-site-menu .nav-inner a:focus-visible { color: var(--brand); outline: none; }
.tml-site-menu .nav-inner a::after, .tml-site-menu .nav-catalog::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: transparent; }
.tml-site-menu .nav-inner a:hover::after { background: var(--brand-hover); }
.tml-site-menu .nav-catalog { align-self: stretch; height: auto; padding: 0; background: transparent; color: #111; font-weight: 400; }
.tml-site-menu .nav-catalog-pill { height: 44px; display: inline-flex; align-items: center; gap: 11px; padding: 0 18px; border-radius: 999px; background: var(--bol-orange); pointer-events: none; }
.tml-site-menu .nav-catalog:hover, .tml-site-menu .nav-catalog:focus-visible, .tml-site-menu .nav-catalog[aria-expanded="true"] { color: #111; outline: none; filter: brightness(.98); }
.tml-site-menu .nav-catalog::after, .tml-site-menu .nav-catalog:hover::after, .tml-site-menu .nav-catalog[aria-expanded="true"]::after { display: none; }
.tml-site-menu .nav-inner .nav-phone { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--brand); }
.tml-site-menu .nav-inner .nav-phone:hover, .tml-site-menu .nav-inner .nav-phone:focus-visible { color: var(--brand-hover); }
.tml-site-menu .nav-inner .nav-phone::after { display: none; }
.tml-site-menu .nav-inner .nav-phone svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tml-site-menu .nav-catalog svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .16s ease; }
.tml-site-menu .nav-catalog[aria-expanded="true"] svg { transform: rotate(180deg); }

.tml-site-menu .mega-menu { position: absolute; top: 100%; left: 0; right: 0; display: none; max-height: calc(100vh - 192px); overflow-x: hidden; overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 32px rgba(24,29,42,.15); scrollbar-width: thin; }
.tml-site-menu .mega-menu.is-open { display: block; }
.tml-site-menu .mega-close { position: absolute; top: 18px; right: 18px; width: 54px; height: 54px; z-index: 2; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--bol-blue); cursor: pointer; }
.tml-site-menu .mega-close:hover, .tml-site-menu .mega-close:focus-visible { background: rgba(0,0,164,.08); outline: none; }
.tml-site-menu .mega-close svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.tml-site-menu .mega-shell { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; min-height: 624px; }
.tml-site-menu .mega-column { min-width: 0; padding: 16px 0 24px; overflow: visible; }
.tml-site-menu .mega-column.is-empty { display: none; }
.tml-site-menu .mega-column-list { width: 100%; border-right: 1px solid var(--line); }
.tml-site-menu .column-heading { margin: 0; min-height: 48px; display: flex; align-items: center; padding: 0 16px; font-size: 17px; }
.tml-site-menu .column-back { min-height: 34px; margin: 0 12px; padding: 0 4px; display: inline-flex; align-items: center; gap: 3px; border: 0; background: transparent; color: var(--brand); cursor: pointer; font-size: 14px; }
.tml-site-menu .column-back:hover, .tml-site-menu .column-back:focus-visible { text-decoration: underline; outline: none; }
.tml-site-menu .column-back svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.tml-site-menu .category-all-link { min-height: 48px; display: flex; align-items: center; padding: 4px 20px; background: #fff; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.25; }
.tml-site-menu .category-all-link:hover, .tml-site-menu .category-all-link:focus-visible { background: var(--active); color: var(--ink); text-decoration: none; outline: none; }
.tml-site-menu .category-row { width: 100%; min-height: 48px; border: 0; background: #fff; color: var(--ink); display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; align-items: center; gap: 10px; padding: 4px 16px; text-align: left; text-decoration: none; font-size: 15px; line-height: 1.25; cursor: pointer; }
.tml-site-menu .category-row.no-image { grid-template-columns: minmax(0, 1fr) 24px; padding-left: 20px; }
.tml-site-menu .category-row:hover, .tml-site-menu .category-row:focus-visible, .tml-site-menu .category-row.is-selected { background: var(--active); outline: none; color: var(--ink); }
.tml-site-menu .mega-column.has-row-hover .category-row.is-selected:not(:hover) { background: #fff; }
.tml-site-menu .category-row img { width: 40px; height: 40px; object-fit: contain; border-radius: 2px; background: var(--soft); }
.tml-site-menu .category-row svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2.3; }
.tml-site-menu .category-row .blank-arrow { width: 20px; }
.tml-site-menu .empty-column { padding: 20px; color: var(--muted); line-height: 1.5; }

.tml-site-menu .demo-content { padding: 110px 0 160px; max-width: 900px; }
.tml-site-menu .eyebrow { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.tml-site-menu .demo-content h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1; margin: 16px 0 24px; letter-spacing: 0; }
.tml-site-menu .demo-content > p:not(.eyebrow) { max-width: 760px; color: #545459; font-size: 20px; line-height: 1.55; }
.tml-site-menu .demo-points { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.tml-site-menu .demo-points div { padding: 24px 24px 0 0; display: grid; gap: 10px; }
.tml-site-menu .demo-points strong { font-size: 18px; }
.tml-site-menu .demo-points span { color: var(--muted); line-height: 1.45; }

.tml-site-menu .mobile-drawer, .tml-site-menu .drawer-overlay { display: none; }
.tml-site-menu .icon-button { border: 0; background: transparent; padding: 0; cursor: pointer; }

@media (max-width: 767px) {
  body.tml-menu-drawer-open { overflow: hidden; }
  .tml-site-menu .shell { width: min(100% - 28px, 100%); }
  .tml-site-menu .lab-notice { font-size: 11px; min-height: 28px; padding: 6px 10px; }
  .tml-site-menu .site-header { background-color: var(--bol-blue); background-image: linear-gradient(to bottom, #fff 0 68px, var(--bol-blue) 68px 100%); }
  .tml-site-menu .header-main { height: auto; padding: 0; grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-rows: 68px 76px; align-items: center; gap: 0 8px; }
  .tml-site-menu .mobile-menu-button { grid-column: 1; grid-row: 1; width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; border-radius: 12px; }
  .tml-site-menu .mobile-menu-button:hover, .tml-site-menu .mobile-menu-button:focus-visible { background: rgba(0,0,164,.08); outline: none; }
  .tml-site-menu .mobile-menu-button span { display: block; width: 24px; height: 2px; background: var(--bol-blue); }
  .tml-site-menu .brand { grid-column: 2; grid-row: 1; justify-self: start; min-width: 0; max-width: 100%; padding: 4px 0; border-radius: 0; background: transparent; }
  .tml-site-menu .brand img { width: min(192px, 54vw); max-height: 56px; }
  .tml-site-menu .header-actions { grid-column: 3; grid-row: 1; gap: 16px; justify-self: end; }
  .tml-site-menu .header-action { width: 32px; min-height: 42px; border-radius: 12px; color: var(--bol-blue); }
  .tml-site-menu .header-action:hover, .tml-site-menu .header-action:focus-visible { background: rgba(0,0,164,.08); color: var(--bol-blue); }
  .tml-site-menu .header-action > span:last-child { display: none; }
  .tml-site-menu .action-icon, .tml-site-menu .action-icon svg { width: 29px; height: 29px; }
  .tml-site-menu .login-dot { box-shadow: 0 0 0 2px #fff; }
  .tml-site-menu .search { grid-column: 1 / -1; grid-row: 2; align-self: center; height: 50px; display: flex !important; border-radius: 25px; border: 0; box-shadow: none; }
  .tml-site-menu .search input { padding: 0 18px; font-size: 16px; }
  .tml-site-menu .search button { width: 58px; flex: 0 0 58px; }
  .tml-site-menu .search svg { width: 25px; height: 25px; }
  .tml-site-menu .desktop-nav { display: none !important; }
  .tml-site-menu .nav-inner { width: 100%; height: 56px; justify-content: flex-start; gap: 0; }
  .tml-site-menu .nav-inner > a { display: none; }
  .tml-site-menu .nav-catalog { display: inline-flex; align-self: stretch; height: auto; }
  .tml-site-menu .nav-catalog-pill { height: 40px; padding: 0 18px; }
  .tml-site-menu .mega-menu { display: none !important; }
  .tml-site-menu .demo-content { padding: 54px 0 100px; }
  .tml-site-menu .demo-content h1 { font-size: 38px; }
  .tml-site-menu .demo-content > p:not(.eyebrow) { font-size: 17px; }
  .tml-site-menu .demo-points { grid-template-columns: 1fr; }

  .tml-site-menu .drawer-overlay { position: fixed; inset: 0; z-index: 89; border: 0; background: rgba(0,0,0,.42); opacity: 0; pointer-events: none; transition: opacity .18s ease; }
  .tml-site-menu .drawer-overlay.is-open { display: block; opacity: 1; pointer-events: auto; }
  .tml-site-menu .mobile-drawer { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: #fff; transform: translateX(-101%); transition: transform .22s ease; visibility: hidden; }
  .tml-site-menu .mobile-drawer.is-open { transform: translateX(0); visibility: visible; }
  .tml-site-menu .mobile-drawer-header { min-height: 66px; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; border-bottom: 1px solid var(--line); padding: max(0px, env(safe-area-inset-top)) 8px 0; }
  .tml-site-menu .mobile-drawer-header strong { text-align: center; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tml-site-menu .mobile-drawer-header button { width: 48px; height: 48px; display: grid; place-items: center; }
  .tml-site-menu .mobile-drawer-header .drawer-close { color: var(--bol-blue); }
  .tml-site-menu .mobile-drawer-header svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 2; }
  .tml-site-menu .drawer-back.is-hidden { opacity: 0; pointer-events: none; }
  .tml-site-menu .mobile-search { margin: 14px; height: 48px; min-height: 48px; display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
  .tml-site-menu .mobile-drawer .mobile-search { display: none; }
  .tml-site-menu .mobile-search:focus-within { outline: 3px solid rgba(0,0,157,.14); border-color: var(--brand); }
  .tml-site-menu .mobile-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 17px; font-size: 16px; background: transparent; }
  .tml-site-menu .mobile-search button { width: 58px; flex: 0 0 58px; align-self: stretch; height: auto; }
  .tml-site-menu .mobile-search svg { width: 25px; height: 25px; }
  .tml-site-menu .mobile-list { flex: 1; overflow: auto; overscroll-behavior: contain; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .tml-site-menu .mobile-all-link { min-height: 54px; display: flex; align-items: center; padding: 8px 20px; border-bottom: 1px solid #ededf0; background: #fff; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; line-height: 1.3; }
  .tml-site-menu .mobile-all-link:active { color: var(--ink); text-decoration: none; background: var(--active); }
  .tml-site-menu .mobile-row { position: relative; width: 100%; min-height: 62px; display: grid; grid-template-columns: 50px minmax(0, 1fr) 28px; align-items: center; gap: 12px; border: 0; background: #fff; color: var(--ink); padding: 6px 16px; text-align: left; text-decoration: none; font-size: 16px; line-height: 1.3; }
  .tml-site-menu .mobile-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #ededf0; pointer-events: none; }
  .tml-site-menu .mobile-row:active { background: var(--active); }
  .tml-site-menu .mobile-row img { width: 50px; height: 50px; object-fit: contain; background: var(--soft); border-radius: 4px; }
  .tml-site-menu .mobile-row svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; }
  .tml-site-menu .mobile-row.no-image { grid-template-columns: minmax(0, 1fr) 28px; padding-left: 20px; }
  .tml-site-menu .mobile-row.no-image::after { left: 0; }
  .tml-site-menu .mobile-root-links { margin-top: 0; padding: 0 0 max(20px, env(safe-area-inset-bottom)); border-top: 0; display: grid; gap: 0; }
  .tml-site-menu .mobile-root-links a { position: relative; min-height: 48px; display: flex; align-items: center; padding: 0 20px; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; }
  .tml-site-menu .mobile-root-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #ededf0; pointer-events: none; }
  .tml-site-menu .mobile-root-links a:active { color: var(--brand); }
  .tml-site-menu .mobile-root-links .mobile-root-phone { color: var(--brand); font-weight: 700; gap: 10px; }
  .tml-site-menu .mobile-root-links .mobile-root-phone::after { display: none; }
  .tml-site-menu .mobile-root-links .mobile-root-phone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .tml-site-menu .mobile-empty { padding: 30px 20px; text-align: center; color: var(--muted); }
}

@media (prefers-reduced-motion: reduce) {
  .tml-site-menu *, .tml-site-menu *::before, .tml-site-menu *::after { scroll-behavior: auto !important; transition: none !important; }
}

.tml-site-menu {
  min-height: 0;
  position: relative;
  z-index: 100000 !important;
}

.tml-site-menu .site-header {
  z-index: 100001 !important;
}

.tml-site-menu .mega-menu {
  z-index: 100002 !important;
  pointer-events: auto;
}

.tml-site-menu .drawer-overlay {
  z-index: 100003 !important;
}

.tml-site-menu .mobile-drawer {
  z-index: 100004 !important;
}

body .wrapper1 {
  overflow: visible !important;
}

body#main .left_block .menu_top_block.catalog_block {
  display: none !important;
}

body .wrapper1 > .wraps {
  position: relative;
  z-index: 1;
}

body .wrapper1 > .header_wrap,
body .wrapper1 > #mobileheader,
body .wrapper1 > #mobilemenu,
body .wrapper1 > #mobilefilter,
body #headerfixed {
  display: none !important;
}

@media (min-width: 768px) {
  .tml-site-menu .shell {
    width: calc(100% - 58px);
    max-width: 1346px;
  }

  .tml-site-menu .brand img {
    transform: translateX(-15px);
  }

  .tml-site-menu .header-actions {
    justify-self: end;
    gap: 28px;
  }

  .tml-site-menu .header-action {
    width: auto;
    min-width: 58px;
    padding: 0;
  }

  .tml-site-menu .header-actions .header-action:last-child {
    align-items: center;
  }
}
