/* ===== Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: #1f2933;
  background: #f4f6f9;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Top Bar ===== */
.top-bar {
  background: #1b425f;
  color: #ffffff;
  font-size: 13px;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  gap: 8px;
}

.top-bar-contacts a {
  opacity: 0.92;
}

.top-bar-contacts span {
  margin: 0 6px;
}

/* ==============================
   GLOBAL HEADER (ALL PAGES)
   ============================== */

.site-header {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Main header layout */
.header-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1.6fr) auto;
  align-items: center;
  gap: 14px;
  padding: 8px 0; /* tightened for premium feel */
}

/* Logo block */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px; /* reduced from 44px */
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.logo-text strong {
  font-size: 16px;
  letter-spacing: 0.06em; /* refined */
  color: #1b425f;
}

.logo-text small {
  color: #6b7280;
}

/* Cart */
.cart-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

#cart-count {
  font-weight: 600;
  color: #0b3d62;
}

/* Search bar */
.header-search {
  display: flex;
  align-items: stretch;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #cfd7e6;
  background: #f9fafb;
}

.header-search input {
  border: none;
  padding: 9px 14px;
  font-size: 14px;
  flex: 1;
  background: transparent;
}

.header-search input:focus {
  outline: none;
}

.header-search button {
  border: none;
  padding: 0 18px;
  background: #1b425f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-link {
  font-size: 13px;
  color: #4b5563;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 4px;
  border: 1px solid #1b425f;
  background: #1b425f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border 0.15s ease,
    transform 0.05s ease;
}

.btn:hover {
  background: #235577;
  border-color: #235577;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #1b425f;
}

.btn-outline:hover {
  background: #1b425f;
  color: #ffffff;
}

.btn-small {
  padding: 7px 12px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* ===== Main Navigation & Vertical Mega ===== */
.header-nav {
  border-top: 1px solid #e5e7eb;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 6px 0;
  font-size: 14px;
}

.main-nav a,
.nav-parent {
  background: none;
  border: none;
  font: inherit;
  color: #4b5563;
  cursor: pointer;
  padding: 4px 0;
}

.main-nav a:hover,
.nav-parent:hover {
  color: #1b425f;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-arrow {
  font-size: 11px;
}

/* Mega menu base */
.has-mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 8px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #dde3f0;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.15);
  display: none;
}

.mega-groups {
  padding: 12px 12px 10px;
  border-right: 1px solid #e5e7eb;
  max-height: 380px;
  overflow-y: auto;
}

.mega-group {
  margin-bottom: 10px;
}

.mega-group h4 {
  margin: 0 0 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1b425f;
}

.mega-group a {
  display: block;
  font-size: 13px;
  color: #4b5563;
  padding: 2px 0;
}

.mega-group a:hover {
  color: #1b425f;
}

/* Mega aside */
.mega-aside {
  padding: 12px 12px 10px;
  background: #f3f5fb;
  font-size: 12px;
}

.mega-aside h4 {
  margin: 0 0 4px;
  font-size: 13px;
  color: #111827;
}

.mega-aside p {
  margin: 0 0 8px;
}

/* Disable hover opening */
@media (min-width: 901px) {
  .has-mega:hover > .mega-menu {
    display: none;
  }
}

/* ===== Hero ===== */
/* ===== Hero (Updated with Background Image) ===== */

.hero {
  background-image: url('/assets/img/hero-bg.jpg'); /* YOUR NEW BANNER */
  background-size: cover;
  background-position: right center; /* keep right side visually rich */
  background-repeat: no-repeat;
  position: relative;
  padding: 50px 0 60px; /* slightly taller hero for premium look */
}

/* Soft overlay for readability */
/* Soft overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: none;
  z-index: 1;
  pointer-events: none; /* ✅ IMPORTANT: prevents overlay stealing clicks */
}

.hero-inner {
  position: relative;
  z-index: 2; /* keep above overlay */
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 28px;
  align-items: stretch;
}

/* TEXT LEFT SIDE */
.hero-text h1 {
  font-size: 30px;
  margin: 0 0 12px;
  color: #1b425f;
}

.hero-text p {
  margin: 0 0 16px;
  font-size: 15px;
  color: #374151;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-bullets {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

/* RIGHT RFQ BOX */
.hero-panel {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px 18px 16px;
  border: 1px solid #d1d9ea;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);

    position: relative;
  z-index: 3;          /* ✅ ensure RFQ is above overlay */
}

.hero-panel h2 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #1b425f;
}

.hero-panel p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #4b5563;
}

/* RFQ Form */
.mini-rfq-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.mini-rfq-form input,
.mini-rfq-form textarea {
  width: 100%;
  padding: 8px 9px;
  border-radius: 4px;
  border: 1px solid #cfd7e6;
  font-size: 13px;
  margin-top: 4px;
  resize: vertical;
}

.mini-rfq-form input:focus,
.mini-rfq-form textarea:focus {
  outline: none;
  border-color: #1b425f;
}

.mini-rfq-note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

/* ===== Categories ===== */
/* ===== Categories (Improved) ===== */

.categories {
  padding: 38px 0;
}

.categories h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 6px;
  color: #1b425f;
}

.section-intro {
  text-align: center;
  font-size: 14px;
  margin-bottom: 20px;
  color: #4b5563;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* IMPROVED CARD DESIGN */
.category-card {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  padding: 20px 18px 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: all 0.22s ease;
}

/* ICON ABOVE TITLE */
.category-card-icon {
  font-size: 26px;
  color: #1b425f;
  margin-bottom: 10px;
  line-height: 1;
}

/* CARD HOVER EFFECT (Premium) */
.category-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5f5;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

/* TEXT STYLES */
.category-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #111827;
  font-weight: 600;
}

.category-card p {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.45;
}

/* ===== Brand strip (LOGO VERSION) ===== */

.brand-strip {
  padding: 16px 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.brand-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;   /* 👈 THIS centers everything */
  gap: 18px;
  flex-wrap: wrap;
}

.brand-strip-scroller {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Optional label if you want to keep "Key Brands:" */
.brand-strip-label {
  font-size: 13px;
  color: #4b5563;
  font-weight: 500;
}

/* Logo container */
.brand-strip-scroller {
  display: flex;
  align-items: center;
  gap: 24px;          /* spacing between logos */
  flex-wrap: wrap;
}

/* LOGO STYLING */
.brand-strip-scroller img {
  height: 40px;       /* Display size – adjust to 36 / 42 / 48px if needed */
  width: auto;
  object-fit: contain;
  filter: grayscale(25%) brightness(0.95);
  opacity: 0.95;
  transition: 0.22s ease-in-out;
}

/* Hover effect */
.brand-strip-scroller img:hover {
  filter: grayscale(0%) brightness(1.08);
  opacity: 1;
  transform: translateY(-2px);
}

/* ===== Featured products ===== */

.featured {
  padding: 34px 0;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.section-header-row h2 {
  margin: 0;
  font-size: 20px;
  color: #1b425f;
}

.section-link {
  font-size: 13px;
  color: #1b425f;
}


/* ===== Product Grid ===== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* ===== Products Page Grid (Overrides homepage grid) ===== */
.products-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* ===== Product Card ===== */

.product-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.22s ease;
}

/* Hover effect */
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
  border-color: #cdd8f0;
}


/* ===== Product Image Block (Professional Version) ===== */

.product-img {
  width: 100%;
  height: 160px;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  padding: 8px;
}

.product-img img {
  width: auto;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.06);
}

/* ===== Product Text & Layout Fix (IMPORTANT) ===== */

.product-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}


/* ===== Product Label ===== */

.product-label {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1b425f;
  background: #e5edf7;
  padding: 2px 6px;
  border-radius: 999px;
}


/* ===== Product Text ===== */

.product-card h3 {
  margin: 0;
  font-size: 15px;
  color: #111827;
  line-height: 1.3;
}

.product-meta {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
}

.product-note {
  margin: 0 0 10px;
  font-size: 12px;
  color: #6b7280;
}


/* ===== Button Alignment Fix ===== */

.product-card a.btn {
  margin-top: auto;  /* Always pushes button to the bottom */
}

/* ===== Why GBN ===== */
/* ===== Why GBN (with Global Map Background) ===== */
.why-gbn {
  position: relative;
  padding: 56px 0 64px;
  background-image: url("/assets/img/global.jpg"); /* your map image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Soft overlay for readability */
.why-gbn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85); /* adjust 0.85–0.9 if needed */
  z-index: 0;
}

/* Keep content above overlay */
.why-gbn-inner {
  position: relative;
  z-index: 1;
}

.why-gbn-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: start;
}

/* Left block typography */
.why-gbn h2 {
  font-size: 24px;
  margin: 0 0 12px;
  color: #1b425f;
}

.why-gbn p {
  font-size: 15px;
  color: #374151;
  margin-top: 0;
  line-height: 1.55;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  margin-bottom: 10px;
  color: #374151;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 12px;
  color: #059669;
}


/* ===== Right CTA Box ===== */
.why-gbn-box {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e6e9ef;
  padding: 26px 26px 28px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.why-gbn-box h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: #1b425f;
}

.why-gbn-box p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 20px;
  line-height: 1.55;
}

/* Full-width buttons */
.why-gbn-box .btn {
  width: 100%;
  margin-bottom: 10px;
  padding: 11px 0;
  font-size: 14px;
}

.why-gbn-box .btn-outline {
  background: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .why-gbn-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ===========================
   FOOTER (Updated + Polished)
   =========================== */

.site-footer {
  background: #0b1018;
  color: #e5e7eb;
  padding-top: 34px;
  margin-top: 40px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  padding-bottom: 28px;
}

.footer-block h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #ffffff;
  font-weight: 600;
}

.footer-block p {
  margin: 0 0 12px;
  line-height: 1.5;
  color: #d1d5db;
}

.footer-block a {
  display: block;
  margin-bottom: 6px;
  color: #e5e7eb;
  opacity: 0.8;
  font-size: 13px;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-block a:hover {
  opacity: 1;
  color: #ffffff;
}

/* Buttons inside footer */
.footer-block .btn,
.footer-block .btn-outline {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 6px;
  margin-top: 6px;
  text-align: center;
  cursor: pointer;
}

/* Solid button */
.footer-block .btn {
  background: #1b425f;
  color: #ffffff;
  border: 1px solid #1b425f;
}

.footer-block .btn:hover {
  background: #143449;
}

/* Outline button */
.footer-block .btn-outline {
  background: transparent;
  border: 1px solid #64748b;
  color: #e5e7eb;
}

.footer-block .btn-outline:hover {
  border-color: #9ca3af;
  color: #ffffff;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid #1f2937;
  text-align: center;
  padding: 14px 0;
  font-size: 12px;
  color: #9ca3af;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Generic inner page layout ===== */
.page-header {
  padding: 26px 0 14px;
  background: #f3f4f8;
  border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
  margin: 0 0 4px;
  font-size: 24px;
  color: #1b425f;
}

.page-header p {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

.page-section {
  padding: 26px 0 32px;
}

/* ===== ABOUT PAGE — FINAL POLISHED VERSION ===== */

.about-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.about-wrapper p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 16px;
  color: #374151;
}

.about-wrapper h2 {
  margin-top: 10px;
  font-size: 26px;
  color: #1b425f;
}

.about-wrapper h3 {
  margin-top: 40px;
  font-size: 20px;
  color: #1b425f;
}

/* --- Advantages Grid (Fix 2-column layout) --- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
  margin-top: 12px;
  max-width: 900px;
}

.advantage-grid li {
  list-style: none;
  position: relative;
  padding-left: 22px;
  font-size: 15px;
}

.advantage-grid li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 13px;
  color: #059669;
}

/* Divider */
.about-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 40px 0;
}

/* Improve top page header alignment */
.page-header h1 {
  font-size: 28px;
  font-weight: 600;
}

.page-header p {
  font-size: 15px;
  color: #6b7280;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
  }

  .header-search {
    order: 3;
    grid-column: 1 / -1;
  }

  .header-actions {
    order: 2;
  }
}

@media (max-width: 900px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions {
    display: none;
  }

  .header-search {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .header-nav {
    display: none;
  }

  .header-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 0 10px;
  }

  .mega-menu {
    position: static;
    margin-top: 6px;
    width: 100%;
    box-shadow: none;
  }
.mega-vertical {
    display: block !important;
    width: 420px;  /* adjust width based on visual preference */
    padding: 8px 14px;
}
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-gbn-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-main {
    grid-template-columns: auto auto;
  }

  .logo-text {
    display: none;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Fix header structure */
.main-header {
    padding: 20px 0;
}

/* Adjust logo + title alignment */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Fix search bar alignment */
.header-search input {
    width: 300px;
    height: 32px;
    border-radius: 50px;
    border: 1px solid #cfd6e0;
    padding: 0 12px;
}

/* Improve nav spacing */
.main-nav ul {
    display: flex;
    gap: 25px;
    margin-left: 20px;
}

.main-nav a {
    padding: 8px 0;
    display: inline-block;
    font-size: 14px;
}

/* Page Header spacing */
.page-header {
    padding: 35px 0;
    border-bottom: 1px solid #eef3f7;
}

/* Fix sections */
.page-section {
    padding: 40px 0;
}

/* Brand chips */
.brand-strip-scroller span {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #d2d7dd;
    border-radius: 18px;
    margin-right: 8px;
    background: #fafbfd;
    font-size: 13px;
}

/* Footer grid alignment */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.footer-block p, .footer-block a {
    font-size: 13px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding: 12px 0;
    background: #06131f;
    color: #aaa;
    font-size: 12px;
}
.site-footer a {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.footer-block h4 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #163a52;
}
/* FORCE MEGA MENU SUBCATEGORIES TO STACK VERTICALLY */
.mega-group a {
    display: block !important;
    white-space: normal;
}
.mega-group {
    margin-bottom: 12px;
    border-bottom: 1px solid #eef1f5;
    padding-bottom: 6px;
}

/* === Fix inner page alignment === */

/* Force consistent section width like homepage */
.page-section .container,
.page-header .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Increase spacing below headings like homepage intro */
.page-header {
    padding: 60px 0 20px !important;
}

/* Increase readable left margin / breathing room */
.page-section {
    padding: 50px 0 !important;
}

/* Better heading spacing */
.page-section h2,
.page-section h1 {
    margin-top: 8px;
    margin-bottom: 16px;
    color: #163a52;
}
.section-divider {
  margin: 35px 0;
  border: none;
  border-top: 1px solid #ddd;
}
.product-detail-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  background: #fff;
  padding: 18px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.product-detail-img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.product-detail-extra {
  margin-top: 25px;
}

.product-detail-extra ul {
  list-style: disc;
  padding-left: 20px;
}
/* RFQ Page Alignment Fix */
.page-section {
    padding: 50px 0;
}

/* Centered text block spacing */
.page-section .container > p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* RFQ Block */
.rfq-box {
    margin: 30px 0;
    background: #ffffff;
    padding: 25px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    max-width: 700px;
}
.rfq-form input,
.rfq-form textarea {
    border: 1px solid #d0d6dc;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

.rfq-form input:focus,
.rfq-form textarea:focus {
    border-color: #163a52;
    outline: none;
}
/* === GLOBAL HEADER ALIGNMENT FIX === */
.top-bar {
    padding: 5px 0;
}

.main-header {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #e5e9ef;
    position: relative;
    z-index: 20;
}

.main-header .container {
    align-items: center;
}

/* Remove unwanted spacing on inner pages */
.page-header {
    margin-top: 0 !important;
    padding-top: 50px;
}

/* Standardize nav position */
.main-nav {
    margin-top: 0 !important;
    padding: 6px 0;
    border-bottom: 1px solid #eef1f5;
}

/* Ensure mega menu aligns same as index */
.mega-menu {
    top: 100%;
    margin-top: 0 !important;
}

/* Keep header height consistent */
header,
.site-header {
    margin-bottom: 0 !important;
}
/* Contact form layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
}

.contact-form label {
    font-weight: 600;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border: 1px solid #cfd8e3;
    border-radius: 4px;
    margin-top: 5px;
}

/* Two-column alignment */
.form-row {
    display: flex;
    gap: 15px;
}

.form-row label {
    flex: 1;
}

/* Mobile responsiveness */
@media(max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}
.breadcrumb-bar {
    background: #f7f9fc;
    border-bottom: 1px solid #e3e8ee;
    padding: 8px 0;
}

.breadcrumb-bar .container {
    font-size: 14px;
}

.breadcrumb-home {
    color: #0d3b66;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-home:hover {
    text-decoration: underline;
}
/* Force header & nav to match index layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Ensure product nav bar spacing uniform */
.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 35px;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.brand-logo img {
    max-height: 42px;
}
/* Default state hidden, but controllable */
.mega-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
}

/* Show ANY mega menu when opened */
.has-mega.open > .mega-menu {
    display: grid !important;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* === Two-Pane Split Mega Menu === */

.mega-parent {
    position: relative;
}

.split-mega {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 640px;
    max-width: 780px;
    background: #fff;
    border: 1px solid #dce2eb;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    grid-template-columns: 200px 1fr;
    z-index: 999;
}

.split-mega.open {
    display: grid !important;
}

/* LEFT PANE */
.mega-left {
    background: #f6f8fb;
    border-right: 1px solid #e2e6ee;
}

.mega-left ul {
    margin: 0;
    padding: 12px;
    list-style: none;
}

.mega-left li {
    padding: 8px 10px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    color: #475569;
}

.mega-left li:hover,
.mega-left li.active {
    background: #e7eef8;
    color: #1b425f;
    font-weight: 500;
}

/* RIGHT PANE */
.mega-right {
    padding: 12px 16px;
}
.mega-right a:hover {
    background: #f5f8fc;
    padding-left: 6px;
    border-radius: 4px;
    transition: 0.15s ease;
}
.mega-panel {
    display: none;
}

.mega-panel.active {
    display: grid;
    gap: 6px;
}

.mega-panel a {
    font-size: 13px;
    padding: 3px 0;
    color: #4a5568;
}

.mega-panel a:hover {
    color: #1b425f;
}
/* =============================
   SPLIT MEGA MENU FINAL FIX
   ============================= */

/* Mega parent must control positioning */
.has-mega {
    position: relative;
}

/* Mega box layout */
.split-mega {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 560px;
    max-width: 760px;
    background: #fff;
    border: 1px solid #dce2eb;
    border-radius: 6px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    grid-template-columns: 200px 1fr;
    padding: 0;
    z-index: 999;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease;
}

/* Display when menu opens */
.has-mega.open > .split-mega {
    display: grid !important;
    opacity: 1;
    transform: translateY(0);
}

/* LEFT LIST STYLING */
.mega-left {
    background: #f6f8fb;
    border-right: 1px solid #e2e6ee;
    padding: 0;
}

.mega-left ul {
    list-style: none;
    margin: 0;
    padding: 12px;
}

.mega-left li {
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    color: #475569;
}

.mega-left li:hover,
.mega-left li.active {
    background: #e4ecf7 !important;
    color: #1b3d5a !important;
    font-weight: 600 !important;
}

/* RIGHT PANEL STYLING */
.mega-right {
    padding: 12px 16px;
    min-width: 320px;
}

.mega-panel {
    display: none;
}

.mega-panel.active {
    display: grid;
    gap: 6px;
}

.mega-panel a {
    font-size: 13px;
    padding: 3px 0;
    color: #4a5568;
}

.mega-panel a:hover {
    color: #1b425f;
}

/* CATEGORY BLOCK LOOKS CLEANER WITH SPACING */
.mega-panel a + a {
    margin-top: 2px;
}

/* Optional clean category separator (not required) */
/*
.mega-panel {
    border-bottom: 1px solid #eef1f5;
    padding-bottom: 6px;
    margin-bottom: 6px;
}
*/

/* RESPONSIVE – MEGA MENU BECOMES FULL WIDTH ON MOBILE */
@media (max-width: 900px) {
    .split-mega {
        position: static;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        grid-template-columns: 1fr !important;
    }

    .mega-right {
        padding: 12px;
    }
}
/* Force left panel categories to appear vertical */
.mega-left ul {
    display: block;
    padding: 0;
    margin: 0;
}

.mega-left ul li {
    display: block;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    border-radius: 4px;
    white-space: nowrap;
}

/* Active category highlight */
.mega-left ul li.active,
.mega-left ul li:hover {
    background: #e6eef7;
    color: #1b425f;
    font-weight: 600;
}
.split-mega {
    display: grid !important;
    grid-template-columns: 200px 1fr;
    width: 600px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #dde3f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 10px;
}
/* Limit mega menu width */
.split-mega {
    max-width: 980px;     /* adjust: 900–1050px is ideal */
    width: 100%;
    margin: 0 auto;       /* center it */
}

/* Adjust left panel width */
.mega-left {
    width: 240px;         /* keep consistent size */
}

/* Adjust right panel spacing */
.mega-right {
    padding: 20px 30px;
    width: calc(100% - 240px);
}
/* Fix right-panel link alignment after resizing */
.mega-right a {
    display: block;
    padding: 8px 0 8px 10px;
    white-space: nowrap;
}
/* Fix vertical alignment of right-panel subcategories */
.mega-right {
    padding-top: 0 !important;
}

.mega-panel {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.mega-panel a:first-child {
    margin-top: 2px !important; /* slight breathing room */
}
/* Add spacing between left categories and right subcategories */
.split-mega {
    column-gap: 24px !important;   /* creates clean spacing */
}

/* Optional: add subtle right border to left list */
.mega-left {
    border-right: 1px solid #e5e7eb;  /* light gray divider */
    padding-right: 12px;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

.cart-table th {
    text-align: left;
    padding: 12px 10px;
    background: #f4f7fb;
    color: #083a61;
}

.cart-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e3e8ee;
}

.cart-summary {
    margin-top: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 18px;
}
.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.checkout-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.checkout-box input,
.checkout-box textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #d7dfe8;
    border-radius: 6px;
}

.checkout-box label {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}
.center-text {
    text-align: center;
}

.thankyou-img {
    width: 180px;
    margin: 20px auto;
    display: block;
}
/* ------------------------------
   CART PAGE ENHANCEMENTS
--------------------------------*/
.cart-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px;
}

/* ------------------------------
   CHECKOUT PAGE ENHANCEMENTS
--------------------------------*/
.checkout-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.order-summary {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px;
}

/* ------------------------------
   THANK YOU PAGE ENHANCEMENTS
--------------------------------*/
.success-icon {
    width: 70px;
    margin: 20px 0;
}
<div class="checkout-steps">
  <div class="step"><strong>1️⃣ Submit Order</strong><br>Send your order request through this page.</div>
  <div class="step"><strong>2️⃣ Sales Review</strong><br>Our team verifies stock, pricing, and shipping details.</div>
  <div class="step"><strong>3️⃣ Confirmation</strong><br>You receive a formal quotation and payment instructions.</div>
</div>

<p class="page-subtext" style="margin-top:10px; color:#475569;">
  No payment is collected on this page. Orders are processed manually and confirmed by our sales team.
</p>
.checkout-steps div {
  margin-bottom: 4px;
}
.checkout-steps {
  background: #f9fbfd;
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}
.checkout-steps {
  padding: 12px 15px;
}
.checkout-steps p {
  margin-bottom: 6px;
}
1️⃣ <strong>Submit Order</strong>
Send your order request through this page.
/* ================================================
   PRODUCTS PAGE – CATEGORY SIDEBAR (Option-A final)
   ================================================ */

.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding-top: 20px;
}

/* Left Sidebar Categories */
.products-categories {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px 20px;
}

.products-categories h3 {
    margin-top: 0;
    font-size: 18px;
    color: #1b425f;
    margin-bottom: 14px;
}

.category-block {
    margin-bottom: 22px;
}

.category-block h4 {
    font-size: 15px;
    margin: 0 0 6px;
    color: #163a52;
    font-weight: 600;
}

.category-block ul {
    list-style: none;
    padding-left: 14px;
    margin: 0;
}

.category-block ul li a {
    font-size: 14px;
    color: #475569;
    display: block;
    padding: 3px 0;
    transition: 0.15s;
}

.category-block ul li a:hover {
    color: #1b425f;
    padding-left: 4px;
}

/* Products Grid Area */
.products-grid-area {
    min-height: 200px;
}

/* Responsive */
@media(max-width: 900px) {
    .products-layout {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   PRODUCTS PAGE – PREMIUM LAYOUT  
   ========================================================= */

/* Main grid layout */
.products-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  padding-top: 20px;
  min-height: 500px;
}

/* Sidebar container */
.category-sidebar {
  background: #ffffff;
  padding: 20px 18px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  height: fit-content;
}

.sidebar-title {
  font-size: 17px;
  margin: 0 0 14px;
  color: #1b425f;
  font-weight: 600;
}

/* Accordion List */
.accordion {
  list-style: none;
  margin: 0;
  padding: 0;
}

.accordion-item {
  margin-bottom: 10px;
}

/* Accordion Buttons */
.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 8px 0;
  font-size: 15px;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  color: #1b425f;
  transition: color 0.2s ease;
}

.accordion-btn:hover {
  color: #0d3b66;
}

.accordion-btn.active {
  color: #0d3b66;
}

/* Panels */
.accordion-panel {
  display: none;
  padding-left: 14px;
  margin-bottom: 8px;
}

.accordion-panel li {
  margin-bottom: 6px;
}

.accordion-panel li a {
  color: #374151;
  font-size: 14px;
  transition: color 0.2s ease;
}

.accordion-panel li a:hover {
  color: #1b425f;
}

/* Right product grid area */
.products-grid-area {
  min-height: 400px;
}

/* Empty / Loading State */
.empty-state {
  background: #f9fafb;
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  color: #4b5563;
}

/* Small screen responsiveness */
@media (max-width: 900px) {
  .products-wrapper {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    margin-bottom: 20px;
  }
}
/* ============================
   PRODUCT GRID (STANDARDIZED)
   ============================ */

#product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  width: 100%;
}

.product-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
}

.product-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1b425f;
  margin-bottom: 6px;
  min-height: 38px;
}

.product-card p {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 10px;
}

.product-card .price {
  font-size: 14px;
  font-weight: 700;
  color: #1b425f;
  margin-bottom: 12px;
}

.product-card a.view-btn {
  display: inline-block;
  padding: 8px 14px;
  background: #1b425f;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  font-size: 13px;
  transition: background 0.2s ease;
}

.product-card a.view-btn:hover {
  background: #163649;
}
/* FINAL FIX — FORCE 4 PRODUCTS PER ROW */
.products-list,
#product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

/* Tablet view (2 per row) */
@media (max-width: 900px) {
    .products-list,
    #product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile view (1 per row) */
@media (max-width: 600px) {
    .products-list,
    #product-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}
/* ==========================================================
   PRODUCTS PAGE — ISOLATED STYLES (SAFE MODE)
   Only applies when <body class="products-page"> is present
   ========================================================== */

.products-page #product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

/* Tablet */
@media (max-width: 900px) {
    .products-page #product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .products-page #product-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* PRODUCT CARD — Clean, uniform and safe */
.products-page .product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    height: 350px;       /* Uniform height */
    transition: 0.25s ease;
}

.products-page .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* ================================
   PRODUCT CARD BUTTON UNIFORMITY
   ================================ */

.product-card .btn-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card .btn-area .btn {
  width: 100%;              /* SAME WIDTH */
  height: 44px;             /* SAME HEIGHT */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
}

/* PRODUCT IMAGE */
.products-page .product-card img {
    height: 140px !important;
    object-fit: contain;
    width: 100%;
    margin-bottom: 10px;
}

/* Product Title */
.products-page .product-card h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 6px;
    height: 38px;        /* Uniform text height */
    overflow: hidden;
}

/* Hide all long descriptions */
.products-page .product-note,
.products-page .product-meta {
    display: none !important;
}

/* Product Label */
.products-page .product-label {
    font-size: 11px;
    padding: 2px 6px;
    background: #e5edf7;
    color: #1b425f;
    border-radius: 6px;
    margin-bottom: 6px;
}

/* Price */
.products-page .product-price {
    margin-top: auto;
    font-size: 15px;
    font-weight: 700;
    color: #1b425f;
}

/* View / RFQ Button */
.products-page .product-card a.btn,
.products-page .product-card a.btn-outline,
.products-page .product-card a {
    display: block;
    text-align: center;
    padding: 8px 0;
    border-radius: 6px;
    font-size: 13px;
}
/* =====================================================
   HEADER LIVE SEARCH – OPTION B (Dropdown Suggestions)
   Added: 2025-01
   ===================================================== */
/* ================================
   HEADER SEARCH – LIVE DROPDOWN
   ================================ */

.header-search {
  position: relative;
}

/* Suggestions container */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  max-height: 320px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
}

/* Each suggestion item */
.search-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}

.search-item:last-child {
  border-bottom: none;
}

.search-item strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
}

.search-item span {
  font-size: 12px;
  color: #475569;
}

/* Hover */
.search-item:hover {
  background: #f8fafc;
}
/* =========================================
   FIX: HEADER SEARCH DROPDOWN VISIBILITY
   ========================================= */

/* Allow dropdown to escape header */
.site-header,
.header-main {
  overflow: visible !important;
}

/* Search container must be positioning context */
.header-search {
  position: relative !important;
  overflow: visible !important;
}

/* Dropdown must be above everything */
.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  max-height: 320px;
  overflow-y: auto;
  z-index: 99999; /* CRITICAL */
}
.header-search input {
  position: relative;
  z-index: 1;
}
/* =====================================
   PRODUCT DETAIL – FINAL LAYOUT FIX
   ===================================== */

.product-detail-grid {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  align-items: flex-start;
}

/* IMAGE COLUMN */
.product-detail-img {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
}

.product-detail-img img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

/* INFO COLUMN */
.product-detail-info {
  max-width: 700px;
}

.product-detail-info h1 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.product-detail-info p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: #1f2937;
}

/* PRICE */
.product-detail-info .price {
  font-size: 18px;
  font-weight: 600;
  margin: 14px 0 20px;
  color: #0f172a;
}

/* SECTIONS */
.product-section {
  margin-top: 28px;
}

.product-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #0f172a;
}

/* LISTS */
.feature-list {
  padding-left: 18px;
  margin-top: 8px;
}

.feature-list li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* ACTION BUTTONS */
.detail-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* MOBILE */
@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-img img {
    max-height: 360px;
  }
}
/* =====================================
   PRODUCT DETAIL – CONTENT COLUMNS
   ===================================== */

.product-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

/* Applications full width */
.product-applications {
  margin-top: 36px;
}

/* Improve long text readability */
.product-section p {
  max-width: 680px;
}

/* Tablet & Mobile */
@media (max-width: 900px) {
  .product-content-grid {
    grid-template-columns: 1fr;
  }

  .product-section p {
    max-width: 100%;
  }
}
/* =====================================
   PRODUCT DETAIL – READABILITY OVERRIDES
   ===================================== */

/* Widen text column */
.product-detail-info {
  max-width: 820px;
}

/* Make overview feel like a block */
.product-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px 22px;
}

/* Improve paragraph readability */
.product-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #1f2937;
  margin-bottom: 0;
}

/* Section titles stronger */
.product-section h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0f172a;
}

/* Features → spec style */
.feature-list {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

/* Applications spacing */
.product-applications {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 22px;
}

/* Buttons separation */
.detail-actions {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}
/* =====================================
   PRODUCT DETAIL – ULTRA COMPACT MODE
   ===================================== */

/* MAIN TITLE */
.product-detail-info h1 {
  font-size: 20px;      /* reduced from 22px */
  line-height: 1.15;
  margin-bottom: 6px;
  font-weight: 600;
}

/* META TEXT (Brand, Category, Part No) */
.product-detail-info p {
  font-size: 13.5px;
  line-height: 1.45;
  margin-bottom: 4px;
  color: #1f2937;
}

/* PRICE */
.product-detail-info .price {
  font-size: 15px;
  margin: 6px 0 12px;
  font-weight: 600;
}

/* GRID TIGHTENING */
.product-detail-grid {
  padding: 28px 18px;
  gap: 36px;
}

/* IMAGE COLUMN */
.product-detail-img {
  padding: 14px;
}

.product-detail-img img {
  max-height: 400px;
}

/* SECTION CARDS */
.product-section {
  padding: 12px 14px;
  margin-top: 14px;
}

/* SECTION HEADINGS */
.product-section h3 {
  font-size: 15px;
  margin-bottom: 5px;
  font-weight: 600;
}

/* DESCRIPTION TEXT */
.product-section p {
  font-size: 13.5px;
  line-height: 1.5;
}

/* FEATURE & APPLICATION LISTS */
.feature-list {
  padding-left: 14px;
  margin-top: 6px;
}

.feature-list li {
  font-size: 13.5px;
  line-height: 1.45;
  margin-bottom: 3px;
}

/* TWO COLUMN CONTENT */
.product-content-grid {
  gap: 16px;
}

/* ACTION BUTTONS */
.detail-actions {
  margin-top: 16px;
  padding-top: 10px;
}

/* MOBILE */
@media (max-width: 900px) {
  .product-detail-info h1 {
    font-size: 19px;
  }

  .product-detail-img img {
    max-height: 340px;
  }
}
/* =====================================
   PRODUCT DETAIL – POSITION & BALANCE
   ===================================== */

/* Move entire product block upward */
.product-detail-grid {
  margin-top: -30px;     /* pulls image + text up */
  padding-top: 24px;     /* was larger before */
}

/* Reduce extra space under page title */
.page-title,
.product-page-header,
.product-header {
  margin-bottom: 16px !important;
}

/* Fine-tune title spacing */
.product-detail-info h1 {
  margin-top: 0;
  margin-bottom: 6px;
}

/* Tighten meta block slightly */
.product-detail-info p {
  margin-bottom: 4px;
}

/* Balance section spacing (not too tight, not loose) */
.product-section {
  margin-top: 14px;
  padding: 12px 14px;
}

/* Improve overview readability without adding height */
.product-section p {
  line-height: 1.5;
}

/* Balance gap between Overview & Features columns */
.product-content-grid {
  gap: 18px;
}

/* Pull action buttons closer to content */
.detail-actions {
  margin-top: 14px;
}
/* ===============================
   PAGINATION – CLEAN CENTERED
   =============================== */

#pagination {
  display: flex;
  justify-content: center;     /* center horizontally */
  align-items: center;
  gap: 10px;
  margin: 40px 0 10px;
}

/* Page number buttons */
#pagination .page-btn {
  background: none;
  border: none;
  padding: 4px 6px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Hover */
#pagination .page-btn:hover {
  color: #1b425f;
  text-decoration: underline;
}

/* Active page */
#pagination .page-btn.active {
  color: #1b425f;
  font-weight: 700;
  text-decoration: underline;
  cursor: default;
}

/* Remove focus outline */
#pagination .page-btn:focus {
  outline: none;
}
/* ===== Brands Page ===== */
.brands-section {
  padding: 44px 0 52px; /* slightly tighter */
  background: #f8fafc;
}

.brands-title {
  font-size: 28px;
  margin: 0 0 6px;
  color: #1b425f;
}

.brands-subtitle {
  font-size: 15px;
  color: #4b5563;
  max-width: 760px;
  margin-bottom: 24px;
  line-height: 1.55;
}

/* Logo Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 26px;
  align-items: center;
  background: #ffffff;
  padding: 26px 28px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

/* Logo images */
.brands-grid img {
  max-height: 42px;
  width: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  filter: grayscale(22%) brightness(0.95);
  opacity: 0.95;
  transition: transform 0.22s ease, filter 0.22s ease, opacity 0.22s ease;
}

/* Hover (subtle, enterprise-grade) */
.brands-grid img:hover {
  filter: grayscale(0%) brightness(1.06);
  opacity: 1;
  transform: translateY(-2px);
}

/* Supporting text */
.brands-note {
  margin: 22px 0 18px;
  font-size: 14.5px;
  color: #374151;
  max-width: 780px;
  line-height: 1.6;
}

/* CTA */
.brands-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Mobile */
@media (max-width: 768px) {
  .brands-section {
    padding: 36px 0 44px;
  }

  .brands-title {
    font-size: 24px;
  }

  .brands-grid {
    padding: 22px;
    gap: 22px;
  }

  .brands-grid img {
    max-height: 38px;
  }
}
/* Prevent overlays from blocking footer */
.hero,
.why-gbn,
.brands-section {
  position: relative;
  overflow: hidden;
}

/* Overlay safety */
.hero::before {
  pointer-events: none;
}

/* Footer must be clickable */
.site-footer {
  position: relative;
  z-index: 100;
}

/* Header layering */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}
/* ===== Thank You Page ===== */

.thankyou-box {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

/* Success Tick — TRUE CENTER */
.success-icon {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 56px;
  margin-bottom: 18px;
}

/* Heading */
.thankyou-box h1 {
  font-size: 34px;
  margin-bottom: 10px;
  color: #0b3d62;
}

/* Lead text */
.thankyou-lead {
  font-size: 16px;
  margin-bottom: 22px;
  color: #374151;
}

/* Subheading */
.thankyou-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0b3d62;
}

/* Note */
.thankyou-note {
  font-size: 14.5px;
  color: #4b5563;
  margin-bottom: 28px;
}

