/* ==========================================================================
   GMI website revision — 28 Oct 2026
   Header CTAs, product catalogue (GPI structure, GMI style), news,
   homepage sections and a readable minimum text size.
   ========================================================================== */

:root {
  --gx-navy-2: #0d2a44;
  --gx-line: #dbe4e1;
  --gx-text: #4c5a57;
}

/* ---------- Loader: larger logo ---------- */
.loader img {
  width: min(320px, 62vw) !important;
}

/* ---------- Header: two CTAs + language switch at the far right ---------- */
.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}
.site-header .header-actions .header-cta {
  margin-left: 0 !important;
  min-height: 44px;
  font-size: 14px;
  padding: 0 18px;
}
.site-header .header-cta-secondary {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff !important;
}
.site-header .header-cta-secondary span {
  color: var(--orange) !important;
}
.site-header.is-scrolled .header-cta-secondary {
  border-color: #9fb0ad;
  color: var(--navy) !important;
}
.site-header .header-cta-secondary:hover {
  border-color: var(--orange);
}
.site-header .language-switch {
  margin-left: 6px;
  padding: 9px 14px;
  gap: 10px;
  justify-self: end;
}
.site-header .language-switch button {
  font-size: 15px;
  letter-spacing: 0.06em;
}
.site-header .language-switch i {
  height: 16px;
}
.mobile-language-switch {
  font-size: 15px;
}
.mobile-menu-actions {
  display: grid;
  gap: 10px;
}
.mobile-menu-actions .button.outline-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
@media (min-width: 1101px) {
  .site-header {
    grid-template-columns: 138px minmax(0, 1fr) auto auto !important;
  }
}
@media (min-width: 1101px) and (max-width: 1360px) {
  .site-header .header-cta-secondary {
    display: none !important;
  }
}
@media (min-width: 1101px) and (max-width: 1280px) {
  .site-header .header-actions .header-cta {
    display: inline-flex !important;
  }
  .site-header .header-actions .header-cta-secondary {
    display: none !important;
  }
}
@media (max-width: 1100px) {
  .site-header .header-actions {
    display: none;
  }
  .site-header .language-switch {
    margin-left: auto;
  }
}

/* ==========================================================================
   Product catalogue (products.php / product-details.php)
   ========================================================================== */

.gx-breadcrumb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 460px;
  background: var(--navy);
  color: #fff;
}
.gx-breadcrumb-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 150px var(--pad) 64px;
  overflow: hidden;
}
.gx-breadcrumb-content::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border: 46px solid rgba(243, 107, 0, 0.12);
  border-radius: 50%;
  pointer-events: none;
}
.gx-breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 15px;
  color: #b9c6c3;
}
.gx-breadcrumb-nav a {
  color: #fff;
}
.gx-breadcrumb-nav a:hover {
  color: var(--orange);
}
.gx-breadcrumb-nav span[aria-hidden] {
  color: var(--orange);
}
.gx-breadcrumb h1,
.gx-breadcrumb .gx-breadcrumb-title {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}
.gx-breadcrumb-thumb {
  position: relative;
  min-height: 100%;
}
.gx-breadcrumb-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gx-breadcrumb-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 26, 45, 0.45), rgba(7, 26, 45, 0) 45%);
}

.gx-products-intro {
  padding: 80px 0 36px;
}
.gx-split-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 60px;
  align-items: end;
}
.gx-split-top h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  color: var(--navy);
}
.gx-split-right h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.gx-split-right p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gx-text);
}

.gx-product-section {
  padding: 24px 0 110px;
}

/* search / filter band */
.gx-band {
  background: linear-gradient(110deg, var(--navy) 0%, var(--gx-navy-2) 60%, #133a59 100%);
  padding: 34px 38px;
  color: #fff;
  margin-bottom: 42px;
  border-bottom: 3px solid var(--orange);
}
.gx-band-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.gx-band-head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.gx-band-icon {
  width: 68px;
  height: 68px;
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--orange);
}
.gx-band-icon svg {
  width: 30px;
  height: 30px;
}
.gx-band-titles h3 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.gx-band-titles p {
  margin: 0;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}
.gx-search {
  position: relative;
  flex: 1 1 420px;
  max-width: 500px;
}
.gx-search input {
  width: 100%;
  height: 56px;
  padding: 0 56px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}
.gx-search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}
.gx-search input:focus {
  border-color: var(--orange);
}
.gx-search-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.85);
  display: grid;
}
.gx-band-divider {
  height: 1px;
  margin: 26px 0 22px;
  background: rgba(255, 255, 255, 0.14);
}
.gx-band-filters {
  display: flex;
}
.gx-filter-col {
  padding: 0 34px;
}
.gx-filter-col:first-child {
  flex: 0 0 34%;
  padding-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.gx-filter-col:last-child {
  flex: 1;
  padding-right: 0;
}
.gx-filter-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}
.gx-filter-label svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
}
.gx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gx-chip {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 15px;
  line-height: 1;
  transition: 0.2s;
}
.gx-chip:hover {
  border-color: var(--orange);
  color: #fff;
}
.gx-chip.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  font-weight: 600;
}
.gx-chip-count {
  margin-left: 2px;
  opacity: 0.7;
}
.gx-select-wrap {
  display: none;
}

/* product grid */
.gx-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.gx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gx-line);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.gx-card[hidden] {
  display: none;
}
.gx-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  background: var(--orange);
  transition: right 0.3s;
}
.gx-card:hover {
  transform: translateY(-5px);
  border-color: #c7d3d0;
  box-shadow: 0 18px 40px rgba(7, 26, 45, 0.1);
}
.gx-card:hover::after {
  right: 0;
}
.gx-card-body {
  padding: 24px 24px 0;
}
.gx-card-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.gx-card-brand {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
}
.gx-card-thumb {
  margin-top: auto;
  height: 260px;
  padding: 14px 18px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gx-card-thumb img {
  width: 100%;
  height: 228px;
  object-fit: contain;
  transform: scale(var(--gx-zoom, 1));
  transition: transform 0.3s;
}
.gx-card:hover .gx-card-thumb img {
  transform: scale(calc(var(--gx-zoom, 1) * 1.04));
}
.gx-card-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 24px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--gx-line);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.gx-card-more svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  transition: transform 0.25s;
}
.gx-card:hover .gx-card-more svg {
  transform: translateX(4px);
}
.gx-empty {
  padding: 50px 0;
  text-align: center;
  font-size: 18px;
  color: var(--navy);
}
.gx-quality {
  margin-top: 46px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(110deg, var(--navy) 0%, var(--gx-navy-2) 60%, #133a59 100%);
}
.gx-quality-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.gx-quality-icon {
  width: 58px;
  height: 58px;
}
.gx-quality-text h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}
.gx-quality-text p {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}
.gx-quality-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 24px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.2s;
}
.gx-quality-btn:hover {
  background: #d95f00;
}
.gx-quality-arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--navy);
}
.gx-quality-arrow svg {
  width: 18px;
  height: 18px;
}

/* product details */
.gx-pdx {
  padding: 80px 0 110px;
  background: #fff;
}
.gx-pdx-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 50px;
  align-items: start;
}
.gx-pdx-block {
  margin-bottom: 56px;
}
.gx-pdx-left > .gx-pdx-block:last-child {
  margin-bottom: 0;
}
.gx-pdx-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 36px;
}
.gx-pdx-stage {
  position: relative;
  min-height: 380px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gx-line);
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
}
.gx-pdx-stage img {
  max-width: 86%;
  max-height: 320px;
  object-fit: contain;
  transform: scale(var(--gx-zoom, 1));
}
.gx-pdx-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gx-line);
  background: #fff;
  color: var(--orange);
}
.gx-pdx-zoom svg {
  width: 18px;
  height: 18px;
}
.gx-pdx-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.gx-pdx-thumb {
  flex: 1 1 0;
  max-width: 96px;
  aspect-ratio: 1;
  padding: 6px;
  border: 1px solid var(--gx-line);
  background: #fff;
  transition: 0.2s;
}
.gx-pdx-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gx-pdx-thumb.active,
.gx-pdx-thumb:hover {
  border-color: var(--orange);
}
.gx-pdx-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.gx-pdx-sku {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.gx-pdx-brand img {
  max-height: 22px;
  width: auto;
}
.gx-pdx-brand-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
}
.gx-pdx-title {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.gx-acc {
  margin-bottom: 28px;
  border-top: 1px solid var(--gx-line);
}
.gx-acc-item {
  border-bottom: 1px solid var(--gx-line);
}
.gx-acc-btn,
.gx-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}
.gx-acc-ic {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}
.gx-acc-ic::before,
.gx-acc-ic::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
  background: var(--orange);
  transition: transform 0.25s;
}
.gx-acc-ic::after {
  transform: rotate(90deg);
}
.open > .gx-acc-btn .gx-acc-ic::after,
.open > .gx-faq-q .gx-acc-ic::after {
  transform: rotate(0deg);
}
.gx-acc-body,
.gx-faq-a {
  display: none;
  padding: 0 2px 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gx-text);
}
.gx-acc-body p,
.gx-faq-a p {
  margin: 0;
}
.gx-acc-item.open .gx-acc-body,
.gx-faq-item.open .gx-faq-a {
  display: block;
}
.gx-variant-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.gx-variant-table th,
.gx-variant-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f1;
  text-align: left;
}
.gx-variant-table th {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--soft);
}
.gx-variant-table td:first-child {
  font-weight: 600;
  color: var(--navy);
}
.gx-pdx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.gx-pdx-download,
.gx-pdx-learn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  transition: 0.25s;
}
.gx-pdx-download {
  background: var(--navy);
  color: #fff;
}
.gx-pdx-download:hover {
  background: var(--orange);
}
.gx-pdx-learn {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.gx-pdx-learn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.gx-pdx-download svg,
.gx-pdx-learn svg {
  width: 18px;
  height: 18px;
}
.gx-pdx-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  background: var(--mist);
  padding: 32px 16px;
}
.gx-pdx-spec {
  position: relative;
  padding: 0 20px;
  text-align: center;
}
.gx-pdx-spec + .gx-pdx-spec::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: #cdd9d5;
}
.gx-pdx-spec-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--orange);
}
.gx-pdx-spec h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--muted);
}
.gx-pdx-spec p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}
.gx-pdx-howto-head h2,
.gx-pdx-faq h2,
.gx-pdx-other h2 {
  margin: 0 0 22px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--navy);
}
.gx-pdx-howto-head p {
  margin: -12px 0 24px;
  font-size: 16px;
  color: var(--gx-text);
}
.gx-pdx-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.gx-pdx-step-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}
.gx-pdx-step-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gx-pdx-step-thumb span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.gx-pdx-step p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gx-text);
}
.gx-faq-list {
  border-top: 1px solid var(--gx-line);
}
.gx-faq-item {
  border-bottom: 1px solid var(--gx-line);
}
.gx-pdx-other {
  padding: 34px;
  background: var(--soft);
}
.gx-pdx-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.gx-pdx-pcard {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 0;
  background: #fff;
  border: 1px solid var(--gx-line);
  transition: transform 0.25s, box-shadow 0.25s;
}
.gx-pdx-pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(7, 26, 45, 0.1);
}
.gx-pdx-pcard h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.gx-pdx-pthumb {
  margin-top: auto;
  height: 200px;
  padding: 14px 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gx-pdx-pthumb img {
  max-height: 170px;
  object-fit: contain;
}
.gx-pdx-category {
  position: sticky;
  top: 100px;
  padding: 24px 20px;
  background: var(--navy);
}
.gx-pdx-category h2 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
.gx-cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: 0.2s;
}
.gx-cat-item:last-child {
  margin-bottom: 0;
}
.gx-cat-item:hover {
  border-color: var(--orange);
}
.gx-cat-item.active {
  background: var(--orange);
  border-color: var(--orange);
}
.gx-cat-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: #fff;
  overflow: hidden;
}
.gx-cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gx-cat-label {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
}
.gx-cat-count {
  min-width: 30px;
  height: 28px;
  padding: 0 8px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}
.gx-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(7, 26, 45, 0.9);
  cursor: zoom-out;
}
.gx-lightbox[hidden] {
  display: none;
}
.gx-lightbox img {
  max-width: 94vw;
  max-height: 90vh;
  object-fit: contain;
  background: #fff;
}
.gx-lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

@media (max-width: 1199px) {
  .gx-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gx-pdx-layout {
    grid-template-columns: 1fr;
  }
  .gx-pdx-category {
    position: static;
  }
}
@media (max-width: 991px) {
  .gx-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gx-band-filters {
    flex-direction: column;
    gap: 22px;
  }
  .gx-filter-col,
  .gx-filter-col:first-child,
  .gx-filter-col:last-child {
    padding: 0;
    flex: auto;
    border-right: 0;
  }
  .gx-filter-col:first-child {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .gx-split-top,
  .gx-pdx-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gx-breadcrumb {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .gx-breadcrumb-thumb {
    display: none;
  }
  .gx-breadcrumb-content {
    padding: 130px var(--pad) 48px;
  }
  .gx-pdx-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .gx-band {
    padding: 26px 20px;
  }
  .gx-band-top {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .gx-search {
    max-width: none;
    flex: 0 0 auto;
  }
  .gx-band-filters .gx-chips {
    display: none;
  }
  .gx-select-wrap {
    display: block;
    position: relative;
  }
  .gx-select-wrap::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.85);
    border-bottom: 2px solid rgba(255, 255, 255, 0.85);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
  }
  .gx-filter-select {
    width: 100%;
    height: 50px;
    padding: 0 46px 0 18px;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font: inherit;
    font-size: 16px;
  }
  .gx-filter-select option {
    color: var(--navy);
    background: #fff;
  }
  .gx-quality {
    padding: 24px;
  }
  .gx-quality-btn {
    width: 100%;
    justify-content: space-between;
  }
  .gx-pdx-products {
    grid-template-columns: 1fr;
  }
  .gx-pdx-other {
    padding: 22px;
  }
  .gx-pdx-spec + .gx-pdx-spec::before {
    display: none;
  }
  .gx-pdx-specs {
    gap: 26px 0;
  }
}
@media (max-width: 575px) {
  .gx-grid {
    gap: 12px;
  }
  .gx-card-body {
    padding: 16px 14px 0;
  }
  .gx-card-title {
    font-size: 16px;
  }
  .gx-card-brand {
    font-size: 14px;
  }
  .gx-card-thumb {
    height: 170px;
    padding: 8px 10px;
  }
  .gx-card-thumb img {
    height: 150px;
  }
  .gx-card-more {
    margin: 0 14px;
    padding: 12px 0 14px;
  }
  .gx-pdx-steps {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.gx-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.25s;
}
.gx-btn svg {
  width: 18px;
  height: 18px;
}
.gx-btn-orange {
  background: var(--orange);
  color: #fff;
}
.gx-btn-orange:hover {
  background: #d95f00;
}
.gx-btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}
.gx-btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Hero: headline only */
.home-page .hero-compact .hero-copy h1 {
  font-size: clamp(3rem, 5.6vw, 6rem);
  margin: 0;
}

/* Certification: TÜV NORD certificate in focus, other certificates blurred behind */
.gx-cert {
  position: relative;
  padding: clamp(80px, 8vw, 120px) 0;
  background: var(--mist);
  overflow: hidden;
}
.gx-cert-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 4vw, 70px);
  align-items: center;
}
.gx-cert-copy h2 {
  margin: 26px 0 0;
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
  color: var(--navy);
}
.gx-cert-text {
  margin: 24px 0 0;
  max-width: 460px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gx-text);
}
.gx-cert-stage {
  position: relative;
  min-height: clamp(460px, 40vw, 600px);
  display: grid;
  place-items: center;
}
.gx-cert-wall {
  position: absolute;
  inset: 8% -30% 8% -10%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  filter: blur(3px) saturate(0.8);
  opacity: 0.8;
  transform: rotate(-3deg);
  pointer-events: none;
  user-select: none;
}
.gx-cert-wall img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.72;
  object-fit: cover;
  object-position: top;
  background: #fff;
  box-shadow: 0 10px 26px rgba(7, 26, 45, 0.12);
}
.gx-cert-wall img:nth-child(even) {
  transform: translateY(26px);
}
.gx-cert-featured {
  position: relative;
  z-index: 2;
  margin: 0;
  width: min(100%, 360px);
  text-align: center;
}
.gx-cert-featured a {
  display: block;
  padding: 12px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(7, 26, 45, 0.25);
  transition: transform 0.3s;
}
.gx-cert-featured a:hover {
  transform: translateY(-6px);
}
.gx-cert-featured img {
  width: 100%;
  height: auto;
}
.gx-cert-featured figcaption {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

/* Our Products (GPI layout) */
.gx-home-products {
  padding: clamp(80px, 8vw, 130px) 0;
  background: #fff;
}
.gx-home-products-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}
.gx-home-products-top h2 {
  max-width: 820px;
  margin: 26px 0 0;
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
  color: var(--navy);
}
.gx-home-products-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.gx-cat-slider {
  position: relative;
}
.gx-cat-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gx-cat-track::-webkit-scrollbar {
  display: none;
}
.gx-cat-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gx-line);
  box-shadow: 0 18px 46px rgba(7, 26, 45, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gx-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(7, 26, 45, 0.14);
}
.gx-cat-card-thumb {
  display: block;
  margin: 14px 14px 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--soft);
}
.gx-cat-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gx-cat-card:hover .gx-cat-card-thumb img {
  transform: scale(1.05);
}
.gx-cat-card-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 20px;
}
.gx-cat-card-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  overflow: hidden;
  background: var(--mist);
}
.gx-cat-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gx-cat-card-divider {
  width: 1px;
  height: 34px;
  background: var(--gx-line);
}
.gx-cat-card-label {
  flex: 1;
  min-width: 0;
}
.gx-cat-card-label strong {
  display: block;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.gx-cat-card-label small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}
.gx-cat-card-arrow {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--gx-line);
  color: var(--orange);
  transition: 0.25s;
}
.gx-cat-card-arrow svg {
  width: 18px;
  height: 18px;
}
.gx-cat-card:hover .gx-cat-card-arrow {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.gx-cat-nav {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
.gx-cat-nav[hidden] {
  display: none;
}
.gx-cat-nav button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
}
.gx-cat-nav button:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* Video section */
.gx-video {
  padding: clamp(80px, 8vw, 130px) 0;
  background: var(--navy);
  color: #fff;
}
.gx-video-head {
  margin-bottom: 40px;
}
.gx-video-head h2 {
  margin: 26px 0 0;
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
}
.gx-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0c2236;
  overflow: hidden;
}
.gx-video-frame > img,
.gx-video-frame video,
.gx-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.gx-video-frame.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 45, 0.28);
  pointer-events: none;
  transition: opacity 0.3s;
}
.gx-video-frame.is-playing::after {
  opacity: 0;
}
.gx-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 14px rgba(243, 107, 0, 0.22);
  transition: transform 0.25s;
}
.gx-video-play svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
  fill: currentColor;
}
.gx-video-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
}
.gx-video-frame.is-playing .gx-video-play {
  display: none;
}
.gx-video-caption {
  margin: 18px 0 0;
  font-size: 16px;
  color: #c6d2d6;
}

/* Quality: shorter copy, markers aligned with the printed numbers */
.home-page .quality-copy > p:not(.eyebrow) {
  font-size: 18px !important;
}
.home-page .quality-hotspot.q2 { left: 78.7%; top: 40.7%; }
.home-page .quality-hotspot.q3 { left: 80.4%; top: 78.3%; }
.home-page .quality-hotspot.q4 { left: 49.9%; top: 85.6%; }
.home-page .quality-hotspot.q5 { left: 24.6%; top: 79.4%; }
.home-page .quality-hotspot.q6 { left: 9.1%; top: 49.5%; }
.home-page .quality-hotspot span {
  font-size: 14px !important;
}

/* Photo gallery (facilities) */
.gx-gallery {
  padding: clamp(80px, 8vw, 130px) 0;
  background: var(--soft);
}
.gx-gallery-head {
  margin-bottom: 40px;
}
.gx-gallery-head h2 {
  margin: 26px 0 0;
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
  color: var(--navy);
}
.gx-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 17vw, 260px);
  gap: 14px;
}
.gx-gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  background: #dfe7e4;
  overflow: hidden;
  cursor: zoom-in;
}
.gx-gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gx-gallery-count-4 .gx-gallery-item:nth-child(4),
.gx-gallery-count-6 .gx-gallery-item:nth-child(6) {
  grid-column: span 2;
}
.gx-gallery-count-3 .gx-gallery-item:nth-child(n + 2) {
  grid-column: span 2;
}
.gx-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.gx-gallery-item:hover img {
  transform: scale(1.05);
}
.gx-gallery-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(0deg, rgba(7, 26, 45, 0.85), transparent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
.gx-gallery-lightbox figure {
  margin: 0;
  text-align: center;
}
.gx-gallery-lightbox figure img {
  max-height: 80vh;
  background: transparent;
}
.gx-gallery-lightbox figcaption {
  margin-top: 14px;
  font-size: 16px;
  color: #fff;
}
.gx-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-50%);
}
.gx-lightbox-nav.prev { left: 20px; }
.gx-lightbox-nav.next { right: 20px; }
.gx-lightbox-nav:hover,
.gx-lightbox-close:hover {
  background: var(--orange);
}
.gx-gallery-lightbox {
  cursor: default;
}

/* Supply: smaller headline, five steps ending at the customer's location */
.home-page .supply {
  min-height: 640px;
}
.home-page .supply h2 {
  max-width: 760px;
  font-size: clamp(2.4rem, 3.8vw, 4rem);
}
.home-page .supply-steps {
  grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
  margin-top: 54px;
}
.home-page .supply-steps span {
  font-size: 14px;
}
.home-page .supply-steps p {
  font-size: 17px !important;
  font-weight: 500;
  padding-right: 12px;
}
.home-page .supply-steps .is-final i {
  background: transparent;
}
.home-page .supply-steps .is-final i::before {
  width: 14px;
  height: 14px;
  top: -6px;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(243, 107, 0, 0.3);
}
.home-page .supply-steps .is-final p {
  color: var(--orange);
  font-weight: 600;
}

/* FAQ */
.gx-faq {
  background: #fff;
}
.gx-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: start;
}
.gx-faq-head {
  position: sticky;
  top: 110px;
}
.gx-faq-head h2 {
  margin: 26px 0 0;
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
  color: var(--navy);
}
.gx-faq .gx-faq-list {
  border-top: 1px solid var(--gx-line);
}
.gx-faq .gx-faq-q {
  padding: 26px 0;
  gap: 22px;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
}
.gx-faq-num {
  flex: none;
  min-width: 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
}
.gx-faq-text {
  flex: 1;
}
.gx-faq .gx-faq-a {
  padding: 0 40px 26px 52px;
  font-size: 17px;
}
.gx-faq .gx-faq-item.open .gx-faq-q {
  color: var(--orange);
}

/* Final CTA: shorter copy */
.home-page .final-cta {
  min-height: 560px;
}
.home-page .final-cta .container > p:not(.eyebrow) {
  font-size: 18px;
}

@media (max-width: 1100px) {
  .gx-cert-grid,
  .gx-faq-grid {
    grid-template-columns: 1fr;
  }
  .gx-faq-head {
    position: static;
  }
  .gx-cat-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}
@media (max-width: 760px) {
  .gx-home-products-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .gx-cat-track {
    grid-auto-columns: 86%;
    gap: 14px;
  }
  .gx-cert-stage {
    min-height: 420px;
  }
  .gx-cert-featured {
    width: min(78%, 300px);
  }
  .gx-cert-wall {
    inset: 10% -40%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .gx-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 160px;
  }
  .gx-gallery-item:first-child {
    grid-column: span 2;
  }
  .gx-gallery-count-3 .gx-gallery-item:nth-child(n + 2),
  .gx-gallery-count-4 .gx-gallery-item:nth-child(4),
  .gx-gallery-count-6 .gx-gallery-item:nth-child(6) {
    grid-column: span 1;
  }
  .gx-video-play {
    width: 72px;
    height: 72px;
  }
  .home-page .supply-steps {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .gx-faq .gx-faq-a {
    padding: 0 0 22px 52px;
  }
  .gx-lightbox-nav {
    top: auto;
    bottom: 20px;
    transform: none;
  }
}

/* ==========================================================================
   News
   ========================================================================== */
.gx-news {
  padding: 80px 0 120px;
}
.gx-news-head {
  max-width: 760px;
  margin-bottom: 46px;
}
.gx-news-head h2 {
  margin: 24px 0 14px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  color: var(--navy);
}
.gx-news-head p:not(.eyebrow) {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--gx-text);
}
.gx-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.gx-news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gx-line);
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
}
.gx-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(7, 26, 45, 0.1);
}
.gx-news-card.is-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.gx-news-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}
.gx-news-card.is-featured .gx-news-thumb {
  aspect-ratio: auto;
  min-height: 360px;
}
.gx-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gx-news-card:hover .gx-news-thumb img {
  transform: scale(1.04);
}
.gx-news-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}
.gx-news-card.is-featured .gx-news-body {
  justify-content: center;
  padding: 40px;
}
.gx-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}
.gx-news-meta b {
  padding: 4px 10px;
  background: var(--mist);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}
.gx-news-meta.light {
  color: #c6d2d6;
}
.gx-news-meta.light b {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.gx-news-body h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.gx-news-card.is-featured h3 {
  font-size: clamp(26px, 2.4vw, 34px);
}
.gx-news-body h3 a:hover {
  color: var(--orange);
}
.gx-news-body > p:not(.gx-news-meta) {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gx-text);
}
.gx-news-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.gx-news-more svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}
.gx-news-empty {
  padding: 70px 30px;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  border: 1px dashed #c9d5d1;
  background: var(--soft);
}
.gx-news-empty > svg {
  width: 44px;
  height: 44px;
  color: var(--orange);
}
.gx-news-empty p {
  margin: 0;
  font-size: 18px;
  color: var(--navy);
}
.gx-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 46px;
}
.gx-pagination a {
  min-width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gx-line);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
.gx-pagination a[aria-current],
.gx-pagination a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.gx-breadcrumb-article h1 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.1;
}
.gx-article-section {
  padding: 80px 0 120px;
}
.gx-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 70px;
  align-items: start;
}
.gx-article {
  max-width: 780px;
}
.gx-article-lead {
  margin: 0 0 30px;
  font-size: 21px;
  line-height: 1.6;
  color: var(--navy);
}
.gx-article-body {
  margin-bottom: 40px;
  font-size: 18px;
  line-height: 1.8;
  color: #33413e;
}
.gx-article-body h2 {
  margin: 40px 0 14px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--navy);
}
.gx-article-body p,
.gx-article-body ul {
  margin: 0 0 20px;
}
.gx-article-body li {
  margin-bottom: 8px;
}
.gx-article-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 24px;
}
.gx-article-recent,
.gx-article-cta {
  padding: 26px;
  background: var(--soft);
}
.gx-article-recent h2,
.gx-article-cta h2 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.gx-article-recent a {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--gx-line);
}
.gx-article-recent-thumb {
  height: 64px;
  background: #e2e9e6;
  overflow: hidden;
}
.gx-article-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gx-article-recent small {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--muted);
}
.gx-article-recent strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}
.gx-article-recent a:hover strong {
  color: var(--orange);
}
.gx-article-cta {
  background: var(--navy);
  color: #fff;
}
.gx-article-cta h2 {
  color: #fff;
}
.gx-article-cta p {
  margin: 0 0 20px;
  font-size: 16px;
  color: #c6d2d6;
}
@media (max-width: 1100px) {
  .gx-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gx-article-layout {
    grid-template-columns: 1fr;
  }
  .gx-article-aside {
    position: static;
  }
}
@media (max-width: 760px) {
  .gx-news-grid,
  .gx-news-card.is-featured {
    grid-template-columns: 1fr;
  }
  .gx-news-card.is-featured .gx-news-thumb {
    min-height: 220px;
  }
  .gx-news-card.is-featured .gx-news-body {
    padding: 24px;
  }
  .gx-article-body {
    font-size: 17px;
  }
}
.site-header .desktop-nav > a[aria-current="page"] {
  color: var(--orange);
}

/* Layout safety: images never force grid columns wider than the screen */
.gx-pdx-pthumb img,
.gx-card-thumb img,
.gx-pdx-stage img {
  max-width: 100%;
  height: auto;
}
.gx-card-thumb img { height: 228px; }
@media (max-width: 575px) { .gx-card-thumb img { height: 150px; } }
.gx-pdx-pthumb img { width: auto; max-height: 170px; }
.gx-pdx-stage img { width: auto; max-width: 86%; max-height: 320px; }
@media (max-width: 1199px) {
  .gx-pdx-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .gx-pdx-products { grid-template-columns: minmax(0, 1fr); }
}
.home-page .quality { overflow-x: clip; }

/* GPI image zoom + offset per product card */
.gx-card-thumb img { transform: translate(var(--gx-x, 0), var(--gx-y, 0)) scale(var(--gx-zoom, 1)); }
.gx-card:hover .gx-card-thumb img { transform: translate(var(--gx-x, 0), var(--gx-y, 0)) scale(calc(var(--gx-zoom, 1) * 1.04)); }
@media (max-width: 575px) {
  .gx-card-thumb img { transform: translate(calc(var(--gx-x, 0px) * .55), calc(var(--gx-y, 0px) * .55)) scale(var(--gx-zoom, 1)); }
}

/* Inner hero heading rendered as h2 on detail pages keeps the h1 look */
.inner-hero h2.inner-hero-heading {
  font-size: clamp(2.5rem, 4.8vw, 5rem);
  margin: 30px 0;
  max-width: 870px;
}
.inner-hero-content > p:last-child { font-size: 16px; }
@media (max-width: 760px) {
  .inner-hero h2.inner-hero-heading { font-size: clamp(2.6rem, 11vw, 4rem); }
}

.gx-pdx-features { background: #fff; border: 1px solid var(--gx-line); }
.gx-pdx-features .gx-pdx-spec h2 { color: var(--navy); }
.gx-pdx-features .gx-pdx-spec p { font-size: 15px; font-weight: 400; color: var(--gx-text); }
.gx-pdx-features .gx-pdx-spec-icon { background: var(--mist); }

/* ===== Revision 3: brand logos, product detail side panel ===== */
.gx-card-brand.has-logo { display: flex; align-items: center; height: 26px; margin-top: 10px; }
.gx-card-brand.has-logo img { height: 100%; width: auto; max-width: 120px; object-fit: contain; object-position: left center; }
.gx-pdx-meta { min-height: 56px; }
.gx-pdx-brand { display: flex; align-items: center; justify-content: flex-end; padding: 8px 14px; border: 1px solid var(--gx-line); background: #fff; }
.gx-pdx-brand img { height: 44px !important; max-height: 44px !important; width: auto; max-width: 200px; object-fit: contain; }

.gx-pdx-category { display: none; }
.gx-side { position: sticky; top: 100px; display: grid; gap: 20px; }
.gx-side-card { background: #fff; border: 1px solid var(--gx-line); border-top: 3px solid var(--orange); box-shadow: 0 18px 44px rgba(7, 26, 45, 0.07); }
.gx-side-head { padding: 24px 24px 14px; }
.gx-side-head .eyebrow { margin: 0 0 10px; color: var(--muted); }
.gx-side-head h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--navy); }
.gx-side-list { display: grid; padding: 0 12px 12px; }
.gx-side-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-bottom: 1px solid #eef2f1; color: var(--navy); transition: background 0.2s, padding 0.2s; }
.gx-side-item:last-child { border-bottom: 0; }
.gx-side-item::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--orange); transform: scaleY(0); transition: transform 0.2s; }
.gx-side-item:hover { background: var(--soft); padding-left: 16px; }
.gx-side-item:hover::before, .gx-side-item.active::before { transform: scaleY(1); }
.gx-side-item.active { background: var(--mist); padding-left: 16px; }
.gx-side-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; background: var(--mist); }
.gx-side-item.active .gx-side-icon { background: #fff; }
.gx-side-icon img { width: 24px; height: 24px; object-fit: contain; }
.gx-side-label { flex: 1; font-size: 16px; font-weight: 500; }
.gx-side-item.active .gx-side-label { font-weight: 600; }
.gx-side-count { min-width: 32px; padding: 3px 9px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); background: var(--soft); }
.gx-side-item.active .gx-side-count { background: var(--orange); color: #fff; }
.gx-side-all { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-top: 1px solid var(--gx-line); font-size: 15px; font-weight: 600; color: var(--navy); }
.gx-side-all svg { width: 18px; height: 18px; color: var(--orange); transition: transform 0.2s; }
.gx-side-all:hover svg { transform: translateX(4px); }
.gx-side-help { position: relative; overflow: hidden; padding: 26px 24px; background: var(--navy); color: #fff; }
.gx-side-help::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 180px; height: 180px; border: 30px solid rgba(243, 107, 0, 0.14); border-radius: 50%; }
.gx-side-help-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(255,255,255,0.08); color: var(--orange); }
.gx-side-help h2 { margin: 0 0 8px; font-size: 21px; font-weight: 600; }
.gx-side-help p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: #c6d2d6; }
.gx-side-help .gx-btn { position: relative; z-index: 1; min-height: 48px; }
@media (max-width: 1199px) { .gx-side { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 760px) { .gx-side { grid-template-columns: 1fr; } }
.gx-side-icon img { width: 32px; height: 32px; }

/* ===== Revision 3: article page ===== */
.gx-article-section { padding-top: 0; }
.gx-article-meta { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; padding: 26px 0; margin-bottom: 56px; border-bottom: 1px solid var(--gx-line); }
.gx-article-meta > span { display: grid; gap: 4px; }
.gx-article-meta small { font-size: 14px; color: var(--muted); }
.gx-article-meta strong, .gx-article-meta time { font-size: 16px; font-weight: 600; color: var(--navy); }
.gx-article-author { display: flex !important; align-items: center; gap: 12px; }
.gx-article-author > span:last-child { display: grid; gap: 4px; }
.gx-article-avatar { width: 46px; height: 46px; display: grid; place-items: center; background: var(--navy); color: var(--orange); font-size: 20px; font-weight: 600; }
.gx-article-figure { margin: 34px 0; }
.gx-article-figure img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.gx-article-figure figcaption { margin-top: 12px; padding-left: 14px; border-left: 3px solid var(--orange); font-size: 15px; line-height: 1.6; color: var(--muted); }
.gx-article-cover { margin-top: 0; }
.gx-takeaways { margin: 0 0 34px; padding: 26px 28px; background: var(--mist); border-left: 4px solid var(--green); }
.gx-takeaways h2 { margin: 0 0 14px; font-size: 20px; font-weight: 600; color: var(--navy); }
.gx-takeaways ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.gx-takeaways li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.6; color: #33413e; }
.gx-takeaways li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.gx-toc { padding: 24px 26px; border: 1px solid var(--gx-line); background: #fff; }
.gx-toc h2 { margin: 0 0 14px; font-size: 18px; font-weight: 600; color: var(--navy); }
.gx-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 4px; }
.gx-toc li { counter-increment: toc; }
.gx-toc a { display: flex; gap: 12px; padding: 7px 0; font-size: 15px; line-height: 1.45; color: var(--gx-text); }
.gx-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font-weight: 600; color: var(--orange); }
.gx-toc a:hover, .gx-toc a.active { color: var(--navy); font-weight: 600; }
.gx-toc-inline { margin-bottom: 34px; display: none; }
.gx-article-body h2 { scroll-margin-top: 110px; padding-top: 6px; }
.gx-article-body h3 { margin: 28px 0 10px; font-size: 21px; font-weight: 600; color: var(--navy); }
.gx-article-body ol { margin: 0 0 20px; padding-left: 22px; }
.gx-article-body blockquote { margin: 30px 0; padding: 24px 28px; background: var(--navy); color: #fff; font-size: 21px; line-height: 1.5; border-left: 4px solid var(--orange); }
.gx-article-body strong { color: var(--navy); }
.gx-article-faq { margin: 46px 0 10px; }
.gx-article-faq h2 { margin: 0 0 18px; font-size: 28px; font-weight: 600; color: var(--navy); }
.gx-article-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin: 40px 0 30px; padding: 22px 0; border-top: 1px solid var(--gx-line); border-bottom: 1px solid var(--gx-line); }
.gx-article-tags, .gx-article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gx-article-tags small, .gx-article-share small { margin-right: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.gx-article-tags span { padding: 6px 12px; background: var(--soft); font-size: 14px; color: var(--navy); }
.gx-article-share a { padding: 6px 12px; border: 1px solid var(--gx-line); font-size: 14px; font-weight: 600; color: var(--navy); }
.gx-article-share a:hover { border-color: var(--orange); color: var(--orange); }
.gx-article-aside { top: 100px; }
.gx-article-related { padding: 90px 0 110px; background: var(--soft); }
.gx-article-related h2 { margin: 22px 0 36px; font-size: clamp(2.2rem, 3.4vw, 3.4rem); color: var(--navy); }
.gx-article-related .gx-news-card.is-featured { display: flex; }
@media (max-width: 1100px) {
  .gx-toc-inline { display: block; }
  .gx-toc-side { display: none; }
}

/* Manufacturing service pages: product examples (links to the product pages) */
.gx-mfg-examples { background: #f5f8fa; }
.gx-mfg-examples-head { max-width: 720px; margin-bottom: 36px; }
.gx-mfg-examples-head h2 { margin: 14px 0 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.gx-mfg-examples-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gx-mfg-example { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dfe6ec; border-radius: 18px; background: #fff; color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.gx-mfg-example:hover { transform: translateY(-4px); border-color: #f3b28f; box-shadow: 0 18px 40px rgba(10, 37, 64, .12); }
.gx-mfg-example-img { display: grid; place-items: center; height: 280px; overflow: hidden; padding: 18px; background: #fff; border-bottom: 1px solid #edf1f4; }
.gx-mfg-example-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gx-mfg-example-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.gx-mfg-example-body strong { font-size: 20px; letter-spacing: -.01em; }
.gx-mfg-example-body small { color: #5b6b79; font-size: 15px; line-height: 1.55; }
.gx-mfg-example-body em { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; color: #f26a2e; font-size: 15px; font-style: normal; font-weight: 700; }
.gx-mfg-example-body em svg { width: 16px; height: 16px; }
@media (max-width: 980px) { .gx-mfg-examples-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .gx-mfg-examples-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .gx-mfg-example-img { height: 220px; } }

/* Homepage "Our products": show every category at once (no slider) */
.gx-cat-track { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; }
.gx-cat-nav { display: none !important; }
@media (max-width: 1100px) { .gx-cat-track { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; } }
@media (max-width: 560px) { .gx-cat-track { grid-template-columns: 1fr; grid-auto-columns: auto; gap: 14px; } }

/* Phone & tablet: never let a single-column grid grow past the screen */
.technology-intro-grid, .manufacturing-overview-grid, .manufacturing-process-grid, .design-safety-grid,
.technology-control-grid, .gx-mfg-examples, .serve-intro-media { min-width: 0; }
.technology-intro-grid > *, .manufacturing-overview-grid > *, .manufacturing-process-grid > *, .design-safety-grid > *,
.technology-control-grid > *, .serve-intro-media > * { min-width: 0; max-width: 100%; }
.technology-intro-grid img, .manufacturing-overview-grid img, .manufacturing-process-grid img, .design-safety-grid img { max-width: 100%; height: auto; }
@media (max-width: 900px) {
  .serve-intro-media { grid-template-columns: minmax(0, 1fr); }
  .serve-intro-note { position: static; width: auto; max-width: 100%; }
}
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 1100px) { .technology-control-image > div { right: 16px; } }

/* Mobile menu: show the full sub-menu (no inner scroll box) and keep the Products row dark */
.mobile-menu { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu nav .mobile-nav-group.products { background: transparent; }
@media (max-width: 760px) {
  .mobile-subnav { max-height: none; overflow: visible; }
}
.culture-story-grid > *, .culture-chapter > * { min-width: 0; max-width: 100%; }
.culture-story-grid img, .culture-chapter img { max-width: 100%; }
