.gdi-topbar,
.gdi-header,
.gdi-header * {
  box-sizing: border-box;
}

.gdi-topbar {
  position: relative;
  z-index: 1001;
  padding: 8px 0;
  color: #e9edf0;
  background: #101920;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.gdi-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.gdi-topbar .gdi-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.gdi-topbar a {
  color: #fff;
  text-decoration: none;
}

.gdi-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #dce1e4;
  font-family: Arial, sans-serif;
}

.gdi-header-row {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.gdi-brand {
  display: block;
  flex: 0 0 auto;
}

.gdi-brand img {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
}

.gdi-desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.gdi-desktop-nav > a,
.gdi-products > summary {
  color: #14202a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.gdi-desktop-nav > a:hover,
.gdi-desktop-nav > a:focus,
.gdi-desktop-nav > a[aria-current="page"],
.gdi-products > summary:hover,
.gdi-products > summary:focus,
.gdi-products[open] > summary,
.gdi-products.gdi-section-active > summary {
  color: #d8202b;
}

.gdi-quote {
  padding: 11px 18px;
  color: #fff !important;
  background: #d8202b;
}

.gdi-quote:hover,
.gdi-quote:focus {
  background: #a90f18;
}

.gdi-products {
  position: relative;
}

.gdi-products > summary {
  display: flex;
  gap: 7px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.gdi-products > summary::-webkit-details-marker {
  display: none;
}

.gdi-products > summary::after {
  color: #d8202b;
  font-size: 10px;
  content: "\25bc";
  transition: transform .2s ease;
}

.gdi-products[open] > summary::after {
  transform: rotate(180deg);
}

.gdi-product-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: -22px;
  width: 315px;
  padding: 10px 0;
  background: #fff;
  border-top: 3px solid #d8202b;
  box-shadow: 0 16px 38px rgba(20, 32, 42, .18);
}

.gdi-product-menu::before {
  position: absolute;
  top: -13px;
  left: 0;
  width: 100%;
  height: 13px;
  content: "";
}

.gdi-products[open] .gdi-product-menu,
.gdi-products:hover .gdi-product-menu,
.gdi-products:focus-within .gdi-product-menu {
  display: block;
}

.gdi-product-menu a {
  display: block;
  padding: 11px 20px;
  color: #34414a;
  border-bottom: 1px solid #edf0f1;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.gdi-product-menu a:last-child {
  border-bottom: 0;
}

.gdi-product-menu a:hover,
.gdi-product-menu a:focus,
.gdi-product-menu a[aria-current="page"] {
  padding-left: 25px;
  color: #d8202b;
  background: #f7f8f8;
}

.gdi-mobile-nav {
  display: none;
  position: relative;
}

.gdi-mobile-nav > summary {
  min-width: 84px;
  padding: 10px 14px;
  color: #fff;
  background: #d8202b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  list-style: none;
  text-align: center;
  text-transform: uppercase;
}

.gdi-mobile-nav > summary::-webkit-details-marker {
  display: none;
}

.gdi-mobile-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(320px, calc(100vw - 28px));
  padding: 8px;
  background: #fff;
  border-top: 3px solid #d8202b;
  box-shadow: 0 16px 38px rgba(20, 32, 42, .2);
}

.gdi-mobile-panel a {
  display: block;
  padding: 10px 12px;
  color: #25323b;
  border-bottom: 1px solid #edf0f1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.gdi-mobile-panel a[aria-current="page"] {
  color: #d8202b;
}

.gdi-mobile-label {
  display: block;
  padding: 12px 12px 5px;
  color: #8a959c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .gdi-desktop-nav {
    display: none;
  }

  .gdi-mobile-nav {
    display: block;
  }
}

@media (max-width: 620px) {
  .gdi-shell {
    width: min(100% - 28px, 1160px);
  }

  .gdi-topbar .gdi-shell {
    justify-content: center;
  }

  .gdi-topbar-location {
    display: none;
  }

  .gdi-brand img {
    width: 175px;
  }
}
