/* ======================================
   MEGA MENU - Custom Styles
   ====================================== */

:root {
  --mm-primary: #e8601c;
  --mm-primary-hover: #d4540f;
  --mm-dark: #1a2332;
  --mm-dark-2: #0f1923;
  --mm-text: #000;
  --mm-text-light: #4c4c4c;
  --mm-text-muted: #999999;
  --mm-border-left: #cde2ffcc;
  --mm-border-right: #d8e7ff;
  --mm-bg: #ffffff;
  --mm-bg-light: #f8f9fa;
  --mm-header-bg: #eef5ff;
  --mm-sidebar-width: 260px;
  --mm-featured-width: 330px;
  --mm-link-blue: #1a73c7;
  --mm-radius: 12px;
  --mm-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ---- Mega Menu Container ---- */
.mega-menu {
  display: none;
  position: absolute;
  top: 70%;
  left: 0;
  right: 0;
  z-index: 1050;
  animation: mmSlideDown 0.3s ease-out;
  padding-top: 2.5rem;
}

.stickerheader .mega-menu {
  padding-top: 1.75rem;
}

.mega-menu.show {
  display: block;
}

@keyframes mmSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-menu-inner {
  --pad: 7vw;
  --pad-side: 26px;
  max-width: calc(100% - calc(var(--pad) * 2));
  margin: 0 auto;
  background: var(--mm-bg);
  border-radius: 0 0 var(--mm-radius) var(--mm-radius);
  box-shadow: var(--mm-shadow);
  overflow: hidden;
  border-top: none;
  clip-path: polygon(0% 0%, 100% 0%, 100% 96%, 98.5% 100%, 1.5% 100%, 0% 96%);
}

/* ---- Header / Tab Bar ---- */
.mega-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--pad-side);
  /* background: var(--mm-header-bg); */
  background: #e1ecfb;
  margin-bottom: 26px;
}

.mega-menu-tabs {
  display: flex;
  gap: 0;
}

.mega-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #4c4c4c;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.mega-tab:hover {
  color: var(--mm-text);
}

.mega-tab.active {
  color: var(--mm-primary);
  border-bottom-color: var(--mm-primary);
}

.headersection .primary-menu a.explore-all-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-secondary-blue);
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-left: 1px solid #9ec7ff;
  padding-left: 24px;
  padding-block: 5px;
}

/* ---- Tab Panels ---- */
.mega-tab-panel {
  display: none;
}

.mega-tab-panel.active {
  display: block;
}

/* ---- Menu Body Layout ---- */
.mega-menu-body {
  /* min-height: 380px; */
}

/* ---- Left Sidebar ---- */
.mega-sidebar {
  width: calc(var(--mm-sidebar-width) + calc(var(--pad-side) * 2));
  border-right: 1px solid var(--mm-border-left);
  background: var(--mm-bg);
  display: flex;
  flex-direction: column;
  padding-inline: var(--pad-side);
  gap: 20px;
  padding-right: 13px;
}

.mega-search-wrap {
  position: relative;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #f8f8f8;
}

input.mega-search {
  width: 100%;
  padding: 0;
  font-size: 16px;
  outline: none;
  color: #4d4d4d;
  border: 0;
  border-radius: 0;
  background-color: transparent;
}

input.mega-search::placeholder {
  color: #4d4d4d;
}

/* ---- Term List ---- */
.mega-term-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  max-height: calc(100vh - 370px);
}

.headersection .primary-menu ul.mega-term-list {
  margin: 0;
}

.mega-term-list.mega-term-list.mega-term-list.mega-term-list,
.mega-product-list.mega-product-list.mega-product-list.mega-product-list {
  display: block;
  border-bottom: 0;
}

.mega-term-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 16px;
  color: var(--mm-text);
  transition: all 0.15s ease;
  font-family: var(--font-montserrat);
  font-weight: 500;
  gap: 13px;
}

.mega-term-item:hover {
  color: var(--color-secondary-blue);
}

.mega-term-item.active {
  color: var(--color-secondary-blue);
  font-weight: 600;
}

.mega-term-item .bi-chevron-right {
  font-size: 10px;
  opacity: 0.4;
  transition: opacity 0.15s ease;
}

.mega-term-item:hover .bi-chevron-right,
.mega-term-item.active .bi-chevron-right {
  opacity: 1;
}

/* Scrollbar styling */
.mega-term-list::-webkit-scrollbar,
.mega-content::-webkit-scrollbar {
  width: 4px;
}

.mega-term-list::-webkit-scrollbar-track,
.mega-content::-webkit-scrollbar-track {
  background: transparent;
}

.mega-term-list::-webkit-scrollbar-thumb,
.mega-content::-webkit-scrollbar-thumb {
  background: #e9e9e9;
  border-radius: 4px;
}

/* ---- Main Content ---- */
.mega-content {
  padding: 24px var(--pad-side);
  padding-top: 0;
  overflow-y: auto;
  max-height: calc(100vh - 300px);
}

.mega-content-panel {
  display: none;
}

.mega-content-panel.active {
  display: block;
  animation: mmFadeIn 0.25s ease;
}

.mega-content-panel .row {
  padding-top: 20px;
}

@keyframes mmFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mega-content-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--mm-text);
  /* margin-bottom: 40px; */
  padding-bottom: 20px;
  margin: 0;
  border-bottom: solid 1px #cde2ff66;
}

.mega-subcategory-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-dblue);
  margin-bottom: 5px;
}

.mega-product-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.headersection .primary-menu ul.mega-product-list li {
  position: relative;
  padding: 7px 0 7px 14px;
  margin-left: 8px;
  display: flex;
  gap: 10px;
}

.headersection .primary-menu ul.mega-product-list li::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 100vw;
  left: 0;
  top: 16px;
  background-color: var(--mm-text);
}

.headersection .primary-menu ul.mega-product-list li::after {
  content: "";
  background-image: url("/wp-content/uploads/2026/04/up-arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  /* position: absolute; */
  width: 23px;
  height: 12px;
  right: 0px;
  /* top: 50%; */
  top: 10px;
  transform: translateY(-50%);
  display: block;
  position: relative;
}

.headersection .primary-menu ul.mega-product-list li a {
  color: #2d2d2d;
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-montserrat);
  padding: 0;
  position: relative;
}

.headersection .primary-menu ul.mega-product-list li a:hover {
  color: var(--mm-primary);
}

.headersection .primary-menu ul.mega-product-list li a .bi-box-arrow-up-right {
  font-size: 10px;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.headersection
  .primary-menu
  ul.mega-product-list
  li
  a:hover
  .bi-box-arrow-up-right {
  opacity: 1;
}

/* ---- Right Sidebar - Featured ---- */
.mega-featured {
  width: calc(var(--mm-featured-width) + calc(var(--pad-side) * 2));
  border-left: 1px solid var(--mm-border-right);
  background: var(--mm-bg);
  padding-inline: var(--pad-side);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 300px);
}

.mega-featured-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #8ea3c2;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mega-featured-slider {
  position: relative;
  overflow: hidden;
}

.mega-featured-slide {
  display: none;
}

.mega-featured-slide.active {
  display: block;
  animation: mmFadeIn 0.4s ease;
}

.mega-featured-img-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
}

.mega-featured-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  mix-blend-mode: luminosity;
  opacity: 0.8;
}

.mega-new-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  /* background: var(--mm-primary); */
  /* color: white; */
  /* font-size: 10px; */
  /* font-weight: 700; */
  /* padding: 3px 10px; */
  /* border-radius: 4px; */
  /* text-transform: capitalize; */
  z-index: 2;
}

.mega-featured-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-white);
  margin: 0;
  text-align: center;
  line-height: 1.3;
  position: absolute;
  bottom: 10px;
  z-index: 1;
  left: 0;
  right: 0;
  font-family: var(--font-montserrat);
}

/* Featured Dots */
.mega-featured-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 10px 0;
}

.mega-dot {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: #d9d9d9;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mega-dot.active {
  background: var(--mm-link-blue);
  width: 18px;
}

/* ---- Why Us Section ---- */
.mega-why-us {
  margin-top: 30px;
}

.mega-why-us-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #8ea3c2;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mega-why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}

.mega-why-us-item {
  display: flex;
  align-items: start;
  gap: 5px;
  font-size: 14px;
  color: var(--mm-text);
}

/* ---- Announcement Bar ---- */
.mega-announcement-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 30px;
  background:
    linear-gradient(
      270deg,
      #00326c 0%,
      #0065da 20%,
      #0065da 80.4%,
      #00326c 100%
    ),
    #edf5ff;
  color: white;
  margin-top: 22px;
}

.mega-announcement-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  min-width: 0;
}

.mega-announcement-dot {
  width: 27px;
  height: 27px;
}

.mega-announcement-label {
  font-weight: 700;
  color: var(--color-text-white);
  flex-shrink: 0;
  font-family: var(--font-montserrat);
}

.mega-announcement-sep {
  color: var(--color-text-white);
  flex-shrink: 0;
}

.mega-announcement-text {
  color: var(--color-text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
}

.headersection .primary-menu a.mega-announcement-link,
a.mega-announcement-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-white);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
  padding: 0;
  font-family: var(--font-montserrat);
}

.mega-announcement-link:hover {
  color: var(--mm-primary);
}

/* ---- Navbar Override ---- */
.navbar {
  position: relative;
}

.headersection .primary-menu .nav-link.top_level_link {
  display: inline-flex;
  padding-inline: 8px;
  align-items: center;
  gap: 8px;
}

.headersection .primary-menu .mega-menu-trigger .nav-link.top_level_link {
  align-items: center;
  gap: 8px;
}

.headersection .primary-menu .mega-menu-trigger .top_level_link svg {
  transition: transform 300ms ease-in-out;
}

.headersection .primary-menu .mega-menu-trigger.active .top_level_link svg {
  transform: rotate(-180deg);
}

.single-product-page .headersection,
.headersection.stickerheader {
  backdrop-filter: unset;
}

.single-product-page .headersection:after,
.headersection.stickerheader:after {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  z-index: -1;
}

.headersection .primary-menu ul > li.menu-item-has-children > a::before {
  position: static;
  order: 1;
  width: 11px;
}

.headersection .primary-menu ul > li.menu-item-has-children:hover > a::before {
  transform: rotate(180deg);
}

.headersection .primary-menu ul li .sub-menu li a {
  padding: 0;
}

.headersection .primary-menu ul li .sub-menu li + li {
  border-top: 0;
}

.headersection .primary-menu ul li > .sub-menu {
  padding: 16px 22px;
  background: #fff;
  gap: 0.875rem;
  min-width: 200px;
}

/* ---- Responsive ---- */

@media (min-height: 680px) {
  .mega-term-list {
    height: calc(100vh - 335px);
    max-height: 346px;
  }
  .mega-content,
  .mega-featured {
    height: calc(100vh - 300px);
    max-height: 414px;
  }
}

@media (min-width: 1820px) {
  :root {
    --mm-sidebar-width: 310px;
    --mm-featured-width: 390px;
  }
  .mega-menu-inner {
    --pad: 9vw;
  }
  .mega-why-us-grid {
    padding: 20px 24px;
  }
  .mega-tab {
    padding-block: 14px;
    font-size: 14px;
  }
}

@media (min-width: 1121px) {
  .navbar-toggler,
  .mobile_bottom {
    display: none;
  }

  .midsection_collapse {
    display: flex !important;
    flex-grow: auto;
    align-items: center;
    flex-grow: 1;
  }

  .mobile_overlay {
    display: none;
  }
}

@media (max-width: 1600px) {
  input.mega-search,
  .mega-term-item,
  .headersection .primary-menu ul.mega-product-list li a {
    font-size: 14px;
  }
  .headersection .primary-menu ul.mega-product-list li::before {
    top: 18px;
  }
}
@media (max-width: 1200px) {
  :root {
    --mm-sidebar-width: 210px;
    --mm-featured-width: 270px;
  }
  .mega-menu-inner {
    --pad-side: 18px;
  }
  .headersection .rightsection .btnsec {
    display: inline-block;
  }
}

@media (max-width: 1120px) {
  .headersection .rightsection .btnsec {
    display: none;
  }

  #megaMenuNavbar {
    width: 100%;
    padding: 1.5rem;
    position: relative !important;
    flex: 1;
  }

  .headersection .primary-menu ul {
    flex-direction: column;
    width: 100%;
  }

  #masthead .midsection {
    position: fixed;
    bottom: 1.5rem;
    left: 4vw;
    right: 4vw;
    background: var(--color-text-white);
    clip-path: polygon(0% 0%, 100% 0%, 100% 96%, 95.5% 100%, 4.5% 100%, 0% 96%);
    height: calc(100dvh - 10rem);
    transform: translateY(110%);
    transition: 400ms ease;
  }

  .menu-open #masthead .midsection {
    transform: translateY(0%);
  }

  .headersection .primary-menu .nav-link.top_level_link {
    font-size: 16px;
    padding: 0;
    color: var(--color-text-black);
    font-weight: 600;
  }

  .headersection .primary-menu ul li a:after {
    content: none;
  }
  .headersection .primary-menu ul:not(.sub-menu) {
    border-bottom: 0;
  }

  .mega-menu-trigger svg path {
    fill: #000;
  }

  .mega-announcement-bar {
    padding-inline: 1.5rem;
    padding-block: 12px;
    align-items: flex-start;
  }

  .mega-announcement-text {
    white-space: unset;
    grid-area: 2 / span 2;
  }

  .mega-announcement-left {
    text-align: left;
    /* display: grid; */
    grid-template-columns: auto 1fr;
  }

  .mega-announcement-left .mega-announcement-sep,
  .mega-announcement-left > *:not(.mega-announcement-text) {
    display: none;
  }

  .mega-announcement-label,
  .mega-announcement-text,
  a.mega-announcement-link {
    font-size: 14px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .mobile_overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background: linear-gradient(
      270deg,
      rgba(0, 50, 107, 0.7) 0%,
      rgba(0, 38, 82, 0.7) 50%,
      rgba(0, 50, 108, 0.7) 100%
    );
    backdrop-filter: blur(5px);
    display: none;
  }

  .menu-open .mobile_overlay {
    display: block;
  }

  .mega-menu {
    position: static;
    padding: 0;
  }

  .mega-menu .mega-announcement-bar {
    display: none;
  }

  .mega-menu-inner {
    --pad: 0;
    --pad-side: 0;
    display: flex;
    clip-path: none;
    box-shadow: none;
  }

  .mega-menu-tabs {
    flex-direction: column;
    width: 100%;
  }

  .mega-menu-header {
    flex-shrink: 0;
    width: 100%;
    background-color: transparent;
    flex-direction: column;
    margin-bottom: 0;
    padding-top: 6px;
  }

  .mega-tab {
    font-size: 14px;
    text-align: left;
    padding-inline: 7px;
    padding-block: 3px;
    border-bottom: 0;
    font-family: var(--font-montserrat);
    text-transform: capitalize;
  }

  .mega-tab-panel {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    background-color: #fff;
    z-index: 9;
    overflow: hidden;
  }

  .mega-featured,
  .headersection .primary-menu a.explore-all-link {
    display: none;
  }

  .mega-sidebar {
    width: 100%;
    flex-direction: column;
  }
  .mega-term-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .mega-content-title {
    display: none;
  }
  .headersection .primary-menu ul.mega-product-list li a {
    white-space: initial;
  }
  .mobile_div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow-y: auto;
  }
  .midsection_collapse {
    height: 100% !important;
  }
  .mega-back-btn {
    all: unset;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
  }
  .mega-back-btn:before {
    content: "";
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    width: 12px;
    height: 12px;
  }
  .mega-term-item {
    padding-inline: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    font-size: 16px;
  }
  .mega-content-panel {
    grid-column: span 2;
  }
  .mega-content-panel .row {
    margin: 0;
    gap: 1rem;
  }
  .mega-menu-body {
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    height: 90%;
    scrollbar-width: none;
  }
  .mega-subcategory-title {
    font-size: 16px;
  }
  .mega-term-item svg {
    transition: 400ms ease;
  }
  .mega-term-item.active svg {
    transform: rotate(90deg);
  }
  .headersection
    .primary-menu
    .mega-menu-trigger.active
    .nav-link.top_level_link {
    color: var(--color-secondary-blue);
    font-weight: 600;
  }

  .mega-term-item:hover {
    color: var(--mm-text);
  }

  .mega-term-item.active {
    color: var(--color-secondary-blue);
  }

  /* Hamburger */

  #nav-icon3 {
    width: 32px;
    height: 20px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
  }

  #nav-icon3 span {
    display: block;
    position: absolute;
    height: 2.5px;
    width: 100%;
    background: var(--color-text-white);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }

  #nav-icon3 span:nth-child(1) {
    top: 0px;
  }

  #nav-icon3 span:nth-child(2),
  #nav-icon3 span:nth-child(3) {
    top: 10px;
  }

  #nav-icon3 span:nth-child(4) {
    top: 20px;
  }

  #nav-icon3.open span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
  }

  #nav-icon3.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #nav-icon3.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  #nav-icon3.open span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
  }

  .mega-term-list {
    overflow-x: hidden;
  }

  .headersection .primary-menu ul li > .sub-menu {
    position: static;
    box-shadow: none;
    gap: 12px;
    padding-inline: 7px;
    padding-block: 12px;
    display: none;
    animation: mmSlideDown 0.3s ease-out;
  }

  .headersection .primary-menu ul li.open > .sub-menu {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .headersection .primary-menu ul li .sub-menu li a {
    font-family: var(--font-montserrat);
    color: #4c4c4c;
  }
  .headersection .primary-menu ul > li.menu-item-has-children > a::before {
    background: url('data:image/svg+xml,<svg width="12" height="7" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M-0.000163896 1.03542L1.03525 -4.64707e-07L5.83317 4.79792L10.6311 -4.52595e-08L11.6665 1.03542L5.83317 6.86875L-0.000163896 1.03542Z" fill="black"/></svg>')
      center no-repeat;
  }
  .mega-tab.active {
    color: var(--mm-text);
  }
  .headersection
    .primary-menu
    .menu-item-has-children.open
    .nav-link.top_level_link {
    color: var(--color-secondary-blue);
  }
}
@media (max-width: 991px) {
  .mega-menu-inner {
    border-radius: 0;
  }

  .mega-sidebar {
    width: 100%;
    border-right: none;
  }

  .mega-term-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    max-height: none;
    padding: 0 10px 10px;
    gap: 4px;
  }

  .mega-term-item .bi-chevron-right {
    display: none;
  }

  .mega-featured {
    width: 100%;
    border-left: none;
  }

  .mega-content {
    max-height: none;
  }

  .mega-why-us-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .mega-announcement-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .mobile_bottom .px-4 h5 {
    font-size: 20px;
  }
  .mobile_bottom .px-4 p {
    font-size: 14px;
  }
  .mobile_bottom .btnsec .btn.primary span {
    padding: 10px 15px;
  }
}

#megaMenuNavbar,
.headersection .primary-menu ul:not(.sub-menu),
.midsection {
  position: static;
}

.headersection .primary-menu > ul > li a::after,
.headersection .primary-menu > ul::after {
  bottom: -2.5px;
}

.headersection .primary-menu > ul::after {
  bottom: 18px;
}

.primary-menu li.mega-menu-trigger {
  position: static;
}

.headersection .primary-menu ul li a:not(:hover, .top_level_link)::after,
.headersection .primary-menu > ul > li a:not(.top_level_link)::after,
.headersection .primary-menu > ul::after {
  content: none;
}
