.nav-desktop {
   display: flex;
   align-items: center;
   gap: 4px;
   font-family: "Poppins", Sans-serif;
   justify-content: center;
   position: relative;
}
.nav-item {
   position: static;
}
.nav-trigger {
   display: flex;
   align-items: center;
   gap: 6px;
   height: 84px;
   padding-inline: 14px;
   background: transparent;
   border: none;
   color: #0E1A2F;
   font-weight: 500;
   font-size: 15px;
   border-bottom: 2px solid transparent;
   border-radius: 0;
}
.nav-trigger svg {
   width: 14px;
   height: 14px;
   transition: transform 0.15s ease;
   color: #6B7385;
}
.nav-item:hover .nav-trigger,
.nav-trigger[aria-expanded="true"] {
   color: #008B41;
   border-bottom-color: #008B41;
   background: transparent;
}
.nav-item:hover .nav-trigger svg,
.nav-trigger[aria-expanded="true"] svg {
   transform: rotate(180deg);
   color: #008B41;
}
.nav-link {
   display: flex;
   align-items: center;
   height: 84px;
   padding-inline: 14px;
   font-weight: 500;
   font-size: 15px;
   color: #0E1A2F;
   border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link[aria-current="page"] {
   color: #008B41;
   border-bottom-color: #008B41;
}

.mega {
   /* Anchored to .header-inner's own edges (its nearest positioned ancestor),
     not centered on the trigger â€” a trigger near the left/right edge of the
     header would otherwise push a wide panel off-screen. */
   position: absolute;
   top: 100%;
   left: 50%;
   transform: translateX(-50%);
   width: min(920px, 86vw);
   background: #fff;
   border: 1px solid #d7d4cc;
   border-radius: 12px;
   box-shadow: 0 20px 48px rgba(16, 23, 31, 0.16);
   padding: 28px;
   display: none;
   z-index: 50;
}
.mega.mega-wide {
   width: min(1200px, 92vw);
    left: 50%;
    transform: translateX(-50%);
}
.mega.mega-narrow {
   width: min(620px, 86vw);
}
.mega.mega-align-right {
   left: auto;
   right: 0;
}
.nav-item.open .mega {
   display: block;
}
.mega-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 8px 28px;
}
.mega-grid.cols-4 {
   grid-template-columns: repeat(4, 1fr);
}
.mega-grid.cols-2 {
   grid-template-columns: repeat(2, 1fr);
}

.mega-grid.cols-5 {
   grid-template-columns: repeat(5, 1fr);
   gap: 8px 20px;
}
.mega-grid.cols-5 .mega-list a {
   font-size: 13.8px;
}
.mega-col-title {
   font-size: 11.5px;
   font-weight: 600;
   letter-spacing: 0.07em;
   text-transform: uppercase;
   color: #008B41;
   margin-bottom: 10px;
   display: block;
}
.mega-list {
   display: flex;
   flex-direction: column;
   gap: 2px;
   margin-bottom: 18px;
}
.mega-list a {
   display: block;
   padding: 8px 8px;
   margin-inline: -8px;
   border-radius: 6px;
   font-size: 14px;
   color: #0E1A2F;
}
.mega-list a:hover {
   background: #ddf1e2;
   color: #008B41;
}
.mega-foot {
   margin-top: 4px;
   padding-top: 18px;
   border-top: 1px solid #d7d4cc;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px;
}
.mega-foot p {
   font-size: 13.5px;
   color: #6B7385;
   max-width: 46ch;
   margin:0px;
}

/* Nested Services mega menu: rail (level 1) -> branch (level 2) -> leaf (level 3) */
.mega.mega-tree {
   width: min(1180px, 94vw);
   left: 50%;
    transform: translateX(-50%);
}
.mega-tree-inner {
   display: flex;
   align-items: flex-start;
}
.mega-rail {
   flex: 0 0 206px;
   padding-right: 18px;
   border-right: 1px solid #d7d4cc;
   display: flex;
   flex-direction: column;
   gap: 2px;
   align-self: stretch;
}
.mega-rail-item {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 8px;
   width: 100%;
   padding: 11px 12px;
   border-radius: 8px;
   background: none;
   border: none;
   font-weight: 500;
   font-size: 14.5px;
   color: #0E1A2F;
   text-align: left;
}
.mega-rail-item svg {
   width: 14px;
   height: 14px;
   color: #6B7385;
   flex-shrink: 0;
}
.mega-rail-item:hover,
.mega-rail-item.is-active {
   background: #ddf1e2;
   color: #008B41;
}
.mega-rail-item:hover svg,
.mega-rail-item.is-active svg {
   color: #008B41;
}
.mega-rail-foot {
   margin-top: 10px;
   padding-top: 12px;
   border-top: 1px solid #d7d4cc;
}
.link-arrow {
   font-size: 14px;
    color: #008B41;
    font-weight: 500;
    display: flex;
    gap: 5px;
    align-items: center;
}
.mega-rail-foot .link-arrow {
   font-size: 14px;
    color: #008B41;
    font-weight: 500;
    display: flex;
    gap: 5px;
    align-items: center;
}

.mega-branch {
   display: none;
   flex: 0 0 264px;
   padding-inline: 22px;
   border-right: 1px solid #d7d4cc;
   align-self: stretch;
}
.mega-branch.is-active {
   display: block;
}
.mega-branch-list {
   display: flex;
   flex-direction: column;
   gap: 2px;
}
.mega-branch-item {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 8px;
   padding: 8px 10px;
   margin-inline: -10px;
   border-radius: 6px;
   font-size: 14px;
   color: #0E1A2F;
   background: none;
   border: none;
   width: calc(100% + 20px);
   text-align: left;
}
.mega-branch-item svg {
   width: 12px;
   height: 12px;
   color: #6B7385;
   flex-shrink: 0;
}
.mega-branch-item:hover,
.mega-branch-item.is-active {
   background: #ddf1e2;
   color: #008B41;
}
.mega-branch-item:hover svg,
.mega-branch-item.is-active svg {
   color: #008B41;
}

.mega-leaf {
   display: none;
   flex: 1 1 auto;
   min-width: 0;
   padding-left: 22px;
}
.mega-leaf.is-active {
   display: block;
}
.mega-leaf .mega-col-title {
   display: flex;
   align-items: center;
   justify-content: space-between;
}
.mega-leaf .count {
   font-size: 11px;
   font-weight: 700;
   color: #6B7385;
   text-transform: none;
   letter-spacing: 0;
}
.mega-leaf-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 2px 20px;
   margin-top: 2px;
}
.mega-leaf-grid a {
   display: block;
   padding: 6px 8px;
   margin-inline: -8px;
   border-radius: 6px;
   font-size: 13.5px;
   color: #0E1A2F;
}
.mega-leaf-grid a:hover {
   background: #ddf1e2;
   color: #008B41;
}

/* Nested mobile accordion (Products > Electrical & Electronics) */
.macc-sub {
   border: none;
   margin: 2px 0;
}
.macc-sub summary {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 8px;
   padding: 7px 0;
   font-size: 14.5px;
   color: #0E1A2F;
   cursor: pointer;
   list-style: none;
}
.macc-sub summary::-webkit-details-marker {
   display: none;
}
.macc-sub summary svg {
   width: 13px;
   height: 13px;
   color: #6B7385;
   transition: transform 0.15s ease;
   flex-shrink: 0;
}
.macc-sub[open] summary svg {
   transform: rotate(180deg);
}
.macc-sub[open] summary {
   color: #008B41;
}
.macc-sub-list {
   display: grid;
   padding: 2px 0 8px 14px;
   border-left: 1px solid #d7d4cc;
   margin-left: 2px;
}
.macc-sub-list a {
   padding: 6px 0 6px 10px;
   font-size: 13.5px;
}



.dth-mobile-menu {
  display: none;
  position: relative;
  z-index: 9999;
  font-family: inherit;
}
.dth-mobile-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7d4cc;
    border-radius: 8px;
    gap: 10px;
    background: #fff;
    color: inherit;
    padding: 0px;
    font: inherit;
    cursor: pointer;
}
html.dth-mobile-menu-open,
body.dth-mobile-menu-open {
    overflow: hidden !important;
    height: 100% !important;
    overscroll-behavior: none;
}
.dth-mobile-toggle-icon {
  display: inline-flex;
  width: 22px;
  flex-direction: column;
  gap: 5px;
}
.dth-mobile-toggle-icon i {
  display: block;
  height: 2px;
  width: 22px;
  background: currentColor;
  border-radius: 2px;
}
.dth-mobile-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998;
  overscroll-behavior: none;
    touch-action: none;
}
.dth-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 400px);
  height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  background: #fff;
  color: #202124;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.16);
  padding: 20px;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s;
  z-index: 9999;
  box-sizing: border-box;
}
.dth-mobile-menu.is-open .dth-mobile-panel {
  transform: translateX(0);
  visibility: visible;
}
.dth-mobile-menu.is-open .dth-mobile-scrim {
  display: block;
}
.dth-mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 20px;
  font-family: "Poppins", Sans-serif;
  color: #0E1A2F;
}
.dth-mobile-panel-head strong{font-weight: 600;}
.dth-mobile-close {
  border: 1px solid #d7d4cc;
  background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
  cursor: pointer;
  padding: 0px;
  color: #0E1A2F;
}
.dth-mobile-link,
.dth-mobile-accordion {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 16px 4px;
  border: 0;
  background: #fff !important;
  color: #0E1A2F !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  font-family: "Poppins", Sans-serif;
  cursor: pointer;
  box-sizing: border-box;
}
.dth-mobile-section, .dth-mobile-link
{
    border-bottom: 1px solid #d7d4cc;
}
.dth-mobile-content {
  padding: 0 4px 16px;
}
.dth-mobile-content[hidden] {
  display: none;
}
.dth-mobile-group {
  margin: 0px;
}
.dth-mobile-group-title {
  display: block;
  font-weight: 700;
  padding: 8px 0;
  color: #202124;
}
.dth-mobile-sub-accordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    background: #fff !important;
    text-align: left;
    color: #0E1A2F !important;
    font-family: "Poppins", Sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.dth-mobile-sub-accordion[aria-expanded="true"] {
    color: #008B41 !important;
}
.dth-mobile-sub-content {
  padding: 4px 0 8px 12px;
}
.dth-mobile-content a {
  display: block;
    padding: 8px 0;
    color: #6B7385;
    text-decoration: none;
    line-height: 1.45;
    font-size: 13.5px;
    font-weight: 400;
    font-family: 'Poppins';
}
.dth-mobile-group .dth-mobile-group .dth-mobile-sub-accordion
{
    border-bottom:0px;
    padding: 8px 0;
    font-weight: 400;
    font-size: 14px;
}
.dth-mobile-group .dth-mobile-group {
    margin: 2px 0px;
}
.dth-mobile-sub-content .dth-mobile-sub-content
{
    padding: 2px 0 8px 14px;
    border-left: 1px solid #d7d4cc;
    margin-left: 2px;
}



.dth-mobile-content a:hover {
  text-decoration: underline;
  color:#008B41;
}
.dth-mobile-footer-link {
  font-weight: 700;
  margin-top: 10px;
}
@media (max-width: 767px) {
  .nav-desktop {
    display: none !important;
  }
  .dth-mobile-menu {
    display: block;
  }
}
@media (min-width: 768px) {
  .dth-mobile-menu {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dth-mobile-panel {
    transition: none;
  }
}




























