@charset "utf-8";

:root {
  --color-brand: #2c9ea3;
  --color-brand-dark: #217b80;
  --color-accent: #ea580c;
  --color-ink: #20292f;
  --color-text: #435159;
  --color-muted: #6b7880;
  --color-bg: #f4f7f8;
  --color-surface: #ffffff;
  --color-soft: #edf3f4;
  --color-line: #dce4e6;
  --shadow-card: 0 10px 30px rgba(32, 41, 47, 0.08);
  --shadow-hover: 0 14px 34px rgba(32, 41, 47, 0.14);
  --radius-sm: 4px;
  --radius-md: 8px;
  --page-width: 1120px;
  --motion-fast: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-bg);
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(44, 158, 163, 0.05) 0, rgba(44, 158, 163, 0) 260px),
    var(--color-bg);
  color: var(--color-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body::before {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand), #5fbec2 70%, var(--color-accent));
  content: "";
}

img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  position: relative;
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--motion-fast), background-color var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast);
}

a:hover {
  color: var(--color-brand-dark);
}

a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(44, 158, 163, 0.28);
  outline-offset: 2px;
}

table {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-spacing: 0;
  border-collapse: collapse;
}

table tr td {
  margin: 0;
  padding: 0;
  vertical-align: top;
}

input,
textarea,
select {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-ink);
  font: inherit;
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}

input:hover,
textarea:hover,
select:hover,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-brand);
}

.text-type {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#header {
  display: flex;
  width: min(var(--page-width), calc(100% - 48px));
  min-height: 112px;
  margin: 0 auto;
  padding: 28px 0 18px;
  align-items: flex-end;
  justify-content: space-between;
}

#header .logo {
  float: none;
  padding: 0 24px 2px 0;
}

#header .logo a {
  display: block;
  line-height: 0;
}

#header .logo img {
  width: 272px;
}

#header .menu {
  position: relative;
  z-index: 100;
  display: flex;
  float: none;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
  gap: 2px;
  text-align: right;
}

#header .menu li {
  position: relative;
  float: none;
}

#header .menu > li > a {
  display: flex;
  width: auto;
  min-width: 88px;
  height: 44px;
  margin: 0;
  padding: 0 15px;
  overflow: visible;
  border-bottom: 3px solid transparent;
  background: none !important;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
}

#header .menu > li > a:hover,
#header .menu > li > a.select,
#header .menu > li:hover > a,
#header .menu > li:focus-within > a {
  border-bottom-color: var(--color-brand);
  background: rgba(44, 158, 163, 0.07) !important;
  color: var(--color-brand-dark);
}

#header .menu:hover .select {
  border-bottom-color: var(--color-brand);
  background: rgba(44, 158, 163, 0.07) !important;
}

#header .menu .submenu {
  position: absolute;
  top: 44px;
  left: 0;
  display: none;
  min-width: 190px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--color-line);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  list-style: none;
  text-align: left;
}

#header .menu li:hover .submenu,
#header .menu li:focus-within .submenu {
  display: block;
}

#header .menu .submenu li,
#header .menu .submenu li a {
  display: block;
  float: none;
  width: 100%;
  height: auto;
  margin: 0;
}

#header .menu .submenu li a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 13px;
  white-space: nowrap;
}

#header .menu .submenu li a:hover,
#header .menu .submenu li a:focus-visible {
  background: var(--color-soft);
  color: var(--color-brand-dark);
}

#body-container {
  position: relative;
  z-index: 10;
  width: min(var(--page-width), calc(100% - 48px));
  height: auto !important;
  min-height: 520px;
  margin: 0 auto 36px;
  overflow: visible;
  border: 1px solid rgba(220, 228, 230, 0.85);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

#footer {
  position: relative;
  display: flow-root;
  width: auto;
  margin: 18px 32px 0;
  padding: 22px 0 26px;
  border-top: 1px solid var(--color-line);
}

#footer .bar {
  display: none;
}

#footer .product-type {
  display: grid;
  float: left;
  width: min(810px, 68%);
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 14px);
}

#footer .product-type li {
  float: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
}

#footer .product-type li img {
  opacity: 0.62;
  transition: opacity var(--motion-fast), transform var(--motion-fast);
}

#footer .product-type li a {
  display: flex;
  width: 100%;
  min-height: 78px;
  padding: 6px 2px;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--color-muted);
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.055em;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  transition: border-color var(--motion-fast), background var(--motion-fast), color var(--motion-fast);
}

#footer .product-type li a:hover {
  border-color: rgba(67, 213, 209, 0.22);
  background: rgba(67, 213, 209, 0.08);
  color: var(--color-brand-dark);
}

#footer .socket-standard-icon {
  display: block;
  width: 48px;
  height: 40px;
  margin-bottom: 7px;
  color: #a9bbc2;
  transition: color var(--motion-fast), transform var(--motion-fast);
}

#footer .product-type li a:hover .socket-standard-icon,
#footer .product-type li a.select .socket-standard-icon {
  color: var(--color-brand-light);
  transform: translateY(-2px);
}

#footer .product-type li a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

#footer .menu {
  padding-top: 4px;
  color: var(--color-line);
  font-size: 11px;
  line-height: 1.8;
  text-align: right;
}

#footer .menu a {
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: 0.035em;
}

#footer .menu a:hover {
  color: var(--color-brand-dark);
}

#footer .menu .copyright {
  padding-top: 6px;
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.page-navigation {
  display: flex;
  height: auto;
  min-height: 58px;
  padding: 0 32px;
  border-bottom: 1px solid var(--color-line);
  background: linear-gradient(90deg, rgba(44, 158, 163, 0.07), rgba(44, 158, 163, 0));
  color: var(--color-muted);
  font-size: 12px;
  line-height: 58px;
  align-items: center;
}

.page-navigation div {
  float: none;
}

.page-navigation .large {
  color: var(--color-ink);
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-navigation .splitter {
  width: 1px;
  height: 22px;
  margin: 0 18px;
  overflow: hidden;
  background: var(--color-line);
}

@media (max-width: 1024px) {
  #header,
  #body-container {
    width: calc(100% - 32px);
  }

  #header {
    align-items: center;
  }

  #header .logo img {
    width: 230px;
  }

  #header .menu > li > a {
    min-width: 0;
    padding: 0 10px;
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  #header {
    display: block;
    width: calc(100% - 24px);
    padding: 24px 0 12px;
  }

  #header .logo {
    padding: 0 0 18px;
    text-align: center;
  }

  #header .logo img {
    width: min(250px, 78vw);
  }

  #header .menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  #header .menu > li > a {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 6px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 11px;
  }

  #header .menu > li > a:hover,
  #header .menu > li > a.select,
  #header .menu > li:hover > a,
  #header .menu > li:focus-within > a {
    border-color: rgba(44, 158, 163, 0.35);
  }

  #header .menu .submenu {
    top: 46px;
    right: 0;
    left: 0;
    min-width: 220px;
    margin: auto;
  }

  #body-container {
    width: calc(100% - 24px);
    margin-bottom: 24px;
  }

  .page-navigation {
    min-height: 54px;
    padding: 0 20px;
    line-height: 54px;
  }

  .page-navigation .large {
    font-size: 14px;
  }

  .page-navigation .splitter {
    margin: 0 12px;
  }

  #footer {
    margin: 14px 20px 0;
    padding-bottom: 22px;
  }

  #footer .product-type {
    float: none;
    width: 100%;
    max-width: none;
    margin-bottom: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #footer .menu {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Precision technology visual refresh */
:root {
  --color-brand: #079da5;
  --color-brand-dark: #08757b;
  --color-brand-light: #43d5d1;
  --color-accent: #f26022;
  --color-ink: #101d26;
  --color-text: #3f515b;
  --color-muted: #70808a;
  --color-bg: #eaf1f3;
  --color-surface: #ffffff;
  --color-soft: #eef5f6;
  --color-line: #d6e3e6;
  --color-panel: #0c1b24;
  --color-panel-soft: #132a35;
  --shadow-card: 0 16px 44px rgba(14, 34, 45, 0.1);
  --shadow-hover: 0 22px 54px rgba(7, 88, 94, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --page-width: 1440px;
  --motion-fast: 220ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

html {
  background: #eaf1f3;
}

body {
  position: relative;
  background:
    radial-gradient(circle at 12% 10%, rgba(67, 213, 209, 0.15), transparent 24rem),
    radial-gradient(circle at 88% 28%, rgba(242, 96, 34, 0.08), transparent 20rem),
    linear-gradient(rgba(10, 104, 111, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 104, 111, 0.045) 1px, transparent 1px),
    var(--color-bg);
  background-size: auto, auto, 36px 36px, 36px 36px, auto;
  color: var(--color-text);
  font-family: "Aptos", "Segoe UI", "Microsoft YaHei", sans-serif;
}

body::before {
  position: absolute;
  height: 5px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-brand-light) 65%, var(--color-accent));
  box-shadow: 0 0 22px rgba(67, 213, 209, 0.42);
}

input,
textarea,
select {
  min-height: 48px;
  padding: 12px 14px;
  border-color: #cbdcdf;
  border-radius: 10px;
  background: #f8fbfb;
  box-shadow: inset 0 1px 2px rgba(13, 35, 45, 0.035);
}

input:hover,
textarea:hover,
select:hover,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-brand);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(7, 157, 165, 0.09);
}

#header {
  position: relative;
  width: min(var(--page-width), calc(100% - 48px));
  min-height: 104px;
  margin: 22px auto 14px;
  padding: 20px 22px 18px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 42px rgba(13, 35, 45, 0.09);
  backdrop-filter: blur(18px);
}

#header::before {
  position: absolute;
  top: -1px;
  right: 24px;
  left: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-brand-light), transparent);
  content: "";
}

#header .logo {
  padding: 0 28px 0 0;
}

#header .logo img {
  width: 250px;
}

#header .menu {
  padding: 5px;
  border: 1px solid rgba(214, 227, 230, 0.8);
  border-radius: 13px;
  background: rgba(238, 245, 246, 0.66);
  gap: 3px;
}

#header .menu > li > a {
  min-width: 86px;
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  color: #24343d;
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.045em;
}

#header .menu > li > a:hover,
#header .menu > li > a.select,
#header .menu > li:hover > a,
#header .menu > li:focus-within > a,
#header .menu:hover .select {
  border-bottom-color: transparent;
  background: var(--color-panel) !important;
  box-shadow: 0 8px 18px rgba(12, 27, 36, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
}

#header .menu > li > a.select::after {
  position: absolute;
  right: 9px;
  bottom: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-brand-light);
  box-shadow: 0 0 9px var(--color-brand-light);
  content: "";
}

#header .menu .submenu {
  top: 47px;
  padding: 9px;
  border: 1px solid rgba(67, 213, 209, 0.28);
  border-radius: 12px;
  background: rgba(12, 27, 36, 0.97);
  box-shadow: 0 20px 50px rgba(12, 27, 36, 0.28);
}

#header .menu .submenu li a {
  color: #d9e6e8;
}

#header .menu .submenu li a:hover,
#header .menu .submenu li a:focus-visible {
  background: rgba(67, 213, 209, 0.11);
  color: #ffffff;
}

#body-container {
  width: min(var(--page-width), calc(100% - 48px));
  margin-bottom: 40px;
  border: 1px solid rgba(202, 220, 224, 0.92);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(7, 157, 165, 0.025), transparent 36%),
    var(--color-surface);
  box-shadow: 0 28px 74px rgba(12, 35, 46, 0.13);
  animation: interface-reveal 520ms cubic-bezier(0.22, 0.78, 0.22, 1) both;
}

#body-container::before {
  position: absolute;
  top: -1px;
  right: 30px;
  left: 30px;
  z-index: 20;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-brand-light), transparent);
  content: "";
  pointer-events: none;
}

.page-navigation {
  min-height: 66px;
  padding: 0 34px;
  overflow: hidden;
  border-bottom: 1px solid rgba(67, 213, 209, 0.2);
  border-radius: 19px 19px 0 0;
  background:
    linear-gradient(90deg, rgba(67, 213, 209, 0.1), transparent 38%),
    repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(255, 255, 255, 0.025) 40px),
    var(--color-panel);
  color: #8298a2;
  line-height: 66px;
}

.page-navigation .large {
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0.11em;
}

.page-navigation .large:first-child {
  color: var(--color-brand-light);
}

.page-navigation a {
  color: #ffffff;
}

.page-navigation a:hover {
  color: var(--color-brand-light);
}

.page-navigation .splitter {
  background: rgba(255, 255, 255, 0.2);
}

#footer {
  margin: 30px 24px 24px;
  padding: 26px 28px;
  overflow: hidden;
  border: 1px solid rgba(67, 213, 209, 0.16);
  border-radius: 15px;
  background:
    radial-gradient(circle at 10% 0, rgba(67, 213, 209, 0.13), transparent 16rem),
    var(--color-panel);
}

#footer::after {
  position: absolute;
  right: -30px;
  bottom: -60px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(67, 213, 209, 0.12);
  border-radius: 50%;
  content: "";
}

#footer .product-type li,
#footer .product-type li a,
#footer .menu .copyright {
  color: #91a4ad;
}

#footer .product-type li a:hover,
#footer .product-type li a.select {
  color: #ffffff;
}

#footer .menu {
  color: #334852;
}

#footer .menu a {
  color: #dfeaec;
}

#footer .menu a:hover {
  color: var(--color-brand-light);
}

.tech-button {
  display: inline-flex;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
}

.tech-button.primary {
  background: linear-gradient(135deg, #0bb3b8, #087d84);
  box-shadow: 0 10px 28px rgba(7, 157, 165, 0.26);
  color: #ffffff;
}

.tech-button.secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.tech-button:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.tech-button.primary:hover {
  background: linear-gradient(135deg, #20c8c7, #078088);
  box-shadow: 0 15px 34px rgba(7, 157, 165, 0.34);
}

.tech-button.secondary:hover {
  border-color: rgba(67, 213, 209, 0.65);
  background: rgba(67, 213, 209, 0.12);
}

@keyframes interface-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  #header,
  #body-container {
    width: calc(100% - 32px);
  }

  #header .menu > li > a {
    padding: 0 10px;
  }
}

@media (max-width: 760px) {
  body {
    background-size: auto, auto, 28px 28px, 28px 28px, auto;
  }

  #header {
    width: calc(100% - 24px);
    margin-top: 16px;
    padding: 20px 12px 12px;
    border-radius: 16px;
  }

  #header .menu {
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  #header .menu > li > a {
    height: 44px;
    border: 1px solid var(--color-line);
    border-radius: 9px;
    background: rgba(238, 245, 246, 0.75) !important;
  }

  #header .menu > li > a:hover,
  #header .menu > li > a.select,
  #header .menu > li:hover > a,
  #header .menu > li:focus-within > a,
  #header .menu:hover .select {
    border-color: var(--color-panel);
    background: var(--color-panel) !important;
  }

  #body-container {
    width: calc(100% - 24px);
    border-radius: 16px;
  }

  .page-navigation {
    min-height: 58px;
    padding: 0 20px;
    border-radius: 15px 15px 0 0;
    line-height: 58px;
  }

  #footer {
    margin: 24px 14px 14px;
    padding: 24px 18px;
  }

  .tech-button {
    min-height: 44px;
  }
}

/* Wide brand header: centered logo with a dedicated navigation row. */
#header {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(16, 29, 38, 0.1);
  backdrop-filter: none;
}

#header::before {
  display: none;
}

.header-utility {
  display: flex;
  width: min(var(--page-width), calc(100% - 64px));
  min-height: 34px;
  margin: 0 auto;
  border-bottom: 1px solid #e7ecee;
  color: #76838a;
  font-size: 11px;
  letter-spacing: 0.045em;
  align-items: center;
  justify-content: space-between;
}

.header-utility > div {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-utility a {
  color: #52636b;
}

.header-utility a:hover {
  color: var(--color-brand-dark);
}

#header .logo {
  padding: 21px 0 18px;
  text-align: center;
}

#header .logo a {
  display: inline-block;
}

#header .logo img {
  width: 280px;
}

.primary-navigation {
  position: relative;
  z-index: 120;
  border-top: 1px solid #edf1f2;
  border-bottom: 1px solid #dfe6e8;
  background: #ffffff;
}

#header .menu {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  height: 66px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

#header .menu > li {
  display: flex;
  align-items: stretch;
}

#header .menu > li > a {
  min-width: 142px;
  height: 66px;
  padding: 0 24px;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  color: #26343b;
  font-size: 14px;
  letter-spacing: 0.035em;
  transform: none;
}

#header .menu > li > a:hover,
#header .menu > li > a.select,
#header .menu > li:hover > a,
#header .menu > li:focus-within > a,
#header .menu:hover .select {
  background: transparent !important;
  box-shadow: inset 0 -4px 0 var(--color-brand);
  color: var(--color-brand-dark);
  transform: none;
}

#header .menu > li > a.select::after {
  display: none;
}

#header .menu .submenu {
  top: 66px;
  min-width: 230px;
  padding: 12px;
  border: 1px solid #dbe5e7;
  border-radius: 0 0 10px 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(12, 35, 46, 0.16);
}

#header .menu .submenu li a {
  min-height: 44px;
  padding: 11px 14px;
  color: #35464e;
  font-size: 13px;
}

#header .menu .submenu li a:hover,
#header .menu .submenu li a:focus-visible {
  background: #edf7f7;
  color: var(--color-brand-dark);
}

#header .menu .product-mega-menu {
  left: 50%;
  width: min(720px, calc(100vw - 48px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
  transform: translateX(-50%);
}

#header .menu li:hover > .product-mega-menu,
#header .menu li:focus-within > .product-mega-menu {
  display: grid;
}

#header .menu .product-mega-menu li:last-child {
  grid-column: 1 / -1;
}

#header .menu .product-mega-menu li:last-child a {
  margin-top: 6px;
  background: var(--color-panel);
  color: #ffffff;
  text-align: center;
}

@media (max-width: 900px) {
  #header .menu > li > a {
    min-width: 0;
    padding: 0 18px;
  }
}

@media (max-width: 760px) {
  #header {
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }

  .header-utility {
    display: none;
  }

  #header .logo {
    padding: 18px 0 14px;
  }

  #header .logo img {
    width: min(240px, 72vw);
  }

  .primary-navigation {
    padding: 8px 12px 10px;
  }

  #header .menu {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
  }

  #header .menu > li {
    display: block;
    grid-column: span 2;
  }

  #header .menu > li:nth-last-child(-n+2) {
    grid-column: span 3;
  }

  #header .menu > li > a {
    width: 100%;
    height: 44px;
    min-width: 0;
    padding: 0 5px;
    border: 1px solid #dce6e8;
    border-radius: 7px;
    background: #f5f8f8 !important;
    font-size: 11px;
  }

  #header .menu > li > a:hover,
  #header .menu > li > a.select,
  #header .menu > li:hover > a,
  #header .menu > li:focus-within > a,
  #header .menu:hover .select {
    border-color: var(--color-panel);
    background: var(--color-panel) !important;
    box-shadow: none;
    color: #ffffff;
  }

  #header .menu .product-mega-menu {
    display: none !important;
  }
}
