/* Ant Teknik navbar — #menuNavBar + image mega menu (Figma / antteknik.com reference) */

:root {
  --brand-h: 104px;
  --navbar-h: 56px;
  --header-total-h: calc(var(--brand-h) + var(--navbar-h));
  --navbar-grey: #949699;
  --navbar-grey-hover: #B1CC83;
  --navbar-accent: #B1CC83;
  --navbar-grey-dark: #7a8087;
  --navbar-menu-bg: #bfc0c1;
}

.header--antteknik {
  position: relative;
  top: auto;
  z-index: 1001;
  box-shadow: none;
}

/* ── Brand row (white) ── */
.header-brand {
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
}

.header-brand__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--brand-h);
  padding: 10px 0;
  gap: 24px;
}

.header--antteknik .header__logo-img {
  height: 68px;
  max-height: 72px;
  max-width: 280px;
  width: auto;
  filter: none !important;
}

.page-shimadzu .header--antteknik .header__logo-img {
  height: 68px;
  max-height: 72px;
}

.header-brand__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 1;
  max-width: min(440px, 46vw);
  margin-inline-start: auto;
}

html[dir="rtl"] .header-brand__aside {
  align-items: flex-start;
}

.header-brand__utility {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
}

html[dir="rtl"] .header-brand__utility {
  justify-content: flex-start;
}

.header-brand__contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-brand__contact:hover,
.header-brand__contact.is-current {
  color: var(--navbar-accent, #B1CC83);
}

.header-brand__contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.header-brand__social {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 4px;
  border: 1px solid #0f172a;
  border-radius: 3px;
  background: #fff;
  flex-shrink: 0;
}

.header-brand__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-brand__social-link:hover {
  color: var(--navbar-accent, #B1CC83);
  border-color: var(--navbar-accent, #B1CC83);
  background: rgba(177, 204, 131, 0.06);
}

.header-brand__social-svg {
  width: 14px;
  height: 14px;
}

.header-brand__search {
  display: flex;
  align-items: stretch;
  width: 100%;
  flex: 1;
  min-width: 160px;
  max-width: 300px;
  border: 1px solid #0f172a;
  background: #fff;
}

.header-brand__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-size: 0.875rem;
  color: #0f172a;
  outline: none;
}

.header-brand__search-input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.header-brand__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  flex-shrink: 0;
  background: #0f172a;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-brand__search-btn:hover {
  background: var(--navbar-accent, #B1CC83);
}

.header-brand__search-btn svg {
  width: 18px;
  height: 18px;
}

/* ── Grey navbar (#menuNavBar) — antteknik plugins.css ── */
#menuNavBar.navbar-ant {
  margin-bottom: 0;
  font-size: 16px;
  background-color: var(--navbar-grey);
  border: none;
}

#menuNavBar > .container {
  padding: 0;
  max-width: 1320px;
}

.navbar-ant__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  min-height: var(--navbar-h);
  padding-inline-end: 88px;
}

.navbar-ant__list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0 12px;
  flex: 0 1 auto;
  min-width: 0;
  float: none !important;
}

.navbar-ant .nav__item {
  display: flex;
  align-items: stretch;
  position: relative;
}

.navbar-ant .nav__item + .nav__item::before {
  display: none;
}

.navbar-ant__link,
.navbar-ant .nav__link,
.navbar-ant .nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  height: 100%;
  border: none;
  background: var(--navbar-grey);
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #0f172a;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.navbar-ant__link:hover,
.navbar-ant .nav__trigger:hover,
.navbar-ant .nav__link:hover {
  background: var(--navbar-grey-hover);
  color: #fff;
}

.navbar-ant .nav__item.is-current .navbar-ant__link,
.navbar-ant .nav__item.is-current .nav__link,
.navbar-ant .nav__item.is-active .nav__trigger,
.navbar-ant .nav__item.is-active .navbar-ant__link {
  background: var(--navbar-grey-hover);
  color: #fff;
  box-shadow: none;
  border-bottom: none;
}

.navbar-ant.no-active-arrow .nav__item.is-active::after {
  display: none;
}

.navbar-ant.no-active-arrow .nav__item[data-mega].is-active::after {
  display: block;
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  z-index: 1002;
}

.navbar-ant__link--mega {
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding-top: 8px;
  padding-bottom: 6px;
}

.navbar-ant__link-text {
  line-height: 1.2;
}

.navbar-ant .nav__chevron {
  width: 9px;
  height: 9px;
  opacity: 0.9;
}

.navbar-ant .nav__chevron--down {
  width: 10px;
  height: 10px;
  opacity: 0.85;
  flex-shrink: 0;
}

.navbar-ant__tools {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  padding-inline-start: 0;
  border-inline-start: none;
}

.navbar-ant__lang {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Classic language switch — white frame, orange dot + AR / EN */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-inline-start: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  border-radius: 0;
  gap: 8px;
}

.lang-switch.lang-toggle {
  background: transparent;
  border: none;
  padding: 0;
  overflow: visible;
}

.navbar-ant__lang-switch {
  min-height: var(--navbar-h);
  align-items: center;
  border: none !important;
  border-inline-start: none !important;
  padding: 0 10px;
}

.navbar-ant__tools .lang-switch {
  border: none !important;
  border-inline-start: none !important;
}

.lang-switch__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: rgba(15, 23, 42, 0.55);
  user-select: none;
  transition: color 0.2s ease;
}

.lang-switch__label.is-active {
  color: var(--navbar-accent, #B1CC83);
}

.navbar-ant__lang-switch .lang-switch__label {
  color: rgba(15, 23, 42, 0.65);
}

.navbar-ant__lang-switch .lang-switch__label.is-active {
  color: #fff;
}

.lang-switch__track {
  position: relative;
  width: 44px;
  height: 22px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
  box-shadow: none;
}

.lang-switch__track:hover {
  border-color: #fff;
  box-shadow: 0 0 0 1px rgba(177, 204, 131, 0.35);
}

.lang-switch__knob {
  position: absolute;
  top: 50%;
  inset-inline-start: 3px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--navbar-accent, #B1CC83);
  border: none;
  box-shadow: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.lang-switch--en .lang-switch__knob {
  transform: translateX(22px);
}

html[dir="rtl"] .lang-switch--en .lang-switch__knob {
  transform: translateX(-22px);
}

.lang-switch--en .lang-switch__track {
  background: transparent;
  border-color: #fff;
}

.lang-switch__track:focus-visible {
  outline: 2px solid var(--navbar-accent, #B1CC83);
  outline-offset: 2px;
}

.page-shimadzu .lang-toggle--floating.lang-switch {
  display: inline-flex !important;
  position: fixed;
  bottom: 32px;
  z-index: 9999;
  padding: 8px 12px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  backdrop-filter: none;
  gap: 8px;
}

html[dir="rtl"] .page-shimadzu .lang-toggle--floating.lang-switch { left: 32px; right: auto; }
html[dir="ltr"] .page-shimadzu .lang-toggle--floating.lang-switch { right: 32px; left: auto; }

.page-shimadzu .lang-toggle--floating.lang-switch .lang-switch__track {
  border-color: #fff;
  box-shadow: none;
}

@media (min-width: 1025px) {
  .page-shimadzu .lang-toggle--floating.lang-switch {
    display: none !important;
  }
}

.navbar-ant__lang-btn {
  background: var(--navbar-grey);
  border: none;
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 10px;
  transition: background 0.2s;
}

.navbar-ant__lang-btn:hover,
.navbar-ant__lang-btn.is-active,
.navbar-ant__lang-btn.active {
  background: var(--navbar-grey-hover);
  color: #fff;
  text-decoration: none;
}

.navbar-ant__lang-sep {
  display: none;
}

.navbar-ant__lang-btn + .navbar-ant__lang-btn {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.35);
}

.navbar-ant__search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 100%;
  min-height: var(--navbar-h);
  color: #0f172a;
  background: var(--navbar-grey);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s;
}

.navbar-ant__search svg {
  width: 18px;
  height: 18px;
}

.navbar-ant__search:hover {
  background: var(--navbar-grey-hover);
  color: #fff;
}

/* ── Mega menu — white panel like Ant Teknik ── */
.header--antteknik .mega-panel {
  top: 100%;
}

.mega-panel--ant .mega-panel__backdrop {
  background: #fff;
  border-top: none;
  border-bottom: 3px solid var(--navbar-grey-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.mega-panel--ant .mega-panel__content {
  padding: 28px 0 24px;
}

.mega-panel--ant .mega-panel__content > .container {
  padding: 0 24px;
  max-width: 1320px;
}

/* Industries mega menu — premium single row */
.industries-mega {
  padding: 4px 0 2px;
}

.industries-mega__head {
  text-align: center;
  margin-bottom: 22px;
}

.industries-mega__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: #B1CC83;
  letter-spacing: 0.01em;
}

.industries-mega__caret {
  display: block;
  width: 22px;
  height: 22px;
  margin: 4px auto 0;
  color: #949699;
  opacity: 0.9;
}

.theme-light .industries-mega__title,
.mega-panel--ant .industries-mega__title {
  color: #B1CC83;
}

.industries-mega__line {
  display: block;
  width: 64px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #B1CC83 25%, #7CC9BF 75%, transparent);
}

.industries-mega__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  padding: 10px 6px 20px;
}

.industries-mega__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  position: relative;
  z-index: 1;
  box-shadow: none;
  border: 1px solid rgba(226, 232, 240, 0.65);
  transform: none;
  outline: none;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    z-index 0s;
}

.industries-mega__card::before,
.industries-mega__card::after {
  content: '';
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.industries-mega__card::before {
  inset: -1px;
  border-radius: 13px;
  z-index: -1;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--tile-accent, #7CC9BF) 18%, transparent),
    transparent 55%
  );
}

.industries-mega__card::after {
  inset: 8px -6px -20px;
  border-radius: 50%;
  z-index: -2;
  background: radial-gradient(
    ellipse at 50% 100%,
    color-mix(in srgb, var(--tile-accent, #7CC9BF) 50%, transparent) 0%,
    transparent 70%
  );
  filter: blur(10px);
}

.industries-mega__media {
  position: relative;
  z-index: 1;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #eef2f7;
}

.industries-mega__media::after {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 48%,
    transparent 100%
  );
  transform: skewX(-16deg);
  opacity: 0;
  transition:
    inset-inline-start 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
  pointer-events: none;
}

.industries-mega__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  filter: none;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease;
}

.industries-mega__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 20, 38, 0.28) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.industries-mega__bar {
  position: relative;
  z-index: 2;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 14px;
  text-align: start;
  overflow: hidden;
  transition: padding 0.35s ease;
}

html[dir="ltr"] .industries-mega__bar {
  justify-content: flex-end;
  text-align: end;
}

.industries-mega__bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, transparent 58%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.industries-mega__bar::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
  transform: scaleY(0);
  transform-origin: center bottom;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.industries-mega__bar span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-shadow: none;
  transition: transform 0.35s ease, text-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .industries-mega__card:hover {
    z-index: 8;
    transform: translateY(-10px);
    border-color: color-mix(in srgb, var(--tile-accent, #7CC9BF) 40%, #e2e8f0);
    box-shadow:
      0 28px 56px -14px rgba(15, 35, 64, 0.22),
      0 14px 36px -10px color-mix(in srgb, var(--tile-accent, #7CC9BF) 42%, transparent),
      0 0 0 1px color-mix(in srgb, var(--tile-accent, #7CC9BF) 12%, transparent);
  }

  .industries-mega__card:hover::before,
  .industries-mega__card:hover::after {
    opacity: 1;
    visibility: visible;
  }

  .industries-mega__card:hover .industries-mega__media img {
    transform: scale(1.1);
    filter: brightness(1.04) saturate(1.08);
  }

  .industries-mega__card:hover .industries-mega__overlay {
    opacity: 1;
  }

  .industries-mega__card:hover .industries-mega__media::after {
    opacity: 1;
    inset-inline-start: 130%;
  }

  .industries-mega__card:hover .industries-mega__bar::before {
    opacity: 1;
  }

  .industries-mega__card:hover .industries-mega__bar::after {
    transform: scaleY(1);
  }

  .industries-mega__card:hover .industries-mega__bar span {
    transform: translateY(-1px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  }
}

.industries-mega__card:focus {
  outline: none;
}

.industries-mega__card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--tile-accent, #7CC9BF) 70%, #fff);
  outline-offset: 3px;
}

/* Products mega — uniform product frames */
.industries-mega--products .industries-mega__grid {
  gap: 18px;
  padding: 8px 4px 18px;
}

.industries-mega--products .industries-mega__card {
  border: none;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.industries-mega--products .industries-mega__card::before,
.industries-mega--products .industries-mega__card::after {
  display: none;
}

.industries-mega--products .industries-mega__media {
  aspect-ratio: 1 / 1;
  border-radius: 16px 16px 0 0;
  padding: 14%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--tile-accent, #7CC9BF) 16%, #eef3ef) 0%,
    #e4ebe6 52%,
    color-mix(in srgb, var(--tile-accent, #7CC9BF) 12%, #d7e2dc) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 10px 28px -12px rgba(15, 35, 64, 0.14);
  transition:
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s ease;
  isolation: isolate;
}

.industries-mega--products .industries-mega__index {
  position: absolute;
  top: 10px;
  inset-inline-start: 12px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--tile-accent, #4F7E7D) 70%, #334155);
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: normal;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.industries-mega--products .industries-mega__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  mix-blend-mode: multiply;
  filter: contrast(1.02);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease;
}

.industries-mega--products .industries-mega__overlay {
  display: none;
}

.industries-mega--products .industries-mega__media::after {
  display: none;
}

.industries-mega--products .industries-mega__bar {
  min-height: 54px;
  justify-content: center;
  text-align: center;
  padding: 12px 10px;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 12px 24px -14px rgba(15, 35, 64, 0.28);
}

html[dir="ltr"] .industries-mega--products .industries-mega__bar,
html[dir="rtl"] .industries-mega--products .industries-mega__bar {
  justify-content: center;
  text-align: center;
}

.industries-mega--products .industries-mega__bar::before,
.industries-mega--products .industries-mega__bar::after {
  display: none;
}

.industries-mega--products .industries-mega__bar span {
  font-size: clamp(0.7rem, 0.95vw, 0.82rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.015em;
  text-wrap: balance;
}

@media (hover: hover) and (pointer: fine) {
  .industries-mega--products .industries-mega__card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: none;
  }

  .industries-mega--products .industries-mega__card:hover .industries-mega__media {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.7),
      0 0 0 2px color-mix(in srgb, var(--tile-accent, #7CC9BF) 55%, transparent),
      0 18px 36px -14px color-mix(in srgb, var(--tile-accent, #7CC9BF) 45%, transparent),
      0 14px 32px -10px rgba(15, 35, 64, 0.16);
  }

  .industries-mega--products .industries-mega__card:hover .industries-mega__media img {
    transform: scale(1.07);
    filter: contrast(1.04) brightness(1.01);
  }

  .industries-mega--products .industries-mega__card:hover .industries-mega__index {
    opacity: 0.9;
    transform: translateY(-1px);
  }

  .industries-mega--products .industries-mega__card:hover .industries-mega__bar span {
    transform: none;
    text-shadow: none;
  }
}

.mega-panel--ant [data-panel="industries"] .ant-mega-footer,
.mega-panel--ant [data-panel="products"] .ant-mega-footer {
  margin-top: 24px;
}

.mega-panel--ant [data-panel="industries"] .ant-mega-footer__link,
.mega-panel--ant [data-panel="products"] .ant-mega-footer__link {
  border-color: #B1CC83;
  color: #B1CC83;
  border-radius: 4px;
  padding: 12px 32px;
  letter-spacing: 0.06em;
}

.mega-panel--ant [data-panel="industries"] .ant-mega-footer__link:hover,
.mega-panel--ant [data-panel="products"] .ant-mega-footer__link:hover {
  background: #B1CC83;
  color: #fff;
}

/* Legacy productAppAreas (fallback) */
#menuNavBar .productAppAreas,
.mega-panel--ant .productAppAreas {
  width: 100%;
  text-align: center;
}

#menuNavBar .productAppAreas ul,
.mega-panel--ant .productAppAreas ul {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

#menuNavBar .productAppAreas ul li,
.mega-panel--ant .productAppAreas ul li {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  list-style: none;
  margin: 0 0 15px;
  width: 11%;
  min-width: 110px;
  padding: 0 4px;
}

.mega-panel--ant .productAppAreas ul li a {
  display: block;
  padding: 0;
  background: none;
  color: #fff;
  line-height: 1.2;
  text-decoration: none;
}

.mega-panel--ant .productAppAreas ul li a img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.mega-panel--ant .productAppAreas .ant-tile-bar {
  width: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 14px;
  text-align: center;
}

.mega-panel--ant .productAppAreas .ant-tile-bar span {
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
}

.mega-panel--ant .productAppAreas ul li:hover {
  transform: translateY(-2px);
  transition: transform 0.2s;
}

/* Products / Company — 3×2 image grid */
.ant-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #e2e8f0;
}

.ant-mega-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

.ant-mega-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  margin: -1px 0 0 -1px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
}

html[dir="rtl"] .ant-mega-tile {
  margin: -1px -1px 0 0;
}

.ant-mega-tile:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 2;
  position: relative;
}

.ant-mega-tile__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f1f5f9;
}

.ant-mega-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.ant-mega-tile:hover .ant-mega-tile__img img {
  transform: scale(1.05);
}

.ant-mega-tile__bar {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  text-align: center;
}

.ant-mega-tile__bar span {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.ant-mega-footer {
  margin-top: 16px;
  text-align: center;
}

/* Company mega — single row + hover description */
.company-mega {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 4px 0 2px;
}

.company-mega__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.company-mega__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navbar-grey-hover, #005a7c);
  white-space: nowrap;
}

.company-mega__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, transparent, rgba(0, 90, 124, 0.15));
}

html[dir="ltr"] .company-mega__line {
  background: linear-gradient(to right, transparent, rgba(0, 90, 124, 0.15));
}

.company-mega__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
}

.company-mega__link {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px 8px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #334155;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.company-mega__link:hover,
.company-mega__link.is-hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.company-mega__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  background: #f5f5f5;
  color: var(--step-color, #006A90);
  border: none;
  box-shadow: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.company-mega__link.is-hover .company-mega__icon,
.company-mega__link:hover .company-mega__icon {
  transform: scale(1.06);
}

.company-mega__icon svg {
  width: 24px;
  height: 24px;
}

.company-mega__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  color: #334155;
}

.company-mega__link.is-hover .company-mega__label,
.company-mega__link:hover .company-mega__label {
  color: var(--navbar-grey-hover, #005a7c);
}

.company-mega__preview {
  margin-top: 16px;
  padding: 16px 20px;
  min-height: 72px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef4fb 100%);
  border: none;
}

.company-mega__preview-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #475569;
  transition: opacity 0.2s ease;
}

.mega-panel--ant [data-panel="company"] .ant-mega-footer {
  margin-top: 18px;
}

.mega-panel--ant [data-panel="company"] .ant-mega-footer__link {
  border: none;
  background: transparent;
}

.mega-panel--ant [data-panel="company"] .ant-mega-footer__link:hover {
  background: rgba(0, 90, 124, 0.06);
  color: var(--navbar-grey-hover);
}

@media (max-width: 1100px) {
  .company-mega__list {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .company-mega__link {
    flex: 0 0 108px;
  }
}

@media (max-width: 640px) {
  .company-mega__icon {
    width: 44px;
    height: 44px;
  }

  .company-mega__icon svg {
    width: 20px;
    height: 20px;
  }

  .company-mega__label {
    font-size: 0.72rem;
  }

  .company-mega__preview {
    min-height: 64px;
    padding: 14px 16px;
  }
}

.ant-mega-footer__link {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid var(--navbar-grey-hover);
  color: var(--navbar-grey-hover);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.ant-mega-footer__link:hover {
  background: var(--navbar-grey-hover);
  color: #fff;
}

/* Hide legacy header bar */
.header--antteknik .header__bar,
.header--antteknik .site-topbar,
.header--antteknik .header__actions {
  display: none !important;
}

/* Mobile */
@media (max-width: 1024px) {
  :root {
    --brand-h: 72px;
    --navbar-h: 0px;
  }

  .header-brand__aside {
    display: none;
  }

  .navbar-ant__list,
  .navbar-ant__tools {
    display: none;
  }

  #menuNavBar.navbar-ant {
    display: none;
  }

  .header-brand__inner {
    min-height: var(--brand-h);
  }

  .header--antteknik .header__mobile-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .header--antteknik .menu-toggle span {
    background: var(--brand-800, #005a7c);
  }
}

@media (min-width: 1025px) {
  .header--antteknik .header__mobile-actions {
    display: none;
  }

  .navbar-ant__inner .header__mobile-actions {
    display: none;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .navbar-ant__link,
  .navbar-ant .nav__link,
  .navbar-ant .nav__trigger {
    padding: 10px 11px;
    font-size: 14px;
  }

  .navbar-ant__list {
    gap: 8px;
  }
}

@media (max-width: 1200px) {
  .industries-mega__grid {
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .industries-mega__card {
    scroll-snap-align: start;
  }
}

@media (max-width: 900px) {
  .industries-mega__grid {
    grid-template-columns: repeat(6, 140px);
  }
}

@media (max-width: 640px) {
  .industries-mega__title {
    font-size: 1.4rem;
  }

  .ant-mega-grid,
  .ant-mega-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-panel--ant .productAppAreas ul li {
    width: 33.33%;
    min-width: 90px;
  }
}
