/*
 * i-Light desktop menu layout repair 1.0.5.
 *
 * Three occurrences of #header intentionally outrank the existing V38/V46/V47
 * and menu-access-v100 author styles. The installed runtime continues to own
 * panel geometry, visibility, keyboard controls, and its inline width clamp.
 *
 * This revision keeps the structural overflow fixes and uses light overview
 * bars, orange group accents, and thin borders for a consistent hierarchy.
 * v1.0.5 aligns legacy headings and secondary labels and bounds the mirror
 * image. Existing mobile styles stay unchanged: the only mobile rule hides
 * the newly added LED-bulb overview. Desktop flex layouts use padding and
 * margins instead of flex gap; no :is(), :has(), or container queries are needed.
 */
@media (min-width: 992px) {
  /* Category rows keep readable 13px titles. Their minimum height reduces
   * with viewport height; long labels and descriptions can still grow naturally. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border-bottom: 1px solid #e2e6ea !important;
    border-left: 3px solid transparent !important;
    background: #fff !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a {
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 42px !important;
    max-height: none !important;
    padding: 6px 42px 6px 10px !important;
    color: #354150 !important;
    font-size: 13px !important;
    line-height: 18px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a > span {
    min-width: 0 !important;
    font-size: 13px !important;
    line-height: 18px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a strong {
    font-size: 13px !important;
    line-height: 18px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a span.description {
    display: block !important;
    color: #65707b !important;
    font-size: 10px !important;
    line-height: 13px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a i.fa {
    color: #ff8419 !important;
    line-height: 18px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.loadmore {
    min-height: 38px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    border-top: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical.active,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical.sub-active,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical.active_menu,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical[data-ilnav-open="true"] {
    border-left-color: #ff8419 !important;
    background: #fff5eb !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical:hover > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical.active > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical.sub-active > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical.active_menu > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical[data-ilnav-open="true"] > a {
    background: #fff5eb !important;
    color: #d86300 !important;
  }

  /* The 36px disclosure stretches to the complete category row. Its own
   * height does not dictate the row height; coarse pointers receive 44px below. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .ilnav-disclosure-v100 {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-left: 1px solid #e2e6ea !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ff8419 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .ilnav-disclosure-v100:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .ilnav-disclosure-v100[aria-expanded="true"] {
    background: #fff5eb !important;
    color: #ff8419 !important;
  }

  /* Legacy category columns contain their own .menu > ul list. Disable
   * the old nested auto-fit grid only in this exact hierarchy; custom BEM
   * category grids keep their own layout. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories > .row > [class*="col-"] > .menu > ul {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
  }

  /* V46 writes inline pixel widths on links. Flex shrink contains those
   * widths inside the real list width. Wrapping leaves any in-flow child
   * list below its parent anchor. Real row borders replace legacy line pseudos. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories > .row > [class*="col-"] > .menu > ul > li {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border-bottom: 1px solid #e2e6ea !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories > .row > [class*="col-"] > .menu > ul > li:last-child {
    border-bottom: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories > .row > [class*="col-"] > .menu > ul > li::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    background: none !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories > .row > [class*="col-"] > .menu > ul > li > a {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 40px !important;
    max-height: none !important;
    padding: 10px 12px !important;
    color: #354150 !important;
    font-size: 13px !important;
    line-height: 20px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    overflow: visible !important;
    font-weight: 500 !important;
  }

  /* Hover keeps the same natural sizing and cannot restore V46 fixed48px rows. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories > .row > [class*="col-"] > .menu > ul > li:hover > a {
    height: auto !important;
    min-height: 40px !important;
    max-height: none !important;
    padding: 10px 12px !important;
    background: #fff5eb !important;
    color: #263649 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories > .row > [class*="col-"] > .menu > ul > li > a:focus {
    background: #fff5eb !important;
    color: #263649 !important;
  }

  /* Track systems use three equal, shrink-safe columns. Stretching makes
   * vertical separators continuous; 14px padding leaves room around text
   * and keeps the existing V46 4px boundary clamp stable. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .ilight-track-menu > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .ilight-track-menu > .row > .hover-menu {
    display: block !important;
    float: none !important;
    clear: none !important;
    flex: 0 0 33.333333% !important;
    box-sizing: border-box !important;
    width: 33.333333% !important;
    min-width: 0 !important;
    max-width: 33.333333% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 14px 8px !important;
    border: 0 !important;
    border-left: 1px solid #e2e6ea !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .ilight-track-menu > .row > .hover-menu:first-child {
    border-left: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .ilight-track-menu .menu {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Remove Bootstrap clearfix boxes and legacy pseudo dividers only.
   * The actual column borders and role-row borders are controlled here. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .ilight-track-menu > .row::before,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .ilight-track-menu > .row::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .ilight-track-menu > .row > .hover-menu::before,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .ilight-track-menu > .row > .hover-menu::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li::before,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    background: none !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li:hover > a {
    padding: 10px 10px !important;
    border: 0 !important;
    border-radius: 4px !important;
    color: #354150 !important;
    font-size: 13px !important;
    line-height: 18px !important;
    font-weight: 500 !important;
  }

  /* Equal heading minima align ordinary two-line system names. Longer
   * translations remain free to wrap and increase the height. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li.ilight-track-menu__system {
    margin-bottom: 8px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li.ilight-track-menu__system > a {
    display: flex !important;
    align-items: center !important;
    min-height: 52px !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-left: 2px solid #ff8419 !important;
    border-radius: 4px !important;
    background: #fff1e3 !important;
    color: #263649 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 18px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li.ilight-track-menu__role {
    border-bottom: 1px solid #e2e6ea !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li.ilight-track-menu__role:last-child {
    border-bottom: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li.ilight-track-menu__role > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li.ilight-track-menu__role:hover > a {
    min-height: 40px !important;
    padding: 10px 10px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li > a:focus {
    background: #fff5eb !important;
    color: #263649 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .ilight-track-menu .ilight-track-menu__overview {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    min-height: 40px !important;
    height: auto !important;
    margin: 0 0 12px !important;
    padding: 8px 12px !important;
    border: 0 !important;
    border-left: 0 !important;
    border-bottom: 1px solid #e2e6ea !important;
    border-radius: 4px !important;
    background: #eaf0f6 !important;
    color: #263649 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    text-transform: none !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .ilight-track-menu .ilight-track-menu__overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .ilight-track-menu .ilight-track-menu__overview:focus {
    background: #e1e9f2 !important;
    color: #263649 !important;
  }

  /* Use the existing panel-width decision, not the screen width. Narrow
   * panels stack whole systems, with horizontal separators between groups. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu[data-ilnav-compact="true"] .ilight-track-menu > .row > .hover-menu {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 16px 16px !important;
    border-left: 0 !important;
    border-top: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu[data-ilnav-compact="true"] .ilight-track-menu > .row > .hover-menu + .hover-menu {
    margin-top: 12px !important;
    padding-top: 16px !important;
    border-top: 1px solid #e2e6ea !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu[data-ilnav-compact="true"] .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li.ilight-track-menu__system > a {
    min-height: 44px !important;
  }

  /* This custom grid does not use the __grid naming convention covered by
   * the installed compact-panel rules. Follow the same single-column mode. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu[data-ilnav-compact="true"] .ilight-sensor-menu-v1 .ilsm-cards {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  /* The horizontal runtime sets its column count on .sub-menu. Keep its
   * existing grid and link heights; omit separators at the start of a row. */
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal ul.megamenu > li > .sub-menu[data-ilhnav-columns-v100="1"] .categories.item-style99 > .row > [class*="col-"]::before,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal ul.megamenu > li > .sub-menu[data-ilhnav-columns-v100="2"] .categories.item-style99 > .row > [class*="col-"]:nth-child(odd)::before {
    content: none !important;
    display: none !important;
  }
}

@media (min-width: 992px) and (max-height: 850px) {
  /* Laptop-height windows retain the same font sizes and descriptions;
   * only vertical padding and the minimum row height change. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a {
    min-height: 40px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    padding-right: 42px !important;
    font-size: 13px !important;
    line-height: 18px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a > span,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a strong {
    font-size: 13px !important;
    line-height: 18px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a span.description {
    font-size: 10px !important;
    line-height: 13px !important;
  }

}

@media (min-width: 992px) and (max-height: 720px) {
  /* The existing title-only mode is kept for short windows. Titles stay
   * 13px with a 38px row minimum, and disclosure height follows the row. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a br,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a span.description {
    display: none !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a {
    min-height: 38px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

}

/* Coarse pointers keep touch-sized controls in the desktop header. */
@media (min-width: 992px) and (pointer: coarse) {
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > a {
    min-height: 44px !important;
    padding-right: 50px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .ilnav-disclosure-v100 {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories > .row > [class*="col-"] > .menu > ul > li > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories > .row > [class*="col-"] > .menu > ul > li:hover > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li.ilight-track-menu__role > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li.ilight-track-menu__role:hover > a {
    min-height: 44px !important;
  }

}

/* Shared category-menu design: actual runtime component selectors. */
@media (min-width: 992px) {
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical [data-ilnav-item] > .sub-menu > .content {
    padding: 16px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-track-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-table-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-bathroom-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-menu-layout-v105-overview {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    min-height: 40px !important;
    height: auto !important;
    margin: 0 0 12px !important;
    padding: 8px 12px !important;
    border: 0 !important;
    border-left: 0 !important;
    border-bottom: 1px solid #e2e6ea !important;
    border-radius: 4px !important;
    background: #eaf0f6 !important;
    color: #263649 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    text-transform: none !important;
  }

  /* The same arrow replaces any original overview pseudo; copy spans remain intact. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-track-menu__overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-table-menu__overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-bathroom-menu__overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-overview::after,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-menu-layout-v105-overview::after {
    content: "→" !important;
    display: block !important;
    position: static !important;
    float: none !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    margin-left: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #d86300 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    transform: none !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-track-menu__overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-track-menu__overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-table-menu__overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-table-menu__overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-bathroom-menu__overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-bathroom-menu__overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-overview:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-menu-layout-v105-overview:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-menu-layout-v105-overview:focus {
    color: #263649 !important;
    background: #e1e9f2 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__group-title,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__group-title,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__group-title,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > a.ilight-menu-layout-v105-legacy-title {
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    min-height: 40px !important;
    height: auto !important;
    margin: 0 0 8px !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-left: 2px solid #ff8419 !important;
    border-radius: 4px !important;
    background: #fff1e3 !important;
    color: #263649 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    text-transform: none !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__extra-title,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__group-label,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__group-label,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__group-label,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__group-label,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-selection-label,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-selection-label,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-selection-label,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-related-label {
    color: #65707b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__group > ul > .ilight-ceiling-menu__category > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__link,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__link,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__link,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__group > ul > .ilight-outdoor-menu__category > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__link,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-related-link,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__group > ul > .ilight-outdoor-menu__category > a {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 40px !important;
    max-height: none !important;
    padding: 10px 12px !important;
    color: #354150 !important;
    font-size: 13px !important;
    line-height: 20px !important;
    white-space: normal !important;
    border-color: #e2e6ea !important;
    font-weight: 500 !important;
    background: transparent !important;
  }

  /* The original name span overrides its anchor; card/overview titles stay intact. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__links > li > a.ilwall-menu__link > .ilwall-menu__copy > .ilwall-menu__name,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__links > li > a.ilfloor-menu__link > .ilfloor-menu__copy > .ilfloor-menu__name,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__links > li > a.ilwireless-menu__link > .ilwireless-menu__copy > .ilwireless-menu__name,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__links > li > a.ilsensor-menu__link > .ilsensor-menu__copy > .ilsensor-menu__name {
    color: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__children > .ilight-ceiling-menu__category > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__children > .ilight-outdoor-menu__category > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__children > .ilight-outdoor-menu__category > a {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 36px !important;
    max-height: none !important;
    padding: 9px 10px !important;
    color: #536170 !important;
    font-size: 13px !important;
    line-height: 18px !important;
    white-space: normal !important;
    font-weight: 400 !important;
    background: transparent !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-chip,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-chip,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-chip,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-chip {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 36px !important;
    padding: 8px 12px !important;
    background: #f6f8fb !important;
    color: #263649 !important;
    border-color: #e2e6ea !important;
    font-size: 12px !important;
    line-height: 18px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__group > ul > .ilight-ceiling-menu__category > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__group > ul > .ilight-ceiling-menu__category > a:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__link:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__link:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__link:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__link:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__link:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__link:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__group > ul > .ilight-outdoor-menu__category > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__group > ul > .ilight-outdoor-menu__category > a:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__link:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__link:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-related-link:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-related-link:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__group > ul > .ilight-outdoor-menu__category > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__group > ul > .ilight-outdoor-menu__category > a:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__children > .ilight-ceiling-menu__category > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__children > .ilight-ceiling-menu__category > a:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__children > .ilight-outdoor-menu__category > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__children > .ilight-outdoor-menu__category > a:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__children > .ilight-outdoor-menu__category > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__children > .ilight-outdoor-menu__category > a:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-chip:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-chip:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-chip:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-chip:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-chip:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-chip:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-chip:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-chip:focus {
    color: #263649 !important;
    background: #fff5eb !important;
  }

  /* Mirror category 153 uses the same bounded footprint as the other images.
   * The original image URL stays intact; contain prevents cropping/stretching. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-bathroom-menu [data-ilight-bathroom-category="153"] > img.ilight-bathroom-menu__image {
    flex: 0 0 100px !important;
    width: 100px !important;
    height: 100px !important;
    min-width: 0 !important;
    max-width: 100px !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__tile,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-table-menu__tile,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__tile,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-bathroom-menu__tile,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__tile,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__tile,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-card,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-card,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-card,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-card {
    border-color: #e2e6ea !important;
    color: #263649 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__tile:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__tile:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-table-menu__tile:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-table-menu__tile:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__tile:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__tile:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-bathroom-menu__tile:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-bathroom-menu__tile:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__tile:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__tile:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__tile:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__tile:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-card:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-card:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-card:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-card:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-card:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-card:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-card:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-card:focus {
    border-color: #ff8419 !important;
    background: #fffaf5 !important;
    color: #263649 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories > .row > [class*="col-"] > .menu > ul > li > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .hover-menu > .menu > ul > li > ul > li > a {
    color: #354150 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories > .row > [class*="col-"] > .menu > ul > li > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories > .row > [class*="col-"] > .menu > ul > li > a:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .hover-menu > .menu > ul > li > ul > li > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .hover-menu > .menu > ul > li > ul > li > a:focus {
    color: #263649 !important;
    background: #fff5eb !important;
  }
  /* Indoor/Other keep their original links and lists. Marks identify only
   * real parent links with an A.main-menu plus a direct child UL. */
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > a.ilight-menu-layout-v105-legacy-title {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > a.ilight-menu-layout-v105-legacy-title > .fa-angle-right,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group::after {
    display: none !important;
    content: none !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > ul {
    box-sizing: border-box !important;
    margin: 0 0 0 10px !important;
    padding: 0 0 0 10px !important;
    border: 0 !important;
    border-left: 1px solid #e2e6ea !important;
    background: transparent !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > ul > li {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e6ea !important;
    background: transparent !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > ul > li:last-child {
    border-bottom: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > ul > li > a {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 36px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 9px 10px !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: transparent !important;
    color: #536170 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    text-transform: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > a.ilight-menu-layout-v105-legacy-title:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > a.ilight-menu-layout-v105-legacy-title:focus {
    color: #263649 !important;
    background: #ffe6ca !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > ul > li > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > ul > li > a:focus {
    color: #263649 !important;
    background: #fff5eb !important;
  }

}

@media (min-width: 992px) and (pointer: coarse) {
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__group > ul > .ilight-ceiling-menu__category > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__link,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__link,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__link,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__group > ul > .ilight-outdoor-menu__category > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__link,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-related-link,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__group > ul > .ilight-outdoor-menu__category > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__children > .ilight-ceiling-menu__category > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__children > .ilight-outdoor-menu__category > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__children > .ilight-outdoor-menu__category > a,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-chip,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-chip,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-chip,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-chip {
    min-height: 44px !important;
  }
}

/* Linked system headings keep the same light group accent on hover/focus. */
@media (min-width: 992px) {
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li.ilight-track-menu__system > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .vertical-wrapper ul.megamenu > li.item-vertical > .sub-menu .categories.ilight-track-menu > .row > .hover-menu > .menu > ul > li.ilight-track-menu__system > a:focus {
    background: #ffe6ca !important;
    color: #263649 !important;
  }
}

/* Precise tree styling for ceiling and outdoor menus in either orientation. */
@media (min-width: 992px) {
  /* Real row borders and a plain child list make category depth visible. */

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu > .row,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu > .row > .ilight-ceiling-menu__group,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu > .row > .ilight-outdoor-menu__group {
    box-sizing: border-box !important;
    min-width: 0 !important;
    border-left: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu > .row > .ilight-ceiling-menu__group + .ilight-ceiling-menu__group,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu > .row > .ilight-outdoor-menu__group + .ilight-outdoor-menu__group {
    border-left: 1px solid #e2e6ea !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu .ilight-ceiling-menu__group > ul > li.ilight-ceiling-menu__category,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu .ilight-outdoor-menu__group > ul > li.ilight-outdoor-menu__category,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu ul.ilight-ceiling-menu__children > li.ilight-ceiling-menu__category,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu ul.ilight-outdoor-menu__children > li.ilight-outdoor-menu__category {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e6ea !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu .ilight-ceiling-menu__group > ul > li.ilight-ceiling-menu__category:last-child,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu .ilight-outdoor-menu__group > ul > li.ilight-outdoor-menu__category:last-child,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu ul.ilight-ceiling-menu__children > li.ilight-ceiling-menu__category:last-child,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu ul.ilight-outdoor-menu__children > li.ilight-outdoor-menu__category:last-child {
    border-bottom: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu ul.ilight-ceiling-menu__children,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu ul.ilight-outdoor-menu__children {
    margin: 0 0 4px 12px !important;
    padding: 0 0 0 8px !important;
    border: 0 !important;
    border-left: 1px solid #e2e6ea !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Follow the existing compact flag; normal group widths are not replaced. */

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu[data-ilnav-compact="true"] .ilight-ceiling-menu > .row > .ilight-ceiling-menu__group,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu[data-ilnav-compact="true"] .ilight-outdoor-menu > .row > .ilight-outdoor-menu__group {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 12px 12px !important;
    border-left: 0 !important;
    border-top: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu[data-ilnav-compact="true"] .ilight-ceiling-menu > .row > .ilight-ceiling-menu__group + .ilight-ceiling-menu__group,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu[data-ilnav-compact="true"] .ilight-outdoor-menu > .row > .ilight-outdoor-menu__group + .ilight-outdoor-menu__group {
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid #e2e6ea !important;
  }

  /* Hide only the duplicate desktop label. The original category link,
   * URL, child tree, focus behavior, and mobile presentation remain. */

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu [data-ilight-ceiling-group="panels"] > h3.ilight-ceiling-menu__group-title {
    display: none !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu [data-ilight-ceiling-group="panels"] > ul > .ilight-ceiling-menu__category > a[data-ilight-ceiling-category="99"] {
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 40px !important;
    max-height: none !important;
    margin: 0 0 8px !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-left: 2px solid #ff8419 !important;
    border-radius: 4px !important;
    background: #fff1e3 !important;
    color: #263649 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    text-transform: none !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu [data-ilight-ceiling-group="panels"] > ul > .ilight-ceiling-menu__category > a[data-ilight-ceiling-category="99"]:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu [data-ilight-ceiling-group="panels"] > ul > .ilight-ceiling-menu__category > a[data-ilight-ceiling-category="99"]:focus {
    background: #ffe6ca !important;
    color: #263649 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu [data-ilight-ceiling-group="panels"] > ul > .ilight-ceiling-menu__category > a[data-ilight-ceiling-category="99"] + ul.ilight-ceiling-menu__children {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu [data-ilight-ceiling-group="panels"] > ul > .ilight-ceiling-menu__category > a[data-ilight-ceiling-category="99"] + ul.ilight-ceiling-menu__children > .ilight-ceiling-menu__category > a {
    min-height: 40px !important;
    padding: 10px 12px !important;
    color: #354150 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    background: transparent !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu [data-ilight-ceiling-group="panels"] > ul > .ilight-ceiling-menu__category > a[data-ilight-ceiling-category="99"] + ul.ilight-ceiling-menu__children > .ilight-ceiling-menu__category > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu [data-ilight-ceiling-group="panels"] > ul > .ilight-ceiling-menu__category > a[data-ilight-ceiling-category="99"] + ul.ilight-ceiling-menu__children > .ilight-ceiling-menu__category > a:focus {
    background: #fff5eb !important;
    color: #263649 !important;
  }

  /* Related links sit beside the optional label and wrap naturally;
   * padding and margins provide spacing without flex-gap support. */

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu__extra,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu__extra,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__selection,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__selection,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__selection,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__selection,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__related {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    box-sizing: border-box !important;
    margin: 8px 0 0 !important;
    padding: 8px 12px !important;
    border: 0 !important;
    border-top: 1px solid #e2e6ea !important;
    background: transparent !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu__extra > .ilight-ceiling-menu__extra-title,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__selection > .ilwall-menu__group-label,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__selection > .ilfloor-menu__group-label,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__selection > .ilwireless-menu__group-label,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__selection > .ilsensor-menu__group-label,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__related > .ilsensor-menu__group-label {
    flex: 0 1 auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #65707b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu__extra > ul,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu__extra > ul,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__selection > ul.ilwall-menu__links,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__selection > ul.ilfloor-menu__links,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__selection > ul.ilwireless-menu__links,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__selection > ul.ilsensor-menu__links,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__related > ul.ilsensor-menu__links {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu__extra > ul > li,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu__extra > ul > li,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__selection > ul.ilwall-menu__links > li,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__selection > ul.ilfloor-menu__links > li,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__selection > ul.ilwireless-menu__links > li,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__selection > ul.ilsensor-menu__links > li,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__related > ul.ilsensor-menu__links > li {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
  }

  /* Longer optional-link lists share a row with the label when room allows.
   * Their links keep the standard 40px minimum and 13px text. */
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__selection > ul.ilwall-menu__links,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__selection > ul.ilfloor-menu__links,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__selection > ul.ilwireless-menu__links,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__selection > ul.ilsensor-menu__links,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__related > ul.ilsensor-menu__links {
    flex-basis: 260px !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu__extra > ul > li > a,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu__extra > ul > li > a {
    display: block !important;
    box-sizing: border-box !important;
    width: auto !important;
    height: auto !important;
    min-height: 32px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 6px 8px !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: transparent !important;
    color: #354150 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    white-space: normal !important;
  }

  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu__extra > ul > li > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu__extra > ul > li > a:focus,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu__extra > ul > li > a:hover,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu__extra > ul > li > a:focus {
    background: #fff5eb !important;
    color: #263649 !important;
  }
}

/* New desktop controls retain a 44px minimum for coarse pointers. */
@media (min-width: 992px) and (pointer: coarse) {
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-ceiling-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-track-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwall-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-table-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilfloor-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-bathroom-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilwireless-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-outdoor-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsensor-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilsm-overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilp-overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ill-overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilight-outdoor-menu__overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .ilt-overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-menu-layout-v105-overview,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > a.ilight-menu-layout-v105-legacy-title,
  html body header#header#header#header.typeheader-1 .container-megamenu.horizontal .sub-menu .categories.item-style99 > .row > .hover-menu > .menu > ul > li.ilight-menu-layout-v105-legacy-group > ul > li > a,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu [data-ilight-ceiling-group="panels"] > ul > .ilight-ceiling-menu__category > a[data-ilight-ceiling-category="99"],
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu [data-ilight-ceiling-group="panels"] > ul > .ilight-ceiling-menu__category > a[data-ilight-ceiling-category="99"] + ul.ilight-ceiling-menu__children > .ilight-ceiling-menu__category > a,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-ceiling-menu__extra > ul > li > a,
  html body header#header#header#header.typeheader-1 .container-megamenu .sub-menu .ilight-outdoor-menu__extra > ul > li > a {
    min-height: 44px !important;
  }
}

/* Three table cards fit in one row at the existing large-desktop breakpoint.
 * Smaller/compact panels retain the established responsive grid. */
@media (min-width: 1200px) {
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu[data-ilnav-compact="false"] .ilight-table-menu > ul.ilight-table-menu__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

}

/* Hide only the new LED-bulb overview on mobile; original mobile links stay intact. */
@media (max-width: 991px) {
  html body header#header#header#header.typeheader-1 .container-megamenu.vertical .sub-menu .ilight-menu-layout-v105-overview {
    display: none !important;
  }

}
