/* =========================================================
   METRO INDUSTRIES — INNER PAGES V6
   Header parity with the approved homepage + related carousel
   refinement requested in the latest review.
   Scoped to .inner-page: index.php remains untouched.
========================================================= */

/* ---------- Header: match the approved Home Page layout ---------- */
.inner-page .main-navbar {
  padding: 14px 0;
  background: transparent;
}

.inner-page .nav-shell {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 18px 46px rgba(10,31,83,.08);
  border-radius: 24px;
  padding: 12px 20px;
}

.inner-page .site-header.is-scrolled .nav-shell {
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(9,25,59,.14);
}

.inner-page .main-navbar .navbar-nav {
  gap: 6px;
}

.inner-page .main-navbar .nav-link {
  padding: 10px 14px !important;
  border-radius: 12px;
  font-weight: 700;
}

/* Home-page mega menu dimensions and card spacing. */
.inner-page .metro-mega-menu {
  width: min(860px, calc(100vw - 48px));
  padding: 18px;
  border: 0;
}

.inner-page .mega-menu-grid {
  gap: 8px;
}

.inner-page .mega-menu-item,
.inner-page .mega-menu-item:hover {
  border: 0;
}

/* Remove the inner-page-only underline so active/hover states use the
   exact same nav-link treatment as the approved homepage. */
.inner-page .metro-nav-dropdown > .nav-link.dropdown-toggle::before {
  content: none !important;
  display: none !important;
}

/* Keep the caret static (the earlier requested no-rotation behaviour),
   but return its spacing/position to the Home Page layout. */
.inner-page .metro-nav-dropdown > .nav-link.dropdown-toggle {
  padding-right: 14px !important;
}

.inner-page .metro-nav-dropdown > .nav-link.dropdown-toggle::after {
  position: static !important;
  display: inline-block !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 6px !important;
  vertical-align: .15em !important;
  border-top: .3em solid currentColor !important;
  border-right: .3em solid transparent !important;
  border-bottom: 0 !important;
  border-left: .3em solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform: none !important;
  transition: none !important;
}

.inner-page .metro-nav-dropdown:hover > .dropdown-toggle::after,
.inner-page .metro-nav-dropdown > .dropdown-toggle.show::after,
.inner-page .metro-nav-dropdown > .dropdown-toggle.active::after {
  transform: none !important;
}

/* ---------- Related Products: centered heading + clean loop ---------- */
.inner-page .related-products-v5 .related-heading-v6 {
  max-width: 920px;
  margin: 0 auto 36px;
  text-align: center;
}

.inner-page .related-products-v5 .related-heading-v6 .eyebrow {
  justify-content: center;
}

.inner-page .related-products-v5 .related-heading-v6 h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.inner-page .related-carousel-shell-v5 {
  width: 100%;
  overflow: hidden;
}

.inner-page .related-products-swiper-v5 {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 1199.98px) {
  .inner-page .nav-shell {
    padding: 11px 16px;
  }
}

@media (max-width: 767.98px) {
  .inner-page .main-navbar {
    padding: 10px 0;
  }

  .inner-page .nav-shell {
    border-radius: 18px;
    padding: 9px 12px;
  }

  .inner-page .navbar-brand img {
    max-height: 50px;
  }

  .inner-page .related-products-v5 .related-heading-v6 {
    margin-bottom: 24px;
  }

  .inner-page .related-products-v5 .related-heading-v6 h2 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }
}
