header {
  width: 100%;
  z-index: 999;
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(195, 192, 192, 0.37);
}

.navbar-item.is-mega {
  position: static;
}


/* .header-nav {
    padding: 10px 10px 0;
} */

.top-alert {
  background-color: #262c38;
  color: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 8px;
}


.top-nav-item {
  font-size: 13px;
  margin-inline-start: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;

}



.top-nav-dropdown {
  min-width: 140px;
  z-index: 99999;
}

.search-input {
  width: 200px;
  margin: 0 !important;
  cursor: pointer;
}

.search-trigger {
  display: flex;
  align-items: center;
}

.nav-cta {
  background-color: var(--text-color);
  color: #fff;

}

.nav-cta:hover,
.nav-cta:focus {
  color: #fff !important;
}

.nav-icon {
  height: 12px;
  width: 12px;
  display: flex;
  align-items: center;
  margin: 0 4px;
}

.nav-icon svg {
  height: 100%;
  width: 100%;
}


.main-logo {
  height: 80px;
}

.mobile-logo {
  height: 40px;
  margin-top: 8px;
}

.mobile-logo img {
  height: 100%;
  object-fit: contain;
}

.main-logo img {
  height: 90%;
  object-fit: contain;
  padding: 0.3rem 0;
}

.navbar {
  z-index: 9999 !important;
}


#mainNav.navbar-menu {
  justify-content: center
}

.navbar-menu.is-active {
  position: absolute;
  width: 100%;
  display: flex;
  background-color: transparent !important;
  padding-top: 1px;
  z-index: 99999;
}

.navbar-menu.is-active .navbar-start {
  background-color: #fff;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 25%);
  padding: 20px 10px;
}


#mainNav .navbar-dropdown .navbar-item {
  color: #5d6572;

}


#mainNav .navbar-start {
  margin-inline-end: 0;
}

.navbar-burger {
  color: var(--text-color);
}

.navbar-burger span {
  height: 2px;
}

.navbar-burger:hover {
  background-color: transparent !important;
}

.navbar-dropdown.megamenu {
  background-color: unset;
  box-shadow: none;
  padding-top: 0;
}

@media screen and (max-width: 768px) {
  .navbar-item {
    padding: .1rem .5rem
  }

  /* Mobile navigation buttons */
}


.alert {
  font-size: 14px
}


@media screen and (max-width: 768px) {
  .megamenu {
    padding: 6px;
  }

  .top-alert {
    justify-content: space-between;
  }

  .top-nav-wrapper {
    border: none;
  }

  .megamenu {
    min-width: 100%;
  }
}


.navbar-item svg path {
  fill: currentColor !important
}

.navbar-item svg rect {
  fill: currentColor !important
}

.navbar-dropdown {
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.top-nav-item.button {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border: 1.5px solid var(--primary-color);
  border-radius: var(--border-radius);
  transition: background 0.15s, color 0.15s;
  background-color: transparent;
}

.top-nav-item.button:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.top-nav-item.button.admin {
  background-color: var(--primary-color);
  color: #fff;
}


/* ── HEADER ── */
.site-header {
  position: relative;
  z-index: 50;
}

/* ── TOP UTILITY BAR ── */
.site-header-top {
  background: var(--theme-header-dark, var(--primary-color));
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
}

.site-header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 36px;
}

.site-header-context {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: min(600px, 50vw);
  height: 36px;
  overflow: hidden;
  color: inherit;
  font-size: 0.76rem;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.site-header-product-rotator {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
  overflow: hidden;
}

.site-header-product {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: inherit;
  visibility: hidden;
  opacity: 0;
  transform: perspective(400px) rotateX(-90deg);
  transform-origin: center bottom;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: var(--utility-product-delay);
}

.site-header-product-rotator--2 .site-header-product,
.site-header-products--2 .site-header-product {
  animation-name: utility-product-flip-2;
  animation-duration: 8s;
}

.site-header-product-rotator--3 .site-header-product,
.site-header-products--3 .site-header-product {
  animation-name: utility-product-flip-3;
  animation-duration: 12s;
}

.site-header-product:hover,
.site-header-product:focus-visible {
  color: #fff;
  text-decoration: none;
}

.site-header-product-label {
  flex: none;
  color: var(--theme-accent, #f4c84a);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-header-product-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header-products:hover .site-header-product,
.site-header-products:focus-within .site-header-product,
.site-header-product-rotator:hover .site-header-product,
.site-header-product-rotator:focus-within .site-header-product {
  animation-play-state: paused;
}

@keyframes utility-product-flip-2 {

  0%,
  40% {
    visibility: visible;
    opacity: 1;
    transform: perspective(400px) rotateX(0);
  }

  45%,
  100% {
    visibility: hidden;
    opacity: 0;
    transform: perspective(400px) rotateX(90deg);
  }
}

@keyframes utility-product-flip-3 {

  0%,
  27% {
    visibility: visible;
    opacity: 1;
    transform: perspective(400px) rotateX(0);
  }

  31%,
  100% {
    visibility: hidden;
    opacity: 0;
    transform: perspective(400px) rotateX(90deg);
  }
}

.site-header-product-rotator--1 .site-header-product,
.site-header-products--1 .site-header-product {
  visibility: visible;
  opacity: 1;
  transform: none;
  animation: none;
}

/* LOGO */
.site-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-img {
  height: 76px;
  width: auto;
  object-fit: contain;
}

.site-logo-flag {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.site-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--theme-heading, #1a1a1a);
  letter-spacing: 0.1em;
}

/* UTILITY LINKS */
.site-header-utils {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.util-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.12s;
  white-space: nowrap;
}

.util-link:hover {
  color: #fff;
}

.util-link--alert {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
}

.util-link--alert:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.util-icon {
  display: inline-flex;
  align-items: center;
  width: 14px;
  height: 14px;
}

.util-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* LANGUAGE DROPDOWN */
.util-dropdown {
  position: relative;
  display: inline-flex
}

.util-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--theme-surface, #fff);
  border: 1px solid var(--theme-border, #eee);
  border-radius: 8px;
  box-shadow: var(--shadow-sm, 0 4px 20px rgba(0, 0, 0, 0.1));
  min-width: 140px;
  z-index: 200;
  padding: 4px 0;
}

/* Bridge the 8px gap so hovering into the menu doesn't dismiss it */
.util-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.util-dropdown:hover .util-dropdown-menu {
  display: block;
}

.util-dropdown-item {
  display: block;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--theme-text, #444);
  text-decoration: none;
  transition: background 0.12s;
}

.util-dropdown-item:hover {
  background: var(--blue-100, #f4f6f9);
  color: var(--primary-color);
}

/* SEARCH */
.util-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.util-search-field {
  padding: 5px 12px;
  border: 1px solid var(--theme-border, #eee);
  border-radius: 20px;
  font-size: 12px;
  outline: none;
  width: 180px;
  transition: border-color 0.12s;
}

.util-search-field:focus {
  border-color: var(--primary-color);
}

/* CTA BUTTONS */
.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.header-cta:hover {
  color: #fff;
}

.header-cta--solid {
  color: #fff;
}

.header-cta--solid:hover {
  opacity: 0.9;
  color: #fff;
}

/* ── MAIN NAV ── */
.site-nav {
  background: var(--theme-surface, rgba(255, 255, 255, 0.98));
  border-bottom: 1px solid var(--theme-border, rgba(10, 43, 61, 0.09));
  position: relative;
}

.site-nav-inner {
  display: flex;
  align-items: center;
  min-height: 84px;
  gap: 20px;
}

.site-nav-brand {
  display: none;
}

/* NAV LINKS */
.site-nav-menu {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-width: 0;
}

.site-nav-menu .navbar-start {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-left: auto;
}

/* individual nav item */
.nav-item-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 clamp(7px, 0.8vw, 13px);
  font-size: 12px;
  font-weight: bold;
  color: var(--theme-heading, #333);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.12s, border-color 0.12s;
  height: 100%;
  text-transform: uppercase
}

.site-nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  border-left: 1px solid var(--theme-border, #e5e9ec);
  padding-left: 16px;
  flex-shrink: 0;
}

.site-nav-actions .util-search-input {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 210;
  padding: 8px;
  background: var(--theme-surface, #fff);
  border: 1px solid var(--theme-border, #e5e9ec);
  border-radius: 8px;
  box-shadow: var(--shadow-sm, 0 8px 24px rgba(10, 43, 61, 0.12));
}

.site-nav-search {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--primary-color);
  cursor: pointer;
}

.site-nav-search:hover,
.site-nav-search:focus-visible {
  background: var(--primary-color-light);
}

.nav-item-link:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* active state — Bulma adds .is-active or you can target current page */
.nav-item-link.is-active,
.navbar-item.is-active>.nav-item-link {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* chevron */
.nav-chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.nav-item:hover .nav-chevron {
  transform: rotate(180deg);
}

/* ── SIMPLE DROPDOWN ── */
.nav-dropdown {
  border-radius: 8px !important;
  border: 1px solid #eee !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  padding: 4px 0 !important;
  min-width: 180px;
}

.nav-dropdown-item {
  font-size: 13px !important;
  color: #444 !important;
  padding: 8px 16px !important;
  transition: background 0.12s, color 0.12s !important;
}

.nav-dropdown-item:hover {
  background: #f4f6f9 !important;
  color: var(--primary-color) !important;
}

/* ── MEGAMENU ── */
.megamenu {
  border-top: 2px solid var(--primary-color) !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
  padding: 1.5rem 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

.megamenu-inner {
  padding: 0 1rem;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px;
}

.megamenu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.12s;
}

.megamenu-item:hover {
  background: #f4f6f9;
}

.megamenu-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.megamenu-item-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-color);
}

.megamenu-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.megamenu-item-label {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

.megamenu-item:hover .megamenu-item-label {
  color: var(--primary-color);
}

/* ── MOBILE UTILS ── */
.mobile-utils {
  display: none;
}

/* ── MOBILE BURGER ── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE: override Bulma navbar-menu ── */
@media (max-width: 1215px) {
  .site-nav-inner {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: static;
  }

  .site-logo--desktop,
  .site-nav-actions {
    display: none;
  }

  /* brand row — always visible on mobile */
  .site-nav-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: 80px;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
  }

  .mobile-logo {
    display: inline-flex;
    align-items: center;
    height: 60px;
    margin-top: 0;
  }

  .nav-burger {
    display: flex;
  }

  /* Bulma shows/hides .navbar-menu via .is-active */
  #mainNav.site-nav-menu.navbar-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff !important;
    border-top: 1px solid #f0f0f0;
    padding: 0;
  }

  #mainNav.site-nav-menu.navbar-menu.is-active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 116px);
    overflow-y: auto;
    z-index: 220;
  }

  .site-nav-menu .navbar-start {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  /* nav links — vertical on mobile */
  .nav-item-link {
    height: auto;
    padding: 12px 16px;
    border-bottom: none !important;
    border-left: 3px solid transparent;
    margin-bottom: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-item-link:hover {
    border-bottom: none !important;
    border-left-color: var(--primary-color);
    background: #f8f9fb;
  }

  /* dropdowns go inline on mobile */
  .navbar-item.has-dropdown .navbar-dropdown,
  .navbar-item.is-mega .navbar-dropdown {
    position: static !important;
    display: block !important;
    box-shadow: none !important;
    border: none !important;
    border-top: none !important;
    border-radius: 0 !important;
    border-left: 3px solid #E6F1FB !important;
    margin-inline-start: 2rem;
    padding: 4px 0 !important;
    min-width: unset;
  }

  .megamenu {
    border-top: none !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  .megamenu-inner {
    padding: 0 0.5rem;
  }

  .megamenu-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .megamenu-item {
    padding: 8px 12px;
  }

  .megamenu-item-icon {
    width: 28px;
    height: 28px;
  }

  /* mobile utility section */
  .mobile-utils {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
    padding: 8px 0;
  }

  .mobile-util-link {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
  }

  .mobile-util-link:hover {
    background: #f8f9fb;
    color: var(--primary-color);
  }

  .mobile-util-link--cta {
    color: var(--primary-color);
  }

  /* hide desktop-only nav elements */
  .nav-chevron {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-nav-brand {
    padding: 0 0.75rem;
  }

  .nav-item-link {
    padding: 11px 12px;
    font-size: 13px;
  }
}

@media (max-width: 820px) {
  .site-header-context {
    display: none;
  }

  .site-header-top-inner {
    justify-content: flex-end;
  }

  .site-header-utils {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header-product {
    display: none;
    animation: none;
  }

  .site-header-product.is-first {
    display: flex;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .site-header-utils {
    width: 100%;
    justify-content: flex-end;
    gap: 14px;
  }

  .site-header-utils>#google_language_translator,
  .site-header-utils>.util-link--alert,
  .site-header-utils>.header-cta--feedback,
  .site-header-utils>.nav-alert-inline {
    display: none;
  }

  .site-header-top-inner {
    min-height: 36px;
  }
}


/* ── MOBILE: simplify megamenu items ── */
@media (max-width: 1215px) {

  /* hide icon boxes and images entirely */
  .megamenu-item-icon {
    display: none !important;
  }

  /* reset megamenu item to plain text link */
  .megamenu-item {
    padding: 10px 16px !important;
    border-radius: 0 !important;
    gap: 0 !important;
    background: transparent !important;
  }

  .megamenu-item:hover {
    background: #f8f9fb !important;
    border-left-color: var(--primary-color) !important;
  }

  .megamenu-item-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #555 !important;
  }

  .megamenu-item:hover .megamenu-item-label {
    color: var(--primary-color) !important;
  }

  /* flatten megamenu grid to single column list */
  .megamenu-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* remove megamenu padding/spacing */
  .megamenu-inner {
    padding: 0 !important;
  }

  /* hide sub-item pills row */

  /* also flatten simple dropdown items */
  .nav-dropdown-item {
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #555 !important;
  }

  .nav-dropdown-item:hover {
    background: #f8f9fb !important;
    color: var(--primary-color) !important;
  }

  /* consistent left indent for all child items
     under their parent nav link */
  .navbar-item.has-dropdown .navbar-dropdown {
    margin-left: 0 !important;
    border-left: 3px solid #E6F1FB !important;
    padding-left: 0 !important;
  }

  /* remove the container card border on megamenu */
  .navbar-item.is-mega .navbar-dropdown {
    border: none !important;
    box-shadow: none !important;
    margin-left: 0 !important;
    border-left: 3px solid #E6F1FB !important;
  }
}

/* ── MOBILE NAV CLOSE ROW ── */
.mobile-nav-close-row {
  display: none;
}

@media (max-width: 1215px) {
  .mobile-nav-close-row {
    display: none;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 1rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f4f6f9;
    border: 1px solid #eee;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s;
    padding: 0;
    flex-shrink: 0;
  }

  .mobile-nav-close:hover {
    border-color: var(--primary-color-light);
  }

  .mobile-nav-close svg {
    width: 14px;
    height: 14px;
    stroke: #555;
    transition: stroke 0.12s;
  }

  .mobile-nav-close:hover svg {
    stroke: var(--primary-color);
  }

  /* prevent body scroll when nav open */

}

/* ══════════════════════════════════════
   MEGAMENU
══════════════════════════════════════ */
.megamenu {
  border-top: 2px solid var(--primary-color) !important;
  border-radius: 0 0 14px 14px !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12) !important;
  padding: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  overflow: hidden;
}

.megamenu-inner {
  padding: 0;
}

/* two-column layout */
.megamenu-2col {
  display: grid;
  grid-template-columns: 220px 1fr;
}

/* ── DARK LEFT PANEL ── */
.megamenu-left {
  background: var(--primary-color);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

/* subtle glow */
.megamenu-left::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(74, 144, 196, 0.12);
  pointer-events: none;
}

.megamenu-eyebrow {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.megamenu-left-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 8px;
}

.megamenu-left-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.megamenu-view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--background-color);
  text-decoration: none;
  transition: gap 0.12s;
  position: relative;
  z-index: 1;
}

.megamenu-view-all:hover {
  gap: 8px;
  color: var(--background-color);
}

.megamenu-view-all svg {
  width: 11px;
  height: 11px;
}

/* ── RIGHT PANEL ── */
.megamenu-right {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: #fff;
}

/* ── SERVICES: ICON GRID ── */
.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.megamenu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.12s;
  cursor: pointer;
}

.megamenu-item:hover {
  background: #f4f6f9;
}

.megamenu-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: background 0.12s;
}

.megamenu-item:hover .megamenu-item-icon {
  background: var(--background-color);
}

.megamenu-item-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-color);
  stroke: transparent;
}

.megamenu-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.megamenu-item-label {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  transition: color 0.12s;
}

.megamenu-item:hover .megamenu-item-label {
  color: var(--primary-color);
}

/* ── PRODUCTS: THUMBNAIL LIST ── */

/* ── SUB-ITEMS PILLS ── */
.megamenu-sub-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 10px 4px;
  margin-top: 6px;
  border-top: 1px solid #f0f0f0;
}

.megamenu-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #555;
  background: #f4f6f9;
  border: 1px solid #eee;
  text-decoration: none;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.megamenu-pill:hover {
  background: var(--background-color);
  color: var(--primary-color);
  border-color: var(--background-color);
}

/* ══════════════════════════════════════
   SIMPLE DROPDOWN
══════════════════════════════════════ */
.nav-dropdown {
  border-top: 2px solid var(--primary-color) !important;
  border-radius: 0 0 10px 10px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #eee !important;
  padding: 6px 0 !important;
  min-width: 220px !important;
  overflow: hidden;
}

.nav-dropdown-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
  color: #444 !important;
  transition: background 0.12s, color 0.12s !important;
  border-bottom: 1px solid #f4f4f4 !important;
}

.nav-dropdown-item:last-child {
  border-bottom: none !important;
}

.nav-dropdown-item:hover {
  background: #f4f6f9 !important;
}

.nav-dropdown-label {
  font-size: 13px;
  font-weight: 500;
  color: #444;
  transition: color 0.12s;
}

.nav-dropdown-item:hover .nav-dropdown-label {
  color: var(--primary-color);
}

.nav-dropdown-arrow {
  flex-shrink: 0;
  color: #ddd;
  display: flex;
  align-items: center;
  transition: color 0.12s, transform 0.12s;
}

.nav-dropdown-item:hover .nav-dropdown-arrow {
  color: var(--primary-color);
  transform: translateX(3px);
}

.nav-dropdown-arrow svg {
  width: 12px;
  height: 12px;
}

/* ══════════════════════════════════════
   MOBILE OVERRIDES
══════════════════════════════════════ */
@media (max-width: 1215px) {

  /* flatten megamenu to list */
  .megamenu,
  .nav-dropdown {
    position: static !important;
    display: block !important;
    box-shadow: none !important;
    border: none !important;
    border-top: none !important;
    border-radius: 0 !important;
    width: 100% !important;
    overflow: visible !important;
  }

  /* remove two-column layout */
  .megamenu-2col {
    grid-template-columns: 1fr !important;
  }

  /* hide dark left panel on mobile */
  .megamenu-left {
    display: none !important;
  }

  /* right panel full width */
  .megamenu-right {
    padding: 0 !important;
    border-left: 3px solid #E6F1FB;
    margin-left: 1rem;
  }

  /* flatten grid to list */
  .megamenu-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* hide icons on mobile */
  .megamenu-item-icon {
    display: none !important;
  }

  /* plain text item */
  .megamenu-item {
    padding: 10px 16px !important;
    border-radius: 0 !important;
    gap: 0 !important;
    border-bottom: 1px solid #f4f4f4 !important;
  }

  .megamenu-item:last-child {
    border-bottom: none !important;
  }

  .megamenu-item-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #555 !important;
  }

  /* hide pills on mobile */
  .megamenu-sub-row {
    display: none !important;
  }

  /* simple dropdown items */
  .nav-dropdown-item {
    border-bottom: 1px solid #f4f4f4 !important;
    padding: 10px 16px !important;
  }

  .nav-dropdown-arrow {
    display: none !important;
  }

  /* indent child items under parent */
  .navbar-item.has-dropdown .navbar-dropdown,
  .navbar-item.is-mega .navbar-dropdown {
    margin-left: 0 !important;
    padding: 0 !important;
  }
}


/* ── SERVICES WITH PRODUCTS MEGAMENU ── */
.svc-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1rem;
  padding: 0.25rem 0;
}

/* ── SERVICE COLUMN ── */
.svc-menu-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ── SERVICE HEADER LINK ── */
.svc-menu-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.12s;
  margin-bottom: 2px;
}

.svc-menu-hdr:hover {
  background: #f4f6f9;
}

/* ── SERVICE ICON ── */
.svc-menu-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: background 0.12s;
}

.svc-menu-hdr:hover .svc-menu-icon {
  background: var(--background-color);
}

.svc-menu-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-color);
  stroke: transparent;
}

.svc-menu-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── SERVICE TITLE ── */
.svc-menu-title {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.3;
  transition: color 0.12s;
}

.svc-menu-hdr:hover .svc-menu-title {
  color: var(--primary-color);
}

/* ── PRODUCT LINKS ── */
.svc-menu-products {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-inline-start: 8px;
  border-left: 2px solid #f0f0f0;
  margin-inline-start: 23px;
}

.svc-menu-product {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1.4;
  transition: background 0.12s, color 0.12s;
}

.svc-menu-product:hover {
  background: #f4f6f9;
  color: var(--primary-color);
}

/* ── MOBILE: collapse to list ── */
@media (max-width: 1024px) {
  .svc-menu {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  .svc-menu-col {
    gap: 0;
    border-bottom: 1px solid #f4f4f4;
  }

  .svc-menu-col:last-child {
    border-bottom: none;
  }

  .svc-menu-hdr {
    padding: 10px 16px;
    border-radius: 0;
    margin-bottom: 0;
  }

  /* hide icon on mobile */
  .svc-menu-icon {
    display: none;
  }

  .svc-menu-title {
    font-size: 13px;
    font-weight: 600;
  }

  /* hide child products on mobile to save space */
  .svc-menu-products {
    display: none;
  }
}

/* flex pages sit below core products with a small gap */
.svc-menu-flex {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid #f0f0f0;
}

/* flex page links are slightly more muted to distinguish from core products */
.svc-menu-product--flex {
  color: #888;
  font-style: italic;
}

.svc-menu-product--flex:hover {
  color: var(--primary-color);
  font-style: normal;
}