/* ===============================
   LK FASTENER BASE STYLES
================================== */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-latin-300-normal-v5.3.0.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-400-normal-v5.3.0.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-latin-500-normal-v5.3.0.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-600-normal-v5.3.0.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700-normal-v5.3.0.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-latin-800-normal-v5.3.0.woff2") format("woff2");
}

:root {
  --primary: #06264d;
  --primary-light: #0b66e4;

  --green: #25d366;

  --bg: #f5f7fa;

  --white: #ffffff;

  --text: #06264d;
  --text-light: #59697d;

  --border: #e6edf5;

  --radius: 18px;

  --shadow: 0 8px 25px rgba(6, 38, 77, 0.08);

  --transition: 0.25s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;

  background: var(--bg);

  color: var(--text);

  min-height: 100vh;

  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  display: block;

  max-width: 100%;

  height: auto;
}

a {
  color: inherit;
}

.container {
  width: min(1400px, 92%);

  margin: auto;
}

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;

  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 44px;

  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-light);

  max-width: 700px;

  margin: auto;

  line-height: 1.7;
}

/* Buttons */

.btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  padding: 15px 28px;

  border-radius: 12px;

  font-weight: 700;

  text-decoration: none;

  transition: var(--transition);

  cursor: pointer;
}

.btn-primary {
  background: var(--primary);

  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border);

  background: white;

  color: var(--primary);
}

.btn-whatsapp {
  background: var(--green);

  color: white;
}

.card {
  background: white;

  border-radius: 18px;

  box-shadow: var(--shadow);

  transition: 0.25s;
}

.card:hover {
  transform: translateY(-5px);
}

/* ===============================
   HEADER
================================== */

header {
  background: var(--primary);
  padding: 16px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.logo img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.company-name h1 {
  color: white;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}

.company-name p {
  color: #b8c7da;
  font-size: 13px;
  margin-top: 4px;
}

.menu-toggle {
  display: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  opacity: 0.9;
}

nav a:hover {
  opacity: 1;
}

/* ===========================
   Header Navigation
=========================== */

.header-right {
  display: flex;
  align-items: center;
  gap: 34px;
}

.header-right nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-right nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 0;
  transition: 0.22s ease;
}

.header-right nav a:hover,
.header-right nav a.active {
  color: #fff;
}

.header-right nav a:hover {
  transform: translateY(-1px);
}

.header-right nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  transition: width 0.22s ease;
}

.header-right nav a:hover::after,
.header-right nav a.active::after {
  width: 100%;
}

header {
  position: relative;
  z-index: 100;
}

/* =====================================================
   STANDARD HEADER TEMPLATE — V3.2.5
   One scoped header system shared by every page.
===================================================== */
.site-header {
  width: 100%;
  min-height: 80px;
  margin: 0;
  padding: 0;
  background: var(--primary, #173b69);
  position: relative;
  z-index: 1000;
}

.site-header .site-header-inner {
  width: 100%;
  min-height: 80px;
  margin: 0 auto;
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-sizing: border-box;
}

.site-header .logo {
  min-width: 0;
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.site-header .logo img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
}

.site-header .company-name h1 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.08;
  white-space: nowrap;
}

.site-header .company-name p {
  margin: 4px 0 0;
  color: #c4d1e1;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.site-header .header-right {
  min-width: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header .header-right nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header .header-right nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 1180px) and (min-width: 769px) {
  .site-header .site-header-inner { padding-inline: 28px; gap: 22px; }
  .site-header .header-right { gap: 20px; }
  .site-header .header-right nav { gap: 20px; }
  .site-header .company-name h1 { font-size: 21px; }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .site-header .company-name { display: none; }
  .site-header .header-right nav { gap: 16px; }
}

@media (max-width: 768px) {
  .site-header {
    min-height: 76px;
    padding: 0 !important;
  }

  .site-header .site-header-inner {
    width: 100%;
    min-height: 76px;
    padding: 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    position: relative;
  }

  .site-header .logo {
    width: calc(100% - 52px) !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  .site-header .logo img {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
  }

  .site-header .company-name h1 {
    font-size: 18px !important;
    white-space: normal;
  }

  .site-header .company-name p { display: none !important; }

  .site-header .menu-toggle {
    top: 18px !important;
    right: 16px !important;
  }

  .site-header .header-right {
    width: 100% !important;
    margin: 14px 0 0 !important;
  }

  .site-header .header-right nav { gap: 8px !important; }
}

.btn,
.hero-btn,
.secondary-btn,
.whatsapp-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  transition: var(--transition);
}

.btn:hover,
.hero-btn:hover,
.secondary-btn:hover,
.whatsapp-outline-btn:hover {
  transform: translateY(-2px);
}

.hero-btn,
.btn-primary {
  background: var(--primary);
  color: white;
}

.secondary-btn {
  background: white;
  color: var(--primary);
  border: 1px solid var(--border);
}

.whatsapp-outline-btn {
  background: white;
  color: #128c3a;
  border: 1px solid var(--green);
}

.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
}
/* ================= HOMEPAGE ================= */

.home-page {
  background: var(--bg);
}

.home-hero-v2 {
  max-width: 1450px;
  margin: 0 auto;
  padding: 75px 55px 55px;
  display: grid;
  grid-template-columns: 1fr 620px;
  gap: 60px;
  align-items: center;
}

.home-label {
  display: inline-block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.home-hero-text h1 {
  font-size: 56px;
  line-height: 1.08;
  color: var(--primary);
  margin-bottom: 22px;
  max-width: 720px;
}

.home-hero-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 24px;
}

.home-checklist {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.home-checklist li {
  font-weight: 800;
  color: var(--primary);
}

.home-checklist li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 13px;
}

.home-actions {
  display: flex;
  gap: 14px;
}

.home-hero-products {
  position: relative;
  height: 520px;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(6, 38, 77, 0.12);
}

.home-hero-products::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(11, 102, 228, 0.08),
      transparent 35%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(37, 211, 102, 0.08),
      transparent 30%
    );
  pointer-events: none;
}

.hero-img {
  position: absolute;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18));
}

.screw-one {
  width: 330px;
  left: 35px;
  bottom: 45px;
}

.screw-two {
  width: 180px;
  left: 150px;
  top: 95px;
}

.chem-one {
  width: 260px;
  right: 190px;
  top: 55px;
}

.chem-two {
  width: 210px;
  right: 55px;
  top: 85px;
}

.anchor-one {
  width: 210px;
  right: 70px;
  bottom: 55px;
}

/* ================= HOME STATS ================= */

.home-stats-v2 {
  max-width: 1350px;
  margin: 25px auto 55px;
  padding: 28px 40px;
  background: white;
  border: 1px solid #dfe8f3;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(6, 38, 77, 0.06);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  border-right: 1px solid #dfe8f3;
}

.stat-card:last-child {
  border-right: none;
}

.stat-card svg {
  width: 46px;
  height: 46px;
  color: var(--blue);
  stroke-width: 1.8;
  flex-shrink: 0;
}

.stat-card strong {
  display: block;
  font-size: 24px;
  margin-bottom: 5px;
}

.stat-card span {
  color: var(--muted);
}

/* ================= SHOP BY CATEGORY ================= */

.home-shop,
.home-featured-products,
.home-brands,
.home-bottom-cta {
  max-width: 1350px;
  margin: 0 auto 66px;
}

.home-shop,
.home-featured-products {
  padding: 0 40px;
}

.home-section-title {
  margin-bottom: 24px;
}

.home-section-title h2,
.home-brands h2 {
  font-size: 34px;
  color: var(--primary);
}

.home-section-title p {
  color: var(--muted);
  margin-top: 6px;
}

.home-shop-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.home-shop-grid a {
  background: white;
  color: var(--primary);
  text-decoration: none;
  border-radius: 18px;
  padding: 18px;
  min-height: 220px;
  box-shadow: 0 10px 28px rgba(6, 38, 77, 0.07);
  border: 1px solid #e7edf5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.home-shop-grid a:hover {
  transform: translateY(-5px);
}

.home-shop-grid img {
  height: 125px;
  object-fit: contain;
}

.home-shop-grid span {
  font-weight: 800;
  font-size: 16px;
}

/* ================= TRUSTED BRANDS ================= */

.home-brands {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef5ff 0%, #f7faff 58%, #ffffff 100%);
  border: 1px solid #dfeaf7;
  border-radius: 28px;
  padding: 46px 50px 50px;
  box-shadow: 0 18px 48px rgba(6, 38, 77, 0.055);
}

.home-brands::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -110px;
  top: -135px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 102, 228, 0.12), transparent 68%);
  pointer-events: none;
}

.home-brands-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section-kicker {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.home-brands h2 { margin: 0; }
.home-brands-heading p {
  color: var(--muted);
  margin-top: 8px;
  max-width: 680px;
  line-height: 1.65;
}

.brands-assurance {
  flex: 0 0 auto;
  color: var(--primary);
  background: rgba(255,255,255,.78);
  border: 1px solid #dce7f4;
  border-radius: 999px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 800;
}

.home-brands-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.brand-card {
  min-height: 118px;
  background: rgba(255,255,255,.94);
  border: 1px solid #dfe8f3;
  border-radius: 17px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(6, 38, 77, 0.045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  border-color: #bfd4ed;
  box-shadow: 0 15px 32px rgba(6, 38, 77, 0.10);
}

.brand-card img {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: contain;
  transition: transform .22s ease;
}
.brand-card:hover img { transform: scale(1.035); }
.brand-card-featured { border-color: #c7dbf3; }

/* ================= FEATURED PRODUCTS ================= */

.home-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.home-title-row a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}

.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.home-featured-grid a {
  background: white;
  color: var(--primary);
  text-decoration: none;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.home-featured-grid a:hover {
  transform: translateY(-5px);
}

.home-featured-grid img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 16px;
}

.home-featured-grid h3 {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.home-featured-grid span {
  color: var(--blue);
  font-weight: 800;
}

/* ================= HOME CTA ================= */

.home-bottom-cta {
  background: var(--primary);
  color: white;
  border-radius: 24px;
  padding: 42px 55px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 26px;
  align-items: center;
}

.home-bottom-cta h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.home-bottom-cta p {
  color: #c8d6e8;
}

.home-bottom-cta a {
  background: var(--green);
  color: white;
  text-decoration: none;
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 800;
  text-align: center;
}

.home-bottom-cta .outline-light-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

/* ================= V14 PREMIUM HOMEPAGE HERO ================= */
.home-hero-v2 {
  max-width: 1360px;
  margin: 48px auto 58px;
  padding: 58px 58px;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  gap: 48px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 10%, rgba(49, 118, 214, 0.34), transparent 34%),
    linear-gradient(135deg, #082e5d 0%, #06264d 58%, #041d3d 100%);
  box-shadow: 0 30px 80px rgba(6, 38, 77, 0.2);
  overflow: hidden;
  position: relative;
}

.home-hero-v2::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  right: -180px;
  top: -210px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.025),
    0 0 0 110px rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.home-hero-text {
  position: relative;
  z-index: 2;
}

.home-label {
  padding: 8px 12px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.13);
  border: 1px solid rgba(37, 211, 102, 0.28);
  color: #55ee91;
  letter-spacing: 0.08em;
}

.home-hero-text h1 {
  color: #fff;
  font-size: clamp(46px, 4.1vw, 64px);
  max-width: 680px;
  margin-bottom: 20px;
}

.home-hero-text p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 630px;
}

.home-checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  max-width: 620px;
}

.home-checklist li {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
}

.home-checklist li::before {
  flex: 0 0 auto;
  background: #25d366;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.24);
}

.home-actions {
  gap: 12px;
  align-items: center;
}

.home-actions .hero-btn,
.home-actions .whatsapp-outline-btn {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-actions .hero-btn {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.home-actions .whatsapp-outline-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.home-actions .hero-btn:hover,
.home-actions .whatsapp-outline-btn:hover {
  transform: translateY(-2px);
}

.home-actions .whatsapp-outline-btn:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: rgba(37, 211, 102, 0.55);
}

.home-hero-products {
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at 20% 20%, rgba(220, 234, 252, 0.94), transparent 38%),
    linear-gradient(145deg, #ffffff 0%, #edf4fc 100%);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
}

/* Premium circular arrows for homepage actions */
.home-actions .hero-btn {
  gap: 12px;
}

.home-actions .hero-btn .link-arrow {
  background: var(--primary);
  color: #fff;
}

.home-title-row .view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-featured-grid .featured-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--blue);
  font-weight: 800;
}

/* ================= V21 SINGLE HOMEPAGE PRODUCT COLLAGE ================= */
.home-hero-products {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-hero-products::after { display: none; }

.home-hero-collage {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}


/* =========================================================
   REAL-ASSET HOMEPAGE HERO
   Uses actual product images from the website ZIP.
   ========================================================= */
.home-hero-products {
  background:
    linear-gradient(145deg, #edf4fb 0%, #ffffff 56%, #eef3f8 100%);
  padding: 0;
}

.home-hero-collage {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
}

@media (min-width: 1101px) {
  .home-hero-v2 {
    grid-template-columns: minmax(0, 1fr) minmax(520px, 650px);
    gap: 52px;
  }

  .home-hero-products {
    height: 520px;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .home-hero-v2 {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .home-hero-products {
    height: 430px;
  }
}

@media (max-width: 768px) {
  .home-hero-products {
    height: auto !important;
    aspect-ratio: 11 / 7.6;
    padding: 0 !important;
  }

  .home-hero-collage {
    object-fit: contain !important;
  }
}


/* ================= FEATURED HERO SHOWCASE ================= */
.home-showcase {
  background: linear-gradient(145deg, #0b2d5b 0%, #123f78 100%);
  box-shadow: 0 25px 70px rgba(6, 38, 77, 0.2);
}

.home-showcase::after {
  background:
    radial-gradient(circle at 78% 15%, rgba(95, 170, 255, 0.2), transparent 34%),
    radial-gradient(circle at 20% 90%, rgba(37, 211, 102, 0.1), transparent 30%);
}

.showcase-stage {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.showcase-product-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: white;
  text-decoration: none;
}

.showcase-eyebrow {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 4;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 25, 54, 0.45);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.showcase-oval {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 300px;
  height: 390px;
  transform: translateX(-50%);
  border-radius: 150px;
  background: linear-gradient(160deg, #a8d2ff 0%, #72aff7 100%);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 28px 55px rgba(0, 0, 0, 0.2);
}

.showcase-oval::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 36px;
  height: 24px;
  border-radius: 50%;
  background: rgba(10, 35, 69, 0.2);
  filter: blur(14px);
}

.showcase-image {
  position: absolute;
  inset: 12% 8%;
  width: 84%;
  height: 76%;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.28));
  transition: opacity 0.17s ease, transform 0.35s ease;
}

.showcase-image.is-changing {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
}

.showcase-copy {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.showcase-copy strong {
  font-size: 22px;
  line-height: 1.15;
}

.showcase-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.showcase-controls {
  position: absolute;
  right: 22px;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.showcase-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.showcase-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: height 0.25s ease, background 0.25s ease;
}

.showcase-dot.is-active {
  height: 32px;
  background: #8fc3ff;
}

.showcase-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(5, 25, 54, 0.35);
  color: white;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.showcase-arrow:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .home-showcase {
    height: 470px;
  }

  .showcase-oval {
    top: 42px;
    width: 250px;
    height: 330px;
    border-radius: 125px;
  }

  .showcase-eyebrow {
    top: 20px;
    left: 20px;
  }

  .showcase-copy {
    left: 22px;
    bottom: 22px;
  }

  .showcase-controls {
    right: 14px;
  }
}

@media (max-width: 520px) {
  .home-showcase {
    height: 420px;
  }

  .showcase-oval {
    width: 220px;
    height: 290px;
    border-radius: 110px;
  }

  .showcase-copy strong {
    font-size: 19px;
  }

  .showcase-arrow {
    display: none;
  }
}


/* ================= MOBILE FEATURED SHOWCASE FIX ================= */
.showcase-description {
  max-width: 260px;
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .home-hero-v2 {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding-bottom: 28px !important;
  }

  .home-showcase,
  .home-hero-products {
    height: auto !important;
    min-height: 500px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
  }

  .showcase-stage,
  .showcase-product-link {
    min-height: 500px;
  }

  .showcase-oval {
    top: 82px !important;
    width: min(72vw, 300px) !important;
    height: min(92vw, 385px) !important;
    border-radius: 999px !important;
  }

  .showcase-image {
    inset: 10% 7% 18% !important;
    width: 86% !important;
    height: 72% !important;
  }

  .showcase-eyebrow {
    top: 24px !important;
    left: 24px !important;
  }

  .showcase-copy {
    left: 24px !important;
    right: 68px !important;
    bottom: 24px !important;
    gap: 4px !important;
  }

  .showcase-copy strong {
    font-size: 20px !important;
  }

  .showcase-description {
    max-width: none;
    font-size: 11px;
    line-height: 1.4;
  }

  .showcase-controls {
    right: 16px !important;
  }
}

@media (max-width: 520px) {
  .home-showcase,
  .home-hero-products,
  .showcase-stage,
  .showcase-product-link {
    min-height: 470px !important;
  }

  .showcase-oval {
    top: 80px !important;
    width: 250px !important;
    height: 330px !important;
  }

  .showcase-copy {
    bottom: 18px !important;
  }

  .showcase-description {
    max-width: 210px;
  }
}


/* =========================================================
   FINAL FULL-WIDTH HERO + FEATURED CAROUSEL
   ========================================================= */

body.home-page,
body:has(.home-hero-v2) {
  background:
    linear-gradient(
      to bottom,
      #062b5d 0,
      #063a80 760px,
      #f5f8fc 760px,
      #f5f8fc 100%
    );
}

.home-hero-v2 {
  width: min(1500px, calc(100% - 72px));
  max-width: none;
  margin: 0 auto;
  padding: 74px 0 58px;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  grid-template-columns: minmax(0, 0.88fr) minmax(620px, 1.12fr);
  gap: 52px;
  align-items: center;
}

.home-hero-v2::before,
.home-hero-v2::after {
  display: none !important;
}

.home-hero-text {
  align-self: center;
}

.home-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  margin-bottom: 22px;
  border: 1px solid rgba(35, 206, 116, 0.4);
  border-radius: 999px;
  background: rgba(11, 83, 127, 0.4);
  color: #27e983;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-hero-text h1 {
  max-width: 680px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(48px, 4vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.home-hero-text p {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.65;
}

.home-actions {
  gap: 16px;
}

.home-actions .btn-primary {
  background: linear-gradient(135deg, #17c95f, #00a94e);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 190, 89, 0.24);
}

.home-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.home-showcase,
.home-hero-products {
  height: 500px;
  min-height: 500px;
  background: rgba(18, 70, 132, 0.5) !important;
  border: 1px solid rgba(145, 194, 246, 0.34);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.showcase-stage,
.showcase-product-link {
  min-height: 00px;
}

.showcase-eyebrow {
  top: 28px;
  left: 32px;
}

.showcase-oval {
  top: 30px;
  left: 2%;
  width: 150px;
  height: 200px;
  transform: translateX(-60%);
  border-radius: 65% / 56%;
  background: linear-gradient(160deg, #abd4ff 0%, #77b4fa 100%);
}

.showcase-image {
  inset: 10% 8% 16%;
  width: 84%;
  height: 74%;
}

.showcase-copy {
  left: auto;
  right: 96px;
  top: 82px;
  bottom: auto;
  width: 220px;
  gap: 9px;
}

.showcase-counter {
  display: block;
  color: #1696ff;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.showcase-counter::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 13px;
  border-radius: 99px;
  background: #1696ff;
}

.showcase-copy strong {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.08;
}

.showcase-description {
  margin: 0 0 8px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.55;
}

.showcase-controls {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  gap: 10px;
}

.showcase-arrow {
  width: 42px;
  height: 42px;
  border-color: rgba(255,255,255,0.2);
  background: rgba(5,25,54,0.28);
  font-size: 20px;
}

.showcase-dots {
  gap: 8px;
}

.showcase-dot {
  width: 9px;
  height: 9px;
  background: rgba(178, 207, 239, 0.56);
}

.showcase-dot.is-active {
  width: 9px;
  height: 38px;
  background: #70b7ff;
}

.home-stats-v2 {
  position: relative;
  z-index: 5;
  width: min(1450px, calc(100% - 72px));
  max-width: none;
  margin: -30px auto 52px;
  border-radius: 18px;
}

@media (max-width: 900px) {
  body.home-page,
  body:has(.home-hero-v2) {
    background:
      linear-gradient(
        to bottom,
        #062b5d 0,
        #063a80 1320px,
        #f5f8fc 1320px,
        #f5f8fc 100%
      );
  }

  .home-hero-v2 {
    width: calc(100% - 32px);
    padding: 42px 0 44px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-hero-text {
    text-align: center;
  }

  .home-hero-text h1,
  .home-hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .home-actions {
    justify-content: center;
  }

  .home-showcase,
  .home-hero-products,
  .showcase-stage,
  .showcase-product-link {
    min-height: 560px !important;
    height: 560px !important;
  }

  .showcase-oval {
    top: 70px !important;
    left: 50% !important;
    width: min(74vw, 300px) !important;
    height: 300px !important;
    transform: translateX(-50%) !important;
  }

  .showcase-copy {
    left: 24px !important;
    right: 70px !important;
    top: auto !important;
    bottom: 24px !important;
    width: auto !important;
  }

  .showcase-counter {
    display: none;
  }

  .showcase-controls {
    right: 14px !important;
  }

  .home-stats-v2 {
    width: calc(100% - 32px);
    margin-top: -24px;
  }
}

@media (max-width: 520px) {
  .home-hero-text h1 {
    font-size: 39px;
  }

  .home-hero-text p {
    font-size: 16px;
  }

  .home-showcase,
  .home-hero-products,
  .showcase-stage,
  .showcase-product-link {
    min-height: 525px !important;
    height: 525px !important;
  }

  .showcase-oval {
    width: 250px !important;
    height: 325px !important;
  }

  .showcase-copy strong {
    font-size: 22px !important;
  }
}


/* =========================================================
   HERO BLUE BACKGROUND HOTFIX
   Keep the blue on the hero itself so page backgrounds
   cannot wash it out.
   ========================================================= */
.home-hero-v2 {
  position: relative;
  isolation: isolate;
  width: 100% !important;
  max-width: none !important;
  padding-left: max(72px, calc((100vw - 1500px) / 2)) !important;
  padding-right: max(72px, calc((100vw - 1500px) / 2)) !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(18, 106, 205, 0.34), transparent 32%),
    linear-gradient(115deg, #062d63 0%, #073b7d 48%, #052858 100%) !important;
  overflow: visible !important;
}

.home-hero-v2::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-radial-gradient(
      ellipse at -8% 52%,
      transparent 0 28px,
      rgba(72, 153, 239, 0.11) 29px 30px
    );
}

.home-hero-v2 > * {
  position: relative;
  z-index: 1;
}

.home-stats-v2 {
  margin-top: -30px !important;
}

@media (max-width: 900px) {
  .home-hero-v2 {
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}


/* =========================================================
   HERO SIZE ENLARGEMENT — FINAL RECOMMENDED DESKTOP SCALE
   ========================================================= */
@media (min-width: 1101px) {
  .home-hero-v2 {
    min-height: 710px;
    padding-top: 108px !important;
    padding-bottom: 88px !important;
    padding-left: max(48px, calc((100vw - 1700px) / 2)) !important;
    padding-right: max(48px, calc((100vw - 1700px) / 2)) !important;
    grid-template-columns: minmax(0, 0.84fr) minmax(720px, 1.16fr) !important;
    gap: 64px !important;
  }

  .home-hero-text h1 {
    max-width: 760px;
    font-size: clamp(54px, 4.35vw, 78px) !important;
    line-height: 1.02 !important;
    margin-bottom: 24px !important;
  }

  .home-hero-text p {
    max-width: 700px;
    font-size: 19px !important;
    line-height: 1.65 !important;
    margin-bottom: 34px !important;
  }

  .home-label {
    margin-bottom: 24px !important;
  }

  .home-actions .btn-primary,
  .home-actions .btn-secondary {
    min-height: 58px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .home-showcase,
  .home-hero-products {
    height: 570px !important;
    min-height: 570px !important;
    border-radius: 30px !important;
  }

  .showcase-stage,
  .showcase-product-link {
    min-height: 570px !important;
  }

  .showcase-eyebrow {
    top: 30px !important;
    left: 34px !important;
  }

  .showcase-oval {
    top: 62px !important;
    left: 41% !important;
    width: 360px !important;
    height: 430px !important;
  }

  .showcase-copy {
    right: 108px !important;
    top: 92px !important;
    width: 245px !important;
  }

  .showcase-copy strong {
    font-size: 34px !important;
  }

  .showcase-description {
    font-size: 15px !important;
    line-height: 1.58 !important;
  }

  .showcase-controls {
    right: 28px !important;
  }

  .showcase-arrow {
    width: 35px !important;
    height: 35px !important;
    font-size: 29px !important;
  }

  .showcase-dot {
    width: 10px !important;
    height: 10px !important;
  }

  .showcase-dot.is-active {
    width: 10px !important;
    height: 42px !important;
  }

  .home-stats-v2 {
    width: min(1580px, calc(100% - 96px)) !important;
    margin-top: -36px !important;
  }
}


/* =========================================================
   MOBILE CAROUSEL CLEAN LAYOUT
   ========================================================= */
@media (max-width: 768px) {
  .home-showcase,
  .home-hero-products,
  .showcase-stage,
  .showcase-product-link {
    min-height: 600px !important;
    height: 600px !important;
  }

  .home-showcase,
  .home-hero-products {
    border-radius: 26px !important;
    overflow: hidden !important;
  }

  .showcase-eyebrow {
    top: 22px !important;
    left: 24px !important;
    right: auto !important;
  }

  .showcase-oval {
    top: 72px !important;
    left: 50% !important;
    width: min(74vw, 300px) !important;
    height: 330px !important;
    transform: translateX(-50%) !important;
    border-radius: 44% / 38% !important;
  }

  .showcase-image {
    inset: 8% 10% 14% !important;
    width: 80% !important;
    height: 78% !important;
    object-fit: contain !important;
  }

  .showcase-copy {
    left: 26px !important;
    right: 72px !important;
    top: auto !important;
    bottom: 24px !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 8px !important;
  }

  .showcase-counter {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 2px !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }

  .showcase-counter::after {
    width: 42px !important;
    height: 3px !important;
    margin: 0 !important;
  }

  .showcase-copy strong {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
  }

  .showcase-description {
    max-width: 250px !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .showcase-copy > span:last-child {
    margin-top: 4px !important;
  }

  .showcase-controls {
    right: 14px !important;
    top: 52% !important;
    transform: translateY(-50%) !important;
    gap: 8px !important;
  }

  .showcase-arrow {
    width: 36px !important;
    height: 36px !important;
    font-size: 22px !important;
  }

  .showcase-dots {
    gap: 7px !important;
  }

  .showcase-dot {
    width: 8px !important;
    height: 8px !important;
  }

  .showcase-dot.is-active {
    width: 8px !important;
    height: 34px !important;
  }
}

@media (max-width: 430px) {
  .home-showcase,
  .home-hero-products,
  .showcase-stage,
  .showcase-product-link {
    min-height: 585px !important;
    height: 585px !important;
  }

  .showcase-oval {
    width: 250px !important;
    height: 300px !important;
  }

  .showcase-copy {
    left: 22px !important;
    right: 62px !important;
    bottom: 20px !important;
  }

  .showcase-copy strong {
    font-size: 20px !important;
  }

  .showcase-description {
    max-width: 220px !important;
    font-size: 12.5px !important;
  }
}


/* ================= V26 TRUSTED BRAND VISUAL NORMALISATION ================= */
.brand-card {
  min-height: 118px;
  padding: 16px 20px;
}
.brand-card img {
  width: 100%;
  height: 72px;
  max-width: 240px;
  object-fit: contain;
}

/* ======================= Shop by Project ======================= */
/* The homepage uses the same data-driven trade catalogue as projects.html. */
.home-trades { position:relative; }.home-trades .home-title-row { align-items:end; }.home-trades-all { margin-left:auto; margin-bottom:8px; color:#0b62ae; font-size:14px; font-weight:800; text-decoration:none; }.home-trades-all span{font-size:19px;vertical-align:-1px}.home-trades .home-projects-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }.home-trades .trade-card { min-height:235px; }.home-trades .trade-card h3 { font-size:22px; }.home-trades .trade-card p { font-size:13px; }.home-trades .trade-card-compact .trade-card-footer span:first-child { font-size:13px; }
.home-trades .trade-card { position:relative; display:flex; padding:25px; flex-direction:column; overflow:hidden; border:1px solid #dbe7f3; border-radius:20px; background:#fff; color:#123967; text-decoration:none; box-shadow:0 8px 22px rgba(19,66,110,.05); transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }.home-trades .trade-card::before { content:''; position:absolute; top:0; left:0; width:100%; height:4px; background:linear-gradient(90deg,#076bc4,#46b1f4); transform:scaleX(.35); transform-origin:left; transition:transform .24s ease; }.home-trades .trade-card:hover { transform:translateY(-6px); border-color:#aacdec; box-shadow:0 20px 34px rgba(12,68,123,.13); }.home-trades .trade-card:hover::before { transform:scaleX(1); }.home-trades .trade-card-glow { position:absolute; width:170px; height:170px; top:-86px; right:-80px; border-radius:50%; background:rgba(17,133,226,.09); transition:transform .3s ease; }.home-trades .trade-card:hover .trade-card-glow { transform:scale(1.3); }.home-trades .trade-icon { position:relative; display:grid; width:52px; height:52px; place-items:center; border-radius:15px; background:#eaf4ff; color:#0766b9; font-size:29px; font-weight:500; line-height:1; }.home-trades .trade-card:nth-child(2n) .trade-icon { background:#edf8ff; }.home-trades .trade-card:nth-child(3n) .trade-icon { background:#eff2ff; }.home-trades .trade-card-copy { position:relative; z-index:1; margin-top:22px; }.home-trades .trade-card-label { display:block; margin-bottom:7px; color:#6688ab; font-size:10px; font-weight:800; letter-spacing:.14em; }.home-trades .trade-card h3 { margin:0; line-height:1.17; letter-spacing:-.025em; }.home-trades .trade-card p { margin:11px 0 0; color:#7288a0; line-height:1.5; }.home-trades .trade-card-footer { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:18px; color:#0865b6; font-weight:800; }.home-trades .trade-arrow { display:inline-grid; width:31px; height:31px; place-items:center; border:1px solid #d6e6f5; border-radius:50%; background:#f8fbff; font-size:17px; transition:.2s ease; }.home-trades .trade-card:hover .trade-arrow { border-color:#0865b6; background:#0865b6; color:#fff; transform:translateX(3px); }
@media(max-width:900px){.home-trades .home-projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.home-trades .home-title-row{display:block}.home-trades-all{display:inline-block;margin:13px 0 0}.home-trades .home-projects-grid{grid-template-columns:1fr}.home-trades .trade-card{min-height:195px}}
.home-projects {
  max-width: 1280px;
  margin: 74px auto 0;
  padding: 0 24px;
}

.home-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.project-card {
  min-height: 230px;
  padding: 30px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: #fff;
  color: #17375f;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(23, 55, 95, 0.055);
}

.project-card-active {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.project-card-active:hover {
  transform: translateY(-4px);
  border-color: #b8cce4;
  box-shadow: 0 18px 42px rgba(23, 55, 95, 0.09);
}

.project-card-muted {
  background: #f8fafc;
  box-shadow: none;
}

.project-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #edf4fb;
  color: #174d86;
}

.project-icon svg { width: 27px; height: 27px; }
.project-status {
  display: block;
  margin-bottom: 10px;
  color: #58708d;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.project-card h3 { margin: 0 0 9px; font-size: 1.42rem; }
.project-card p { margin: 0; color: #65768a; line-height: 1.65; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: #0b5fac;
  font-weight: 750;
}
.project-link-arrow {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d7e4f2;
  border-radius: 50%;
  background: #f8fbff;
  color: currentColor;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}
.project-link-arrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}
.project-card:hover .project-link-arrow {
  transform: translateX(3px);
  background: #0b5fac;
  border-color: #0b5fac;
  color: #fff;
}
.project-card-muted .project-link { color: #8190a1; }

@media (max-width: 760px) {
  .home-projects { margin-top: 54px; padding: 0 18px; }
  .home-projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-card { min-height: 0; padding: 23px; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .project-icon { width: 48px; height: 48px; border-radius: 13px; }
  .project-icon svg { width: 23px; height: 23px; }
}

/* Compact homepage project chooser: mirrors the dedicated Projects page on
   mobile while preserving the descriptive desktop cards above. */
@media (max-width: 768px) {
  .home-projects {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-projects-grid .project-card {
    --project-accent: #1970c8;
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 152px;
    padding: 15px;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    border-radius: 16px;
    text-align: left;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .home-projects-grid .project-card:nth-child(2) { --project-accent: #15846a; }
  .home-projects-grid .project-card:nth-child(3) { --project-accent: #b27c08; }
  .home-projects-grid .project-card:nth-child(4) { --project-accent: #7250c5; }

  .home-projects-grid .project-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--project-accent);
    opacity: .75;
  }

  .home-projects-grid .project-card::after {
    content: "›";
    position: absolute;
    right: 13px;
    bottom: 13px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid #d8e4f0;
    border-radius: 50%;
    background: #f7faff;
    color: var(--project-accent);
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
  }

  .home-projects-grid .project-card:hover {
    transform: none;
  }

  .home-projects-grid .project-card:active {
    transform: scale(.985);
    border-color: #b9cee5;
    background: #fbfdff;
  }

  .home-projects-grid .project-card:focus-visible {
    outline: 3px solid rgba(25, 112, 200, .24);
    outline-offset: 3px;
  }

  .home-projects-grid .project-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
  }

  .home-projects-grid .project-card:nth-child(2) .project-icon {
    background: #e8f7f1;
    color: #168363;
  }

  .home-projects-grid .project-card:nth-child(3) .project-icon {
    background: #fff5dc;
    color: #9a6c00;
  }

  .home-projects-grid .project-card:nth-child(4) .project-icon {
    background: #f1ecff;
    color: #6245bd;
  }

  .home-projects-grid .project-icon svg {
    width: 22px;
    height: 22px;
  }

  .home-projects-grid .project-card > div {
    width: 100%;
    min-width: 0;
    margin-top: 13px;
  }

  .home-projects-grid .project-status,
  .home-projects-grid .project-card p,
  .home-projects-grid .project-link {
    display: none;
  }

  .home-projects-grid .project-card h3 {
    max-width: calc(100% - 30px);
    margin: 0;
    font-size: 15.5px;
    line-height: 1.25;
    letter-spacing: -.012em;
  }
}

@media (max-width: 360px) {
  .home-projects-grid {
    gap: 10px;
  }

  .home-projects-grid .project-card {
    min-height: 146px;
    padding: 14px;
  }

  .home-projects-grid .project-card h3 {
    font-size: 14.5px;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .home-projects-grid .project-card {
    transition: none;
  }
}


/* V3.2.2 homepage rhythm */
.home-projects {
  scroll-margin-top: 110px;
  margin-bottom: 78px;
}

.home-projects + .home-brands {
  margin-top: 0;
}

@media (max-width: 760px) {
  .home-projects {
    margin-bottom: 54px;
    scroll-margin-top: 88px;
  }
}

/* ================= CATALOG LAYOUT ================= */

.catalog-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 35px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 50px 70px;
}

.catalog-content {
  min-width: 0;
}

.breadcrumb {
  font-size: 15px;
  margin-bottom: 30px;
}

.breadcrumb-current {
  color: var(--muted);
  font-weight: 500;
  cursor: default;
  pointer-events: none;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

.breadcrumb span {
  margin: 0 8px;
  color: #667;
}

.catalog-title,
.section-header {
  margin-bottom: 35px;
}

.catalog-title h2,
.catalog-intro h1,
.section-header h2 {
  font-size: 42px;
  color: var(--primary);
}

.catalog-title p,
.catalog-intro p,
.section-header p {
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}

/* ================= SIDEBAR ================= */

.sidebar {
  background: white;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 6px 22px rgba(6, 38, 77, 0.06);
  height: fit-content;
}

.sidebar-toggle {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-category-link,
.sidebar-main-link {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  padding: 18px 20px;
  margin-top: 12px;

  border: 1px solid #e7edf5;
  border-radius: 14px;

  text-decoration: none;
  color: var(--primary);

  font-weight: 700;
  transition: 0.25s;
}

.sidebar-main-link.active {
  background: #edf4ff;
  color: var(--primary);
}

.sidebar-arrow {
  margin-left: auto;
  font-size: 20px;
  font-weight: 700;
}

.sidebar-category-link:hover,
.sidebar-category-link.active,
.sidebar-main-link:hover,
.sidebar-main-link.active {
  background: #edf5ff;
  color: var(--blue);
}

.sidebar details {
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  overflow: hidden;
}

.sidebar summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
}

.sidebar summary::-webkit-details-marker {
  display: none;
}

.sidebar summary::after {
  content: "›";
  margin-left: auto;
  font-size: 20px;
  color: #6d7f93;
}

.sidebar details[open] summary::after {
  transform: rotate(90deg);
}

.sidebar-submenu {
  padding: 10px;
  background: #fafcff;
}

.sidebar-submenu a {
  display: block;
  padding: 11px 16px;
  text-decoration: none;
  color: #4d5d70;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
}

.sidebar-submenu a:hover,
.sidebar-submenu a.active {
  background: #eef5ff;
  color: #0b63c9;
}

.help-box {
  margin-top: 25px;
  background: #f3f7fc;
  padding: 20px;
  border-radius: 14px;
}

.help-box h3 {
  margin-bottom: 8px;
}

.help-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

.help-box a {
  display: block;
  background: var(--green);
  color: white;
  text-align: center;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 800;
}

/* ================= FASTENER CATEGORY CARDS ================= */

.fastener-category-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
}

.fastener-category-card {
  background: white !important;
  border: 1px solid #e7edf5 !important;
  border-radius: 18px !important;
  padding: 22px !important;
  text-decoration: none !important;
  color: var(--primary) !important;
  min-height: 320px !important;
  box-shadow: 0 4px 14px rgba(6, 38, 77, 0.05) !important;

  display: grid !important;
  grid-template-rows: 190px auto 150px 60px !important;
  row-gap: 14px !important;
}

.fastener-category-card:hover {
  transform: translateY(-4px);
}

.fastener-category-card img {
  width: 100% !important;
  height: 150px !important;
  object-fit: contain !important;
}

.fastener-category-card h3 {
  font-size: 20px !important;
  margin: 0 !important;
}

.fastener-category-card p {
  color: #556170 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.fastener-category-card .card-footer {
  margin-top: auto !important;
  padding-top: 16px !important;
  border-top: 1px solid #edf2f7 !important;
  display: flex !important;
  justify-content: space-between !important;
}

/* ================= PRODUCT CARDS ================= */

.product-grid,
#categoryProducts .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.product-card {
  background: white;
  border: 1px solid #e7edf5;
  border-radius: 18px;
  padding: 22px;
  text-decoration: none;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(6, 38, 77, 0.05);
  transition: var(--transition);

  display: grid;
  grid-template-rows: 180px auto auto 95px 55px;
  row-gap: 20px;
  min-height: 520px;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card .catalog-image,
.product-card .card-image {
  width: 100%;
  height: 170px;
  background: #fafafa;
  border-radius: 12px;
  padding: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-image: url("../images/logobackground.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}

.catalog-image img {
  position: relative;
  z-index: 2;

  max-width: 80%;
  max-height: 140px;
  object-fit: contain;
}

.product-card img {
  max-width: 100%;
  max-height: 135px;
  object-fit: contain;
  display: block;
}

.product-card h3 {
  margin-top: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--primary);

  display: flex;
  align-items: flex-start;
}

.product-card p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-light);
  overflow: hidden;

  min-height: 150px; /* adjust until all align */
  margin-bottom: 0px;
  line-height: 1.8;
}

.product-meta {
  display: grid;
  grid-template-rows: 45px 45px;
  gap: 6px;
  margin-top: 38px; /* ADJUST ORIGIN HEIGHT */
}

.product-card:has(.product-colours:not(.product-colours-empty)) .product-meta {
  margin-top: 5px;  /* ADJUST AVAILABLE COLOURS */
}

.product-colours {
  margin: 0;
}

.product-colours small {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 8px;
}

.colour-list {
  display: flex;
  align-items: center;
  gap: 10px;
}

.colour-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: inline-block;
  position: relative;
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.7),
    inset 0 -2px 3px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.12);
}

.colour-dot::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 40%;
  height: 30%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.colour-dot.white {
  background: #ffffff;
}

.colour-dot.black {
  background: #111827;
}

.colour-dot.grey {
  background: #9ca3af;
}

.colour-dot.clear {
  background:
    linear-gradient(
      45deg,
      transparent 46%,
      #94a3b8 48%,
      #94a3b8 52%,
      transparent 54%
    ),
    #ffffff;
}

.product-colours-empty {
  visibility: hidden;
}

.product-origin {
  margin: 0;
}

.product-options {
  transform: translateY(-52px); /* ADJUST AVAILABLE OPTIONS HEIGHT */
}

.product-origin-empty,
.product-options-empty {
  visibility: hidden;
}

.product-origin small,
.product-options small {
  display: block;
  font-size: 13px;
  color: #8a9ab0;
  margin-bottom: 8px;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-list span,
.product-origin span {
  display: inline-flex;
  align-items: center;
  background: #eef5ff;
  color: var(--primary);
  padding: 7px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.card-footer {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid #edf2f7;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-footer span {
  color: #7a8797;
  font-size: 13px;
}

.card-arrow {
  color: var(--primary);
}

/* ================= OTHER SECTIONS ================= */

.empty-state {
  grid-column: 1 / -1;
  background: white;
  border-radius: 18px;
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.empty-state h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--muted);
}

.product-section {
  margin-bottom: 55px;
}

.subcategory-title {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8eef6;
}

.featured-fasteners {
  margin-top: 55px;
}

.category-help-cta {
  margin-top: 55px;
  background: var(--primary);
  color: white;
  border-radius: 22px;
  padding: 36px 42px;
  text-align: center;
}

.category-help-cta h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.category-help-cta p {
  color: #c9d8eb;
  margin-bottom: 22px;
}

.category-help-cta a {
  display: inline-flex;
  background: var(--green);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 800;
}


/* ===== CLEAN CARD HEIGHT + OPTION BADGES FIX ===== */
.product-card {
  grid-template-rows: 155px auto minmax(76px, auto) auto 48px !important;
  row-gap: 14px !important;
  min-height: 430px !important;
  padding: 20px !important;
}

.product-card .catalog-image,
.product-card .card-image {
  height: 150px !important;
  padding: 10px !important;
}

.catalog-image img,
.product-card img {
  max-height: 122px !important;
}

.product-card p {
  min-height: 76px !important;
  line-height: 1.55 !important;
  font-size: 15px !important;
}

.product-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 0 !important;
}

.product-options {
  transform: none !important;
}

.product-origin-empty,
.product-options-empty,
.product-colours-empty {
  display: none !important;
}

.product-origin small,
.product-options small,
.product-colours small {
  margin-bottom: 6px !important;
}

.option-list {
  gap: 6px !important;
}

.option-list span,
.product-origin span {
  padding: 6px 11px !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

/* ===== V4 ROLLBACK PATCH: SHORTER DESKTOP PRODUCT CARDS ===== */
@media (min-width: 769px) {
  .product-card {
    grid-template-rows: 150px auto minmax(70px, auto) auto 48px !important;
    row-gap: 12px !important;
    min-height: 390px !important;
    padding: 20px !important;
  }

  .product-card .catalog-image,
  .product-card .card-image {
    height: 145px !important;
    padding: 10px !important;
  }

  .catalog-image img,
  .product-card img {
    max-height: 118px !important;
  }

  .product-card h3 {
    font-size: 19px !important;
    line-height: 1.25 !important;
  }

  .product-card p {
    min-height: 70px !important;
    max-height: 74px !important;
    line-height: 1.55 !important;
    font-size: 15px !important;
  }

  .product-meta {
    margin-top: 8px !important;
    gap: 8px !important;
  }
}

/* ================= SIDEBAR HIERARCHY NAVIGATION ================= */

.sidebar-back-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 10px;
  border: 1px solid #dce6f2;
  border-radius: 12px;
  background: #f7faff;
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.25;
  transition: 0.2s ease;
}

.sidebar-back-link:hover {
  background: #edf5ff;
  border-color: #c9ddf5;
  color: var(--blue);
}

.sidebar-all-products-link {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.sidebar-all-products-link:hover {
  background: var(--blue);
  color: white;
}

.sidebar-back-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.sidebar-section-label {
  margin: 18px 2px 8px;
  color: #74859a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-switcher {
  margin-top: 16px;
}

.sidebar-category-link-compact {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  color: #4d5d70;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.sidebar-category-link-compact:hover {
  background: #eef5ff;
  color: #0b63c9;
}

/* Only mobile users need the cross-category escape route inside Screws. */
.mobile-product-switcher {
  display: none;
}

/* Desktop Power Tool Accessories: three direct destinations, no nested accordion. */
.desktop-power-accessory-navigation {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.desktop-accessory-subcategory-link {
  box-sizing: border-box;
  min-height: 46px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  border: 1px solid #dce6f2;
  border-radius: 11px;
  background: white;
  color: #4d5d70;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.desktop-accessory-subcategory-link:hover {
  border-color: #c5d8ee;
  background: #eef5ff;
  color: var(--blue);
}

.desktop-accessory-subcategory-link.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* Premium card arrows */
.card-footer .card-arrow {
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: #fff;
}


/* ===== PRODUCT CARD META DISPLAY RULES ===== */
.product-meta.product-meta-single {
  grid-template-rows: auto;
  min-height: 68px;
  align-content: end;
}

.product-meta.product-meta-single .product-origin,
.product-meta.product-meta-single .product-options,
.product-meta.product-meta-single .product-colours {
  margin: 0;
}

/* ===== KEEP VIEW SPECIFICATION ALIGNED WHEN CARD META IS HIDDEN ===== */
@media (min-width: 769px) {
  .product-card .product-meta {
    min-height: 70px !important;
  }
}


/* ===== FIX CARD FOOTER TO THE TRUE BOTTOM ROW ===== */
@media (min-width: 769px) {
  .product-card > .product-meta {
    grid-row: 4;
    min-height: 70px;
    margin-top: 0;
    align-self: end;
  }

  .product-card > .product-meta.product-meta-empty {
    visibility: hidden;
    pointer-events: none;
  }

  .product-card > .card-footer {
    grid-row: 5;
    align-self: stretch;
  }
}


/* ===== LOWER PRODUCT CARD META / OPTIONS SLIGHTLY ===== */
@media (min-width: 769px) {
  .product-card > .product-meta:not(.product-meta-empty) {
    transform: translateY(12px);
  }
}


/* =========================================================
   CATALOG POLISH — consistent cards and desktop interaction
   ========================================================= */
@media (min-width: 769px) {
  .product-card {
    grid-template-rows: 180px minmax(52px, auto) 52px 95px 55px;
    min-height: 475px;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }

  .product-card:hover {
    transform: translateY(-6px);
    border-color: #cfdef0;
    box-shadow: 0 16px 34px rgba(6, 38, 77, 0.11);
  }

  .product-card .catalog-image,
  .product-card .card-image {
    height: 170px;
    overflow: hidden;
  }

  .product-card .catalog-image img,
  .product-card .card-image img,
  .product-card > img {
    width: 100%;
    height: 140px;
    max-width: 88%;
    max-height: 140px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.22s ease;
  }

  .product-card:hover .catalog-image img,
  .product-card:hover .card-image img {
    transform: scale(1.045);
  }

  .product-card p {
    min-height: 52px;
    max-height: 52px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
}


/* Show complete desktop product descriptions while keeping cards aligned */
@media (min-width: 769px) {
  .product-card {
    grid-template-rows: 180px minmax(52px, auto) minmax(78px, auto) 95px 55px;
    height: auto;
  }

  .product-card p {
    min-height: 78px;
    max-height: none;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }
}


/* One visual frame for every ordinary product card image. */
.product-card .catalog-image {
  overflow: hidden;
}

.product-card .catalog-image img.card-image-auto-fit {
  object-fit: contain !important;
  object-position: center !important;
  transform-origin: 0 0 !important;
  transform: var(--card-image-transform) !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
}

.product-card:hover .catalog-image img.card-image-auto-fit {
  transform: var(--card-image-transform) !important;
}

/* ================= PRODUCTS PAGE ================= */

.products-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 24px 90px;
}

.products-hero {
  text-align: center;
  margin-bottom: 46px;
}

.products-hero h1 {
  font-size: 46px;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 12px;
}

.products-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.products-list {
  max-width: 1200px;
  margin: 0 auto;
}

.products-list h2 {
  display: none;
}

/* ================= CATEGORY GRID ================= */

.products-list .category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* ================= CATEGORY CARD ================= */

.products-list .category-card {
  background: white;
  border: 1px solid #e7edf5;
  border-radius: 20px;
  padding: 24px;
  min-height: 310px;
  text-decoration: none;
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(6, 38, 77, 0.06);
  transition: 0.25s ease;

  display: flex;
  flex-direction: column;
}

.products-list .category-card:hover {
  transform: translateY(-5px);
  border-color: #cfe0f5;
  box-shadow: 0 14px 34px rgba(6, 38, 77, 0.1);
}

/* ================= IMAGE AREA ================= */

.products-list .category-image {
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.products-list .category-image img {
  max-width: 100%;
  max-height: 135px;
  object-fit: contain;
  transition: 0.25s ease;
}

.products-list .category-card:hover .category-image img {
  transform: scale(1.05);
}

/* ================= TEXT AREA ================= */

.products-list .category-info {
  flex: 1;
}

.products-list .category-info h3 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--primary);
}

.products-list .category-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ================= PRODUCT DETAIL ====================== */

.product-detail-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 24px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  background: #f8fafc;
  border-radius: 24px;
  padding: 40px;
}

.product-detail-image-box {
  background: #fff;
  border-radius: 22px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  overflow: hidden;
}

.product-detail-image-box img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-detail-image-box:hover img {
  transform: scale(1.12);
}

.product-detail-info h1 {
  font-size: 36px;
  margin: 24px 0 14px;
}

.product-detail-info p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 560px;
}

.product-detail-section {
  margin: 24px 0;
}

.product-detail-section h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.product-detail-section .option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-detail-section .option-list span {
  padding: 8px 18px;
  border-radius: 999px;
  background: #eef4ff;
  color: #123b7a;
  font-weight: 700;
}

.product-detail-info .hero-btn {
  display: inline-block;
  margin-top: 20px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 25, 0.86);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  cursor: zoom-out;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.product-application-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-application-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--muted);
}

.product-application-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 800;
}



/* ================= FOOTER ACTION ================= */

.products-list .category-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #edf1f7;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.products-list .category-footer span {
  font-size: 14px;
  font-weight: 700;
  color: #7a8aa0;
}

.products-list .category-footer .arrow {
  font-size: 22px;
  line-height: 1;
  color: var(--primary);
  transition: 0.25s ease;
}

.products-list .category-card:hover .category-footer .arrow {
  transform: translateX(5px);
}

/* ================= PRODUCT BROWSING CONTROLS ================= */

.product-detail-image-box {
  position: relative;
  touch-action: pan-y;
}

.product-nav-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid #dce6f2;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(6, 38, 77, 0.14);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.product-nav-arrow:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.06);
}

.product-nav-previous {
  left: 18px;
}

.product-nav-next {
  right: 18px;
}

.product-position {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(6, 38, 77, 0.82);
  color: white;
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

/* ================= FULL-PAGE PRODUCT BROWSING ================= */

.product-detail-page {
  position: relative;
  touch-action: pan-y;
}

.product-detail {
  transition: opacity 0.18s ease, transform 0.18s ease;
  will-change: opacity, transform;
}

.product-detail.is-leaving-left {
  opacity: 0;
  transform: translateX(-34px);
}

.product-detail.is-leaving-right {
  opacity: 0;
  transform: translateX(34px);
}

.product-detail.is-entering-left {
  animation: product-enter-left 0.24s ease both;
}

.product-detail.is-entering-right {
  animation: product-enter-right 0.24s ease both;
}

@keyframes product-enter-left {
  from { opacity: 0; transform: translateX(34px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes product-enter-right {
  from { opacity: 0; transform: translateX(-34px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Arrows sit on the page edges, not inside the image card. */
.product-nav-arrow {
  position: fixed;
  top: 50%;
  z-index: 80;
  width: 54px;
  height: 54px;
  border: 1px solid #dce6f2;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(6, 38, 77, 0.18);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.product-nav-arrow:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.06);
}

.product-nav-previous {
  left: max(18px, calc(50vw - 650px));
}

.product-nav-next {
  right: max(18px, calc(50vw - 650px));
}

.product-position {
  position: absolute;
  top: 16px;
  right: 28px;
  z-index: 4;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(6, 38, 77, 0.86);
  color: white;
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

/* ================= V12 PRODUCT PAGE NAVIGATION ================= */
.product-detail-topbar {
  width: min(1180px, calc(100% - 48px));
  margin: 22px auto -6px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.product-back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid #d8e3ef;
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(6, 38, 77, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.product-back-link:hover {
  transform: translateY(-1px);
  border-color: #b9cce2;
  background: #f8fbff;
}

/* Use CSS-drawn arrows so the symbol is perfectly centred. */
.product-nav-arrow {
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 0 !important;
}

.product-nav-arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.product-nav-previous::before {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.product-nav-next::before {
  transform: rotate(45deg) translate(-1px, 1px);
}

.product-position {
  width: auto !important;
  height: auto !important;
  align-self: auto !important;
  justify-self: auto !important;
  white-space: nowrap;
  line-height: 1;
}


/* ================= V13 COMPACT BACK + STABLE COUNTER ================= */
.product-detail-topbar {
  justify-content: space-between;
  gap: 16px;
}

.product-back-link {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
}

.product-back-link > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transform: translateY(-1px);
}

.product-position {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 48px;
  height: 34px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: rgba(6, 38, 77, 0.86) !important;
  color: #fff !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  align-self: center !important;
  pointer-events: none;
}

.product-position[hidden] {
  display: none !important;
}

/* ================= V14 PRODUCT TOPBAR SPACING ================= */
.product-detail-page {
  padding-top: 22px;
}

.product-detail-topbar {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 22px;
  padding: 0 4px;
  position: relative;
  z-index: 8;
}

.product-detail {
  position: relative;
}


/* ================= V15 PRODUCT NAVIGATION BAR ================= */
.product-detail-page {
  padding-top: 34px;
}

.product-detail-topbar {
  width: min(1180px, calc(100% - 48px)) !important;
  min-height: 56px;
  margin: 0 auto 14px !important;
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  z-index: 10 !important;
  background: #ffffff;
  border: 1px solid #e2eaf3;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(6, 38, 77, 0.06);
}

.product-back-link {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #d8e3ef !important;
  border-radius: 12px !important;
  background: #f8fbff !important;
  color: var(--primary) !important;
  box-shadow: none !important;
  font-size: 0 !important;
}

.product-back-link::before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(1px, -1px);
}

.product-back-link > span {
  display: none !important;
}

.product-back-link:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  transform: translateY(-1px);
}

.product-position {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 52px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: #eaf1fa !important;
  color: var(--primary) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
  pointer-events: none;
}

.product-position[hidden] {
  display: none !important;
}

.product-detail {
  margin-top: 0 !important;
}

/* ================= V16 FLOATING PRODUCT NAV ================= */
.product-detail-page {
  padding-top: 30px;
}

.product-detail-topbar {
  width: min(1180px, calc(100% - 48px)) !important;
  min-height: 44px !important;
  margin: 0 auto 16px !important;
  padding: 0 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  z-index: 10 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.product-back-link {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #d8e3ef !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--primary) !important;
  box-shadow: 0 8px 22px rgba(6, 38, 77, 0.08) !important;
  transition: transform 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease !important;
}

.product-back-link:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px) !important;
}

.product-position {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 50px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: rgba(6, 38, 77, 0.9) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(6, 38, 77, 0.12) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
  pointer-events: none !important;
}

.product-position[hidden] {
  display: none !important;
}

/* ================= V17 OPTION D: IMAGE-ATTACHED COUNTER ================= */
.product-detail-page {
  padding-top: 28px;
}

.product-detail-topbar {
  width: min(1180px, calc(100% - 48px)) !important;
  min-height: 44px !important;
  margin: 0 auto 14px !important;
  padding: 0 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.product-detail-image-box {
  position: relative !important;
  overflow: visible !important;
}

.product-detail-image-box .product-position {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 12 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 52px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  border-radius: 999px !important;
  background: rgba(6, 38, 77, 0.9) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(6, 38, 77, 0.18) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
  pointer-events: none !important;
}

.product-detail-image-box .product-position[hidden] {
  display: none !important;
}


/* ================= V18 PILL BACK + SOFT GLASS COUNTER ================= */
.product-detail-topbar {
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 0 auto 14px !important;
  padding: 0 8px !important;
}

.product-back-link {
  width: auto !important;
  height: 42px !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 0 17px 0 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 1px solid #d9e5f3 !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.94) !important;
  color: var(--primary) !important;
  box-shadow: 0 8px 24px rgba(16,40,74,.08) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.product-back-link::before {
  content: "" !important;
  width: 8px !important;
  height: 8px !important;
  flex: 0 0 auto !important;
  border-left: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) !important;
}

.product-back-link .product-back-text {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
}

.product-back-link:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 13px 28px rgba(16,40,74,.15) !important;
}

.product-detail-image-box .product-position {
  min-width: 50px !important;
  height: 32px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(6,38,77,.10) !important;
  background: rgba(255,255,255,.76) !important;
  color: rgba(6,38,77,.84) !important;
  box-shadow: 0 7px 20px rgba(16,40,74,.10) !important;
  backdrop-filter: blur(14px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(135%) !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
}

.product-detail-image-box .product-position.is-updating {
  animation: productCounterSoftPop .24s ease;
}

@keyframes productCounterSoftPop {
  0% { opacity: .45; transform: translateY(-3px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Premium category footer arrows */
.products-list .category-footer .arrow {
  width: 30px;
  height: 30px;
  font-size: 0;
  color: #fff;
  background: var(--primary);
}

/* ================= V21 BALANCED PRODUCT BACK POSITION ================= */
.product-detail-topbar {
  margin: 30px auto 22px;
  width: min(1180px, calc(100% - 48px));
}

/* Ladder product details: show supplied catalogue sheets only */
.product-detail.ladder-detail-mode {
  align-items: flex-start;
}

.product-detail.ladder-detail-mode .product-detail-image-box {
  height: auto;
  min-height: 0;
  overflow: visible;
  background: transparent;
}

.ladder-detail-gallery {
  display: grid;
  gap: 24px;
  width: 100%;
}

.ladder-detail-gallery img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 18px;
}

.product-detail.ladder-detail-mode .product-detail-image-box:hover img {
  transform: none;
}

@media (max-width: 768px) {
  .ladder-detail-gallery {
    gap: 14px;
  }

  .ladder-detail-gallery img {
    border-radius: 12px;
  }
}

/* Ladder catalogue sheets are individually clickable for full-screen zoom. */
.ladder-detail-gallery img {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox img {
  user-select: none;
}


/* =========================================================
   PRODUCTS PAGE — PREMIUM DESKTOP UI/UX
   Scoped to products.html; mobile rules remain unchanged.
   ========================================================= */
@media (min-width: 769px) {
  .products-page {
    width: min(1500px, calc(100% - 64px));
    max-width: none;
    margin: 0 auto;
    padding: 58px 0 96px;
  }

  .products-hero {
    position: relative;
    max-width: 860px;
    margin: 0 auto 42px;
    text-align: center;
  }

  .products-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 13px;
    margin-bottom: 13px;
    border: 1px solid rgba(20, 99, 185, 0.16);
    border-radius: 999px;
    background: rgba(229, 239, 252, 0.72);
    color: #2c5d96;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.12em;
  }

  .products-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(42px, 3vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .products-hero p {
    max-width: 780px;
    font-size: 16px;
    line-height: 1.65;
    color: #63748c;
  }

  .products-list {
    width: 100%;
    max-width: none;
  }

  .products-list .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
  }

  .products-list .category-card {
    position: relative;
    min-height: 360px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid #e4ebf4;
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 0.86) 0%, #ffffff 43%);
    box-shadow:
      0 8px 24px rgba(8, 47, 95, 0.055),
      0 1px 2px rgba(8, 47, 95, 0.03);
    transition:
      transform 0.24s ease,
      box-shadow 0.24s ease,
      border-color 0.24s ease;
  }

  .products-list .category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, #1f70c9, #36c982);
    opacity: 0;
    transform: scaleX(0.55);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .products-list .category-card:hover {
    transform: translateY(-7px);
    border-color: #cbdced;
    box-shadow:
      0 22px 46px rgba(8, 47, 95, 0.12),
      0 3px 8px rgba(8, 47, 95, 0.045);
  }

  .products-list .category-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
  }

  .products-list .category-image {
    height: 145px;
    margin: 0 0 16px;
    padding: 4px;
  }

  .products-list .category-image img {
    width: 100%;
    height: 100%;
    max-width: 230px;
    max-height: 138px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 8px 12px rgba(10, 42, 77, 0.08));
    transition: transform 0.26s ease;
  }

  .products-list .category-card:hover .category-image img {
    transform: scale(1.045);
  }

  .products-list .category-info {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .products-list .category-info h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.018em;
  }

  .products-list .category-info p {
    display: -webkit-box;
    min-height: 67px;
    margin: 0;
    overflow: hidden;
    color: #60728a;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .products-list .category-footer {
    margin-top: 17px;
    padding-top: 15px;
    border-top-color: #eaf0f6;
  }

  .products-list .category-footer span {
    color: #71839a;
    font-size: 13px;
    font-weight: 700;
  }

  .products-list .category-footer .arrow {
    width: 29px;
    height: 29px;
    background: #f4f8fc;
    color: #164f88;
    border: 1px solid #d9e5f0;
    box-shadow: none;
  }

  .products-list .category-card:hover .category-footer .arrow {
    background: #123f72;
    border-color: #123f72;
    color: #fff;
    transform: translateX(3px);
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .products-page {
    width: min(960px, calc(100% - 42px));
  }

  .products-list .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Products page mobile hero polish */
@media (max-width: 768px) {
  .products-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #eaf2fd;
    color: #376692;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
  }
}


/* ================= V26 PREMIUM PRODUCT SHOWCASE ================= */
@media (min-width: 769px) {
  .product-detail-page {
    max-width: 1240px;
    padding-bottom: 88px;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 0;
    overflow: hidden;
    padding: 0;
    background: #ffffff;
    border: 1px solid #e2eaf3;
    border-radius: 28px;
    box-shadow: 0 24px 65px rgba(6, 38, 77, .10);
  }

  .product-detail-image-box {
    min-height: 610px;
    padding: 72px 64px 58px;
    border-radius: 0;
    border-right: 1px solid #e4edf6;
    background:
      radial-gradient(circle at 50% 46%, rgba(255,255,255,.98) 0 31%, rgba(246,250,255,.96) 62%, rgba(235,243,252,.92) 100%);
    isolation: isolate;
  }

  .product-detail-image-box::before {
    content: "PRODUCT SHOWCASE";
    position: absolute;
    left: 26px;
    top: 24px;
    z-index: 2;
    padding: 7px 11px;
    border: 1px solid rgba(20,67,116,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.76);
    color: #6d8299;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    backdrop-filter: blur(8px);
  }

  .product-detail-image-box::after {
    content: "Click image to enlarge";
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    color: #8293a6;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }

  .product-detail-image-box img {
    width: 100%;
    max-width: 520px;
    max-height: 470px;
    filter: drop-shadow(0 24px 22px rgba(18,45,75,.15));
    transition: transform .3s ease, filter .3s ease;
  }

  .product-detail-image-box:hover img {
    transform: translateY(-5px) scale(1.045);
    filter: drop-shadow(0 30px 28px rgba(18,45,75,.20));
  }

  .product-detail-info {
    padding: 54px 54px 50px;
    align-self: stretch;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  }

  .product-detail-info h1 {
    margin-top: 24px;
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1.12;
    letter-spacing: -.025em;
  }

  .product-detail-info > p {
    color: #526b86;
    font-size: 17px;
    line-height: 1.72;
  }

  .product-detail-section {
    margin: 25px 0;
  }

  .product-detail-info .hero-btn {
    min-height: 54px;
    padding: 16px 25px;
    border-radius: 13px;
    box-shadow: 0 12px 24px rgba(6,38,77,.14);
  }
}

/* ================= V27 REFINED PRODUCT DETAIL ================= */
@media (min-width: 769px) {
  .product-detail-page {
    max-width: 1220px;
    padding: 34px 24px 96px;
  }

  .product-detail-topbar {
    width: min(1180px, calc(100% - 8px)) !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
  }

  .product-back-link {
    width: auto !important;
    min-width: 92px !important;
    height: 42px !important;
    padding: 0 17px !important;
    display: inline-flex !important;
    gap: 9px !important;
    border-radius: 13px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  .product-back-link::before {
    width: 8px;
    height: 8px;
  }

  .product-back-link::after {
    content: "Back";
  }

  .product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(430px, .94fr);
    gap: 26px;
    align-items: start;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .product-detail-image-box {
    min-height: 610px;
    height: 610px;
    padding: 64px 62px 54px;
    border: 1px solid #dfe8f2;
    border-radius: 26px;
    background:
      radial-gradient(circle at 50% 44%, #ffffff 0 26%, #f7faff 54%, #edf4fb 100%);
    box-shadow: 0 18px 50px rgba(14, 51, 91, .09);
    overflow: hidden;
  }

  .product-detail-image-box::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    left: 50%;
    top: 50%;
    z-index: 0;
    border: 1px solid rgba(27, 83, 139, .09);
    border-radius: 50%;
    background: rgba(255,255,255,.42);
    box-shadow:
      0 0 0 42px rgba(255,255,255,.18),
      0 0 0 84px rgba(255,255,255,.10);
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .product-detail-image-box::after {
    content: "Click to enlarge";
    left: 50%;
    bottom: 23px;
    padding-left: 21px;
    color: #70869e;
    font-size: 11px;
    letter-spacing: .02em;
  }

  .product-detail-image-box img {
    position: relative;
    z-index: 1;
    width: min(92%, 540px);
    max-width: 540px;
    max-height: 455px;
    filter: drop-shadow(0 25px 20px rgba(22, 47, 75, .17));
  }

  .product-detail-image-box:hover img {
    transform: translateY(-4px) scale(1.035);
    filter: drop-shadow(0 29px 24px rgba(22, 47, 75, .21));
  }

  .product-position {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 5 !important;
    min-width: 54px !important;
    height: 34px !important;
    padding: 0 12px !important;
    background: rgba(255,255,255,.88) !important;
    border: 1px solid #dce7f2 !important;
    color: #164777 !important;
    box-shadow: 0 7px 20px rgba(15, 52, 91, .08) !important;
    backdrop-filter: blur(10px);
  }

  .product-detail-info {
    position: relative;
    min-height: 610px;
    padding: 44px 46px 42px;
    align-self: start;
    overflow: hidden;
    border: 1px solid #dfe8f2;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(14, 51, 91, .09);
  }

  .product-detail-info::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #0d477f 0%, #2f77b8 58%, #8fc2ea 100%);
  }

  .product-detail-info .breadcrumb {
    margin: 0 0 28px;
    padding-bottom: 17px;
    border-bottom: 1px solid #edf2f7;
    font-size: 13px;
  }

  .product-detail-info h1 {
    max-width: 560px;
    margin: 0 0 16px;
    font-size: clamp(33px, 2.65vw, 44px);
    line-height: 1.11;
  }

  .product-detail-info > p {
    margin: 0 0 25px;
    color: #587088;
    font-size: 16px;
    line-height: 1.68;
  }

  #productExtraInfo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    border-top: 1px solid #edf2f7;
  }

  .product-detail-section {
    margin: 0;
    padding: 21px 0;
    border-bottom: 1px solid #edf2f7;
  }

  .product-detail-section:has(.product-application-list),
  .product-detail-section:has(.colour-list) {
    grid-column: 1 / -1;
  }

  .product-detail-section h3 {
    margin: 0 0 11px;
    color: #173e69;
    font-size: 14px;
    letter-spacing: .01em;
  }

  .product-detail-section .option-list {
    gap: 7px;
  }

  .product-detail-section .option-list span {
    padding: 7px 12px;
    border: 1px solid #dce8f4;
    background: #f2f7fc;
    color: #1a548b;
    font-size: 11px;
    line-height: 1.15;
  }

  .product-application-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 16px;
  }

  .product-application-list li {
    margin: 0;
    padding-left: 23px;
    color: #365977;
    font-size: 14px;
  }

  .product-detail-info .hero-btn {
    width: 100%;
    min-height: 53px;
    margin-top: 28px;
    padding: 15px 23px;
    border-radius: 13px;
    text-align: center;
    box-shadow: 0 12px 25px rgba(6, 38, 77, .15);
  }

  .product-nav-arrow {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 26px rgba(6,38,77,.14);
  }

  .product-nav-previous {
    left: max(18px, calc(50vw - 650px));
  }

  .product-nav-next {
    right: max(18px, calc(50vw - 650px));
  }
}

/* ================= LK FASTENER V3.0 — PREMIUM PRODUCT SHOWCASE ================= */
@media (min-width: 769px) {
  .product-back-link::after { content: none !important; }

  .product-detail-page {
    max-width: 1240px;
    padding-top: 30px;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1.1fr) minmax(430px, .9fr) !important;
    gap: 28px !important;
  }

  .product-detail-image-box {
    min-height: 620px !important;
    height: 620px !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) 76px !important;
    border: 1px solid #dce7f2 !important;
    border-radius: 26px !important;
    background: #f7faff !important;
    box-shadow: 0 22px 60px rgba(18, 49, 84, .10) !important;
    overflow: hidden !important;
    cursor: default !important;
  }

  .product-detail-image-box::before,
  .product-detail-image-box::after { content: none !important; }

  .product-stage {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 62px 54px 38px;
    overflow: hidden;
    cursor: zoom-in;
    isolation: isolate;
    background:
      radial-gradient(circle at 50% 42%, rgba(255,255,255,.98) 0 23%, rgba(255,255,255,.72) 42%, rgba(239,246,253,.78) 72%, rgba(231,240,249,.96) 100%);
  }

  .product-stage::before {
    content: "";
    position: absolute;
    inset: 24px;
    z-index: -2;
    border-radius: 22px;
    background:
      linear-gradient(rgba(19,75,126,.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(19,75,126,.035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, #000 0 40%, transparent 76%);
    -webkit-mask-image: radial-gradient(circle at center, #000 0 40%, transparent 76%);
  }

  .product-stage::after {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: 52px;
    z-index: -1;
    height: 34px;
    border-radius: 50%;
    background: rgba(18, 48, 78, .17);
    filter: blur(22px);
    transform: scaleX(.72);
  }

  .product-stage img {
    position: relative;
    z-index: 2;
    width: auto !important;
    height: auto !important;
    max-width: 94% !important;
    max-height: 465px !important;
    object-fit: contain;
    filter: drop-shadow(0 22px 20px rgba(16, 43, 72, .18));
    transform: translateZ(0);
    transition: transform .34s cubic-bezier(.2,.75,.25,1), filter .34s ease, opacity .18s ease !important;
  }

  .product-stage:hover img {
    transform: translateY(-5px) scale(1.055) !important;
    filter: drop-shadow(0 31px 25px rgba(16, 43, 72, .22));
  }

  .product-stage-kicker {
    position: absolute;
    left: 24px;
    top: 22px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #45627f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  .product-stage-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 5px rgba(11,102,228,.10);
  }

  .product-stage-toolbar {
    position: relative;
    z-index: 5;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 22px 0 26px;
    border-top: 1px solid #dce7f2;
    background: rgba(255,255,255,.94);
    cursor: default;
  }

  .product-stage-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5c7188;
    font-size: 13px;
    font-weight: 700;
  }

  .product-stage-caption::before {
    content: "";
    width: 28px;
    height: 1px;
    background: #b8c9d9;
  }

  .product-zoom-button {
    min-height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d4e1ee;
    border-radius: 12px;
    background: #f7faff;
    color: var(--primary);
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    cursor: zoom-in;
    transition: .2s ease;
  }

  .product-zoom-button::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
  }

  .product-zoom-button::after {
    content: "";
    width: 6px;
    height: 2px;
    margin-left: -11px;
    margin-right: 4px;
    background: currentColor;
    border-radius: 2px;
    transform: translate(7px, 6px) rotate(45deg);
  }

  .product-zoom-button:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
  }

  .product-detail-image-box .product-position {
    top: 20px !important;
    right: 20px !important;
    height: 32px !important;
    background: rgba(255,255,255,.88) !important;
    border-color: rgba(36,76,116,.12) !important;
    box-shadow: 0 8px 24px rgba(25,55,85,.10) !important;
  }

  .product-nav-arrow {
    position: absolute !important;
    top: 365px !important;
    width: 48px !important;
    height: 48px !important;
    background: #fff !important;
    border: 1px solid #d6e3ef !important;
    color: var(--primary) !important;
    box-shadow: 0 12px 28px rgba(15,45,78,.13) !important;
  }
  .product-nav-previous { left: -2px !important; }
  .product-nav-next { right: -2px !important; }
  .product-nav-arrow:hover { background: var(--primary) !important; color: #fff !important; }

  .product-detail-info {
    border: 1px solid #e0e9f2 !important;
    border-radius: 26px !important;
    box-shadow: 0 22px 58px rgba(18,49,84,.085) !important;
  }
}

@media (max-width: 768px) {
  .product-back-link::after { content: none !important; }

  .product-detail-image-box {
    padding: 0 !important;
    display: grid !important;
    grid-template-rows: minmax(340px, auto) 62px !important;
    overflow: hidden !important;
    background: #f4f8fc !important;
  }

  .product-stage {
    position: relative;
    min-height: 340px;
    padding: 52px 28px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
    background: radial-gradient(circle at 50% 42%, #fff 0 25%, #f5f9fd 62%, #eaf2f9 100%);
  }

  .product-stage::after {
    content: "";
    position: absolute;
    left: 20%; right: 20%; bottom: 36px;
    height: 24px;
    border-radius: 50%;
    background: rgba(18,48,78,.15);
    filter: blur(16px);
  }

  .product-stage img {
    position: relative;
    z-index: 2;
    max-width: 94% !important;
    max-height: 310px !important;
    object-fit: contain;
    filter: drop-shadow(0 18px 18px rgba(16,43,72,.18));
  }

  .product-stage-kicker {
    position: absolute;
    left: 18px;
    top: 16px;
    color: #55708a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .product-stage-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px 0 18px;
    border-top: 1px solid #dce7f2;
    background: rgba(255,255,255,.96);
  }

  .product-stage-caption { color: #60758b; font-size: 12px; font-weight: 700; }
  .product-zoom-button {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #d4e1ee;
    border-radius: 11px;
    background: #f7faff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
  }
}

/* =========================================================
   LK FASTENER v3.0.1 — PRODUCT-FIRST DETAIL COMPOSITION
   Premium through restraint: one surface, no decorative UI.
   ========================================================= */

@media (min-width: 769px) {
  .product-detail-page {
    max-width: 1260px !important;
    padding: 44px 30px 72px !important;
  }

  .product-detail-topbar {
    margin: 0 0 18px !important;
    padding: 0 !important;
  }

  .product-back-link {
    min-height: 40px !important;
    padding: 0 15px !important;
    border: 1px solid #dce4ec !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #27496d !important;
    font-size: 14px !important;
    font-weight: 750 !important;
  }

  .product-back-link::before {
    content: none !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    transform: none !important;
    font-size: 17px !important;
    line-height: 1 !important;
  }

  .product-back-link:hover {
    border-color: #b9c8d7 !important;
    background: #fff !important;
    transform: translateY(-1px) !important;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1.12fr) minmax(410px, .88fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #e1e7ed !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 50px rgba(22, 46, 72, .075) !important;
  }

  .product-detail-image-box {
    min-width: 0 !important;
    min-height: 590px !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    cursor: zoom-in !important;
    border-right: 1px solid #e7ebef !important;
  }

  .product-stage {
    position: relative !important;
    min-height: 590px !important;
    height: 100% !important;
    padding: 56px 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    isolation: auto !important;
    background: #fff !important;
  }

  .product-stage::before,
  .product-stage::after,
  .product-stage-kicker,
  .product-stage-toolbar,
  .product-stage-caption,
  .product-zoom-button {
    display: none !important;
    content: none !important;
  }

  .product-stage img {
    position: relative !important;
    z-index: 1 !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 500px !important;
    object-fit: contain !important;
    filter: none !important;
    transform: scale(1.08) !important;
    transition: transform .28s ease, opacity .18s ease !important;
  }

  .product-stage:hover img {
    transform: scale(1.12) !important;
    filter: none !important;
  }

  .product-detail-image-box .product-position {
    top: auto !important;
    right: 20px !important;
    bottom: 18px !important;
    min-width: 54px !important;
    height: 30px !important;
    padding: 0 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e0e6ec !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.94) !important;
    color: #49627c !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  .product-detail-info {
    min-width: 0 !important;
    padding: 48px 44px 44px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .product-detail-info::before {
    display: none !important;
  }

  .product-detail-info .breadcrumb {
    margin: 0 0 22px !important;
  }

  .product-detail-info h1 {
    margin: 0 0 14px !important;
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.025em !important;
  }

  .product-detail-info > p {
    margin: 0 0 28px !important;
    color: #5f6f7f !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
  }

  .product-detail-info .hero-btn {
    width: 100% !important;
    min-height: 52px !important;
    margin-top: 24px !important;
    border-radius: 11px !important;
  }

  .product-nav-arrow {
    position: absolute !important;
    top: 50% !important;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid #dce4eb !important;
    background: rgba(255,255,255,.96) !important;
    color: #284b70 !important;
    box-shadow: 0 8px 22px rgba(20, 42, 66, .10) !important;
    opacity: .82 !important;
  }

  .product-nav-previous { left: 10px !important; }
  .product-nav-next { right: 10px !important; }

  .product-nav-arrow:hover {
    opacity: 1 !important;
    background: #fff !important;
    color: #173d65 !important;
    transform: translateY(-50%) scale(1.04) !important;
  }
}

@media (max-width: 768px) {
  .product-detail-page {
    background: #f5f7f9 !important;
  }

  .product-detail {
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #e2e7ec !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 34px rgba(22,46,72,.07) !important;
  }

  .product-detail-image-box {
    min-height: 390px !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid #e8ecef !important;
  }

  .product-stage {
    min-height: 390px !important;
    padding: 38px 24px !important;
    background: #fff !important;
  }

  .product-stage::before,
  .product-stage::after,
  .product-stage-kicker,
  .product-stage-toolbar,
  .product-stage-caption,
  .product-zoom-button {
    display: none !important;
    content: none !important;
  }

  .product-stage img {
    max-width: 100% !important;
    max-height: 330px !important;
    filter: none !important;
    transform: scale(1.06) !important;
  }

  .product-detail-image-box .product-position {
    top: auto !important;
    right: 14px !important;
    bottom: 13px !important;
    background: rgba(255,255,255,.94) !important;
    color: #49627c !important;
    border: 1px solid #e0e6ec !important;
    box-shadow: none !important;
  }

  .product-detail-info {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* =========================================================
   LK FASTENER V3.0.2 — SINGLE-IMAGE INDUSTRIAL CATALOGUE
   Product-first layout approved from the final mock-up.
   ========================================================= */
@media (min-width: 769px) {
  .product-detail-page {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 32px clamp(32px, 4vw, 72px) 72px !important;
    background: #ffffff !important;
  }

  .product-detail-topbar {
    width: min(1420px, 100%) !important;
    min-height: auto !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .product-back-link {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 8px 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #123b6d !important;
    font-size: 16px !important;
    font-weight: 750 !important;
  }

  .product-back-link::before {
    content: "" !important;
    width: 10px !important;
    height: 10px !important;
    border: 0 !important;
    border-left: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg) !important;
  }

  .product-back-link > span {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
  }

  .product-back-link:hover {
    color: #061f42 !important;
    background: transparent !important;
    transform: translateX(-2px) !important;
  }

  .product-detail {
    width: min(1420px, 100%) !important;
    min-height: 700px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(430px, .95fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    overflow: visible !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .product-detail-image-box {
    position: relative !important;
    min-width: 0 !important;
    min-height: 700px !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
    background: #fff !important;
    border: 0 !important;
    border-right: 1px solid #e3e9f0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .product-stage {
    width: 100% !important;
    min-height: 650px !important;
    height: 100% !important;
    padding: 42px 52px 82px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  .product-stage::before,
  .product-stage::after,
  .product-stage-kicker,
  .product-stage-toolbar,
  .product-stage-caption,
  .product-zoom-button {
    display: none !important;
    content: none !important;
  }

  .product-stage img {
    width: auto !important;
    height: auto !important;
    max-width: 92% !important;
    max-height: 570px !important;
    object-fit: contain !important;
    filter: none !important;
    transform: scale(1.16) !important;
    transition: transform .28s ease, opacity .18s ease !important;
  }

  .product-stage:hover img {
    transform: scale(1.19) !important;
  }

  .product-detail-image-box .product-position {
    position: absolute !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    bottom: 24px !important;
    z-index: 5 !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 0 12px !important;
    border: 0 !important;
    border-bottom: 2px solid #1b5daa !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #183a68 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    transform: translateX(-50%) !important;
  }

  .product-detail-info {
    min-width: 0 !important;
    padding: 14px 46px 38px !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .product-detail-info .breadcrumb {
    margin: 0 0 34px !important;
  }

  .product-detail-info h1 {
    margin: 0 0 18px !important;
    font-size: clamp(38px, 3.4vw, 58px) !important;
    line-height: 1.06 !important;
    letter-spacing: -.035em !important;
  }

  .product-detail-info > p {
    margin: 0 0 34px !important;
    padding-bottom: 30px !important;
    border-bottom: 1px solid #e3e9f0 !important;
    color: #697d94 !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
  }

  .product-detail-info .product-detail-section {
    padding-bottom: 22px !important;
    margin: 22px 0 !important;
    border-bottom: 1px solid #e7ecf2 !important;
  }

  .product-detail-info .hero-btn {
    width: 100% !important;
    min-height: 58px !important;
    margin-top: 18px !important;
    border-radius: 8px !important;
  }

  .product-nav-arrow {
    position: fixed !important;
    top: 54% !important;
    z-index: 90 !important;
    width: 48px !important;
    height: 48px !important;
    border: 1px solid #e0e7ef !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .98) !important;
    color: #123b6d !important;
    box-shadow: 0 8px 24px rgba(13, 45, 82, .10) !important;
    opacity: 1 !important;
    transform: translateY(-50%) !important;
  }

  .product-nav-previous {
    left: max(22px, calc(50vw - 760px)) !important;
  }

  .product-nav-next {
    right: max(22px, calc(50vw - 760px)) !important;
  }

  .product-nav-arrow:hover {
    background: #123b6d !important;
    color: #fff !important;
    border-color: #123b6d !important;
    transform: translateY(-50%) scale(1.04) !important;
  }
}

@media (max-width: 768px) {
  .product-detail-topbar {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .product-back-link {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 8px 2px !important;
    display: inline-flex !important;
    gap: 9px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px !important;
  }

  .product-back-link::before {
    content: "" !important;
    width: 9px !important;
    height: 9px !important;
    border-left: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg) !important;
  }

  .product-back-link > span {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
  }

  .product-detail-image-box .product-position {
    left: 50% !important;
    right: auto !important;
    bottom: 14px !important;
    transform: translateX(-50%) !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 2px solid #1b5daa !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #183a68 !important;
  }
}

/* =========================================================
   LK FASTENER V3.0.3 — CATEGORY COUNTER + LADDER CATALOGUE
   ========================================================= */
@media (min-width: 769px) {
  /* Portrait catalogue sheets should use the available image stage instead
     of appearing like a small thumbnail in the top-left corner. */
  .product-detail.ladder-detail-mode .product-detail-image-box {
    position: relative !important;
    min-height: 700px !important;
    padding: 30px 38px 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    background: #fff !important;
    border-right: 1px solid #e3e9f0 !important;
  }

  .product-detail.ladder-detail-mode .ladder-detail-gallery {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 28px !important;
  }

  .product-detail.ladder-detail-mode .ladder-detail-gallery img {
    width: auto !important;
    height: auto !important;
    max-width: 92% !important;
    max-height: 590px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: 0 16px 38px rgba(17, 43, 72, .10) !important;
  }

  .product-detail.ladder-detail-mode .product-position {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 24px !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 768px) {
  .product-detail.ladder-detail-mode .product-detail-image-box {
    position: relative !important;
    min-height: 470px !important;
    padding: 22px 18px 62px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .product-detail.ladder-detail-mode .ladder-detail-gallery {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 18px !important;
  }

  .product-detail.ladder-detail-mode .ladder-detail-gallery img {
    width: auto !important;
    max-width: 96% !important;
    max-height: 390px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 26px rgba(17, 43, 72, .09) !important;
  }
}


/* =========================================================
   LK FASTENER V3.0.4 — LADDER CATALOGUE SPREAD
   Only ladder catalogue sheets use this side-by-side layout.
   ========================================================= */
@media (min-width: 769px) {
  .product-detail.ladder-detail-mode .ladder-detail-gallery.has-multiple-pages {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .product-detail.ladder-detail-mode .ladder-detail-gallery.has-multiple-pages img {
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    height: auto !important;
    max-height: 610px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }

  .product-detail.ladder-detail-mode .ladder-detail-gallery.has-single-page img {
    width: auto !important;
    max-width: 92% !important;
    max-height: 610px !important;
  }
}

@media (max-width: 768px) {
  .product-detail.ladder-detail-mode .ladder-detail-gallery.has-multiple-pages {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }

  .product-detail.ladder-detail-mode .ladder-detail-gallery.has-multiple-pages img {
    flex: 0 0 82% !important;
    width: 82% !important;
    max-width: 82% !important;
    max-height: 390px !important;
    scroll-snap-align: center;
  }
}

/* =========================================================
   LK FASTENER V3.0.5 — CLEAR, SIMPLE BACK BUTTON
   ========================================================= */
.product-detail-topbar {
  display: flex !important;
  align-items: center !important;
  min-height: 52px !important;
  margin-bottom: 20px !important;
}

.product-back-link {
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 112px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  border: 1px solid #cbd8e7 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #123b6d !important;
  box-shadow: 0 7px 20px rgba(17, 52, 91, 0.08) !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  transition: transform 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, background 0.18s ease !important;
}

.product-back-link::before {
  content: "" !important;
  flex: 0 0 auto !important;
  width: 9px !important;
  height: 9px !important;
  border-left: 2.5px solid currentColor !important;
  border-bottom: 2.5px solid currentColor !important;
  transform: rotate(45deg) !important;
  margin-left: 3px !important;
}

.product-back-link::after {
  content: none !important;
}

.product-back-link .product-back-text,
.product-back-link > span {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  line-height: 1 !important;
}

.product-back-link:hover {
  background: #f7faff !important;
  color: #0d4f91 !important;
  border-color: #9fb9d7 !important;
  box-shadow: 0 10px 26px rgba(17, 52, 91, 0.12) !important;
  transform: translateY(-1px) !important;
}

.product-back-link:active {
  transform: translateY(0) !important;
  box-shadow: 0 5px 14px rgba(17, 52, 91, 0.08) !important;
}

.product-back-link:focus-visible {
  outline: 3px solid rgba(42, 118, 196, 0.22) !important;
  outline-offset: 3px !important;
}

@media (max-width: 768px) {
  .product-detail-topbar {
    min-height: 46px !important;
    margin-bottom: 14px !important;
  }

  .product-back-link {
    min-width: 102px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 17px !important;
    gap: 9px !important;
    border: 1px solid #cbd8e7 !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    box-shadow: 0 6px 16px rgba(17, 52, 91, 0.08) !important;
    font-size: 15px !important;
  }

  .product-back-link::before {
    width: 8px !important;
    height: 8px !important;
    border-left-width: 2px !important;
    border-bottom-width: 2px !important;
  }
}


/* ================= COMMONLY USED WITH V3.1 ================= */
.commonly-used-section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #e5ebf3;
}
.commonly-used-section[hidden] { display: none !important; }
.commonly-used-heading { margin-bottom: 14px; }
.commonly-used-heading h2 { margin: 0 0 4px; color: var(--primary); font-size: 19px; line-height: 1.25; }
.commonly-used-heading p { margin: 0; color: #72849b; font-size: 13px; line-height: 1.5; }
.commonly-used-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.commonly-used-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e2eaf3;
  border-radius: 14px;
  background: #fff;
  color: var(--primary);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.commonly-used-card:hover { transform: translateY(-2px); border-color: #b9cde4; box-shadow: 0 9px 24px rgba(17, 52, 91, .08); }
.commonly-used-image { grid-row: 1 / 3; width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #f7f9fc; }
.commonly-used-image img { max-width: 54px; max-height: 54px; object-fit: contain; }
.commonly-used-card strong { min-width: 0; font-size: 13px; line-height: 1.25; }
.commonly-used-card > span:last-child { color: #73859b; font-size: 11px; font-weight: 700; }
.commonly-used-card b { color: var(--primary); font-size: 15px; }
@media (max-width: 768px) {
  .commonly-used-section {
    display: none !important;
  }
}

/* Grouting machine accessories: product photos remain visible and easy to open on mobile. */
.commonly-used-section.is-grouting-accessories .commonly-used-card {
  grid-template-columns: 86px minmax(0, 1fr);
  padding: 12px;
  gap: 2px 12px;
}
.commonly-used-section.is-grouting-accessories .commonly-used-image {
  width: 86px;
  height: 86px;
}
.commonly-used-section.is-grouting-accessories .commonly-used-image img {
  max-width: 80px;
  max-height: 80px;
}
@media (max-width: 768px) {
  .commonly-used-section.is-grouting-accessories:not([hidden]),
  .commonly-used-section.is-grouting-companion:not([hidden]) {
    display: block !important;
  }
  .commonly-used-section.is-grouting-accessories .commonly-used-products,
  .commonly-used-section.is-grouting-companion .commonly-used-products {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ================= HEX SDS SIZE GUIDE ================= */
.product-size-guide[hidden] {
  display: none;
}

.product-size-guide {
  min-width: 0;
  padding: 30px clamp(24px, 3vw, 44px) 36px;
  background: #f8fbff;
  border-top: 1px solid #e3eaf2;
  border-right: 1px solid #e3eaf2;
}

.product-size-guide-heading {
  margin-bottom: 20px;
}

.product-size-guide-heading > span {
  display: block;
  margin-bottom: 6px;
  color: #3273b9;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
}

.product-size-guide-heading h2 {
  margin: 0 0 7px;
  color: #0b3564;
  font-size: 24px;
  line-height: 1.15;
}

.product-size-guide-heading p,
.product-size-note {
  margin: 0;
  color: #6d8095;
  font-size: 13px;
  line-height: 1.55;
}

.product-size-groups {
  display: grid;
  gap: 14px;
}

.product-size-group {
  overflow: hidden;
  border: 1px solid #dce7f2;
  border-radius: 15px;
  background: #fff;
}

.product-size-group-heading {
  min-height: 48px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #edf5fd;
  border-bottom: 1px solid #dce7f2;
}

.product-size-group-heading h3 {
  margin: 0;
  color: #0c3b6d;
  font-size: 14px;
  line-height: 1.25;
}

.product-size-group-heading span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: #51708e;
  font-size: 10px;
  font-weight: 800;
}

.product-size-rows {
  padding: 4px 15px 10px;
}

.product-size-row {
  padding: 11px 0;
  display: grid;
  grid-template-columns: minmax(48px, max-content) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.product-size-row + .product-size-row {
  border-top: 1px solid #edf1f5;
}

.product-size-row.is-values-only {
  grid-template-columns: minmax(0, 1fr);
}

.product-size-row > strong {
  padding-top: 7px;
  color: #0a396d;
  font-size: 14px;
}

.product-size-lengths {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.product-size-lengths span {
  min-width: 46px;
  padding: 7px 9px;
  border: 1px solid #d6e3ef;
  border-radius: 8px;
  background: #fff;
  color: #234b72;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
}

.product-size-note {
  margin-top: 15px;
}

@media (min-width: 769px) {
  .product-detail.has-size-guide {
    grid-template-rows: auto auto !important;
    align-items: start !important;
  }

  .product-detail.has-size-guide .product-detail-image-box {
    grid-column: 1;
    grid-row: 1;
    min-height: 500px !important;
    border-bottom: 0 !important;
  }

  .product-detail.has-size-guide .product-stage {
    min-height: 500px !important;
    height: 500px !important;
    padding: 38px 48px 58px !important;
  }

  .product-detail.has-size-guide .product-stage img {
    max-height: 410px !important;
  }

  .product-detail.has-size-guide .product-size-guide {
    grid-column: 1;
    grid-row: 2;
  }

  .product-detail.has-size-guide .product-detail-info {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 768px) {
  .product-detail.has-size-guide {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "image"
      "info"
      "sizes" !important;
  }

  .product-detail.has-size-guide .product-detail-image-box {
    grid-area: image;
  }

  .product-detail.has-size-guide .product-detail-info {
    grid-area: info;
  }

  .product-detail.has-size-guide .product-size-guide {
    grid-area: sizes;
    padding: 24px 18px 28px;
    border-right: 0;
  }

  .product-size-guide-heading h2 {
    font-size: 21px;
  }

  .product-size-row {
    grid-template-columns: minmax(42px, max-content) minmax(0, 1fr);
    gap: 9px;
  }

  .product-size-lengths {
    gap: 6px;
  }

  .product-size-lengths span {
    min-width: 43px;
    padding: 7px 8px;
    font-size: 11px;
  }
}

/* Contact page. Dedicated names keep shared legacy hero/form styles out. */
.contact-screen { background: #f7f9fc; }
.contact-hub { width: min(1440px, calc(100% - 80px)); margin: 0 auto; padding: 28px 0 64px; color: #153958; }
.contact-hub a:focus-visible,
.contact-hub button:focus-visible { outline: 3px solid #2674ae; outline-offset: 4px; }
.contact-breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; color: #65758a; font-size: 12px; }
.contact-breadcrumb a { color: #50647d; text-decoration: none; }
.contact-breadcrumb a:hover { color: #123f73; text-decoration: underline; }
.contact-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid #dfe7ef; }
.contact-intro > div { max-width: 760px; }
.contact-eyebrow { display: flex; align-items: center; gap: 10px; color: #42627e; font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .14em; }
.contact-eyebrow::before { content: ""; width: 24px; height: 3px; flex: 0 0 24px; background: #20a563; }
.contact-intro h1 { margin: 12px 0 16px; color: #123f73; font-size: clamp(38px, 4vw, 60px); font-weight: 800; line-height: 1.1; letter-spacing: -.045em; }
.contact-intro p { max-width: 660px; color: #526780; font-size: 15px; line-height: 1.8; }
.contact-intro-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; flex: 0 0 auto; min-height: 48px; padding: 13px 20px; border: 1px solid #cbd9e7; border-radius: 9px; background: #fff; color: #245580; font-size: 13px; font-weight: 600; text-decoration: none; }
.contact-intro-link:hover { border-color: #9bb8d2; background: #edf3f9; }
.contact-workspace { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 44px; margin-top: 38px; }
.contact-direct { min-width: 0; }
.contact-section-heading { margin-bottom: 24px; }
.contact-section-heading h2 { margin: 12px 0 10px; color: #123f73; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.25; letter-spacing: -.035em; }
.contact-section-heading p { max-width: 600px; color: #526780; font-size: 14px; line-height: 1.8; }
.contact-phone-list { display: grid; gap: 16px; }
.contact-phone-card { min-width: 0; padding: 22px; border: 1px solid #dce6f0; border-radius: 14px; background: #fff; }
.contact-phone-heading { display: flex; align-items: center; gap: 14px; }
.contact-phone-heading > div { min-width: 0; }
.contact-icon { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 11px; background: #edf3f9; color: #246197; }
.contact-icon svg { width: 24px; height: 24px; }
.contact-card-label { color: #526780; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .1em; }
.contact-phone-card h3 { margin: 5px 0 0; font-size: clamp(18px, 1.9vw, 25px); font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.contact-phone-card h3 a { color: #123f73; text-decoration: none; }
.contact-phone-card h3 a:hover { text-decoration: underline; }
.contact-phone-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 0; min-height: 46px; padding: 12px 16px; border: 1px solid transparent; border-radius: 9px; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer; transition: background 180ms ease, border-color 180ms ease; }
.contact-button.is-whatsapp { border-color: #c8e5d5; background: #edf8f1; color: #167243; }
.contact-button.is-whatsapp:hover { border-color: #97ccb0; background: #def0e5; }
.contact-button.is-outline { border-color: #d5e0eb; background: #fff; color: #345b7d; }
.contact-button.is-outline:hover { border-color: #a9bfd4; background: #f1f5f9; }
.contact-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; padding: 22px 0; border-top: 1px solid #dce6f0; border-bottom: 1px solid #dce6f0; }
.contact-facts dt { margin-bottom: 8px; color: #526780; font-size: 12px; }
.contact-facts dd { margin: 0; color: #153958; font-size: 13px; line-height: 1.8; }
.contact-facts dd strong { font-weight: 600; }
.contact-facts small { display: block; margin-top: 8px; color: #65758a; font-size: 11px; line-height: 1.6; }
.contact-store { margin: 0; overflow: hidden; border: 1px solid #dce6f0; border-radius: 14px; background: #fff; }
.contact-store img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.contact-store figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 17px 20px; }
.contact-store strong { color: #123f73; font-size: 12px; font-weight: 600; line-height: 1.6; }
.contact-store a { display: inline-flex; align-items: center; gap: 12px; color: #345b7d; font-size: 11px; font-weight: 600; text-decoration: none; }
.contact-store a:hover { text-decoration: underline; }
.enquiry-card { min-width: 0; padding: 34px; border: 1px solid #dce6f0; border-radius: 18px; background: #fff; box-shadow: 0 6px 22px rgba(20, 50, 80, .045); }
.enquiry-card form { scroll-margin-top: 24px; }
.enquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 18px; }
.enquiry-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.enquiry-field.is-wide { grid-column: 1 / -1; }
.enquiry-field > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; color: #153958; font-size: 13px; font-weight: 600; line-height: 1.5; }
.enquiry-field em { color: #65758a; font-size: 10px; font-style: normal; font-weight: 400; }
.enquiry-field input,
.enquiry-field select,
.enquiry-field textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #cbd9e7; border-radius: 9px; background: #fbfcfe; color: #153958; font: inherit; font-size: 14px; line-height: 1.6; transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.enquiry-field textarea { resize: vertical; min-height: 150px; }
.enquiry-field input::placeholder,
.enquiry-field textarea::placeholder { color: #788ba0; opacity: 1; }
.enquiry-field input:focus,
.enquiry-field select:focus,
.enquiry-field textarea:focus { outline: none; border-color: #2674ae; background: #fff; box-shadow: 0 0 0 3px rgba(38, 116, 174, .12); }
.enquiry-field [aria-invalid="true"] { border-color: #b64c42; }
.enquiry-field small { color: #65758a; font-size: 11px; line-height: 1.75; }
.enquiry-tip { display: flex; align-items: flex-start; gap: 11px; margin: 22px 0; padding: 15px 16px; border: 1px solid #e0e8f0; border-radius: 10px; background: #f3f6fa; }
.enquiry-tip > span { display: grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border: 1px solid #9fb8ce; border-radius: 50%; color: #42627e; font-size: 12px; font-weight: 700; }
.enquiry-tip p { color: #526780; font-size: 12px; line-height: 1.75; }
.enquiry-submit { width: 100%; min-height: 50px; justify-content: space-between; padding: 14px 20px; border-color: #123f73; background: #123f73; color: #fff; font-size: 13px; }
.enquiry-submit:disabled { opacity: .6; cursor: not-allowed; }
.enquiry-submit:hover { border-color: #1d548a; background: #1d548a; }
.enquiry-form-note { margin-top: 12px; color: #65758a; font-size: 11px; line-height: 1.75; }
.enquiry-status { margin-top: 18px; color: #167243; font-size: 12px; line-height: 1.75; }
.enquiry-continue { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 4px; color: #245580; font-size: 12px; font-weight: 600; }
.enquiry-continue[hidden], .enquiry-status[hidden] { display: none; }
.contact-shortcuts { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 40px; padding: 30px 34px; border: 1px solid #dce6f0; border-radius: 16px; background: #edf3f9; }
.contact-shortcuts h2 { margin: 10px 0 8px; color: #123f73; font-size: 24px; line-height: 1.3; letter-spacing: -.025em; }
.contact-shortcuts p { color: #526780; font-size: 13px; line-height: 1.75; }
.contact-shortcuts nav { display: grid; flex: 0 0 250px; gap: 10px; }
.contact-shortcuts nav a { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 46px; padding: 10px 16px; border: 1px solid #cbd9e7; border-radius: 9px; background: #fff; color: #245580; font-size: 12px; font-weight: 600; text-decoration: none; }
.contact-shortcuts nav a:hover { border-color: #9bb8d2; background: #f7f9fc; }
@media (max-width: 1100px) {
  .contact-workspace { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px; }
  .enquiry-card { padding: 26px; }
  .contact-phone-card { padding: 20px; }
  .contact-button { gap: 8px; padding: 12px 10px; }
  .enquiry-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .enquiry-field.is-wide { grid-column: auto; }
}
@media (max-width: 850px) {
  .contact-hub { width: calc(100% - 40px); padding-top: 22px; }
  .contact-intro { align-items: flex-start; flex-direction: column; gap: 22px; }
  .contact-workspace { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 30px; }
  .contact-phone-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-phone-heading { gap: 10px; }
  .contact-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 9px; }
  .contact-icon svg { width: 21px; height: 21px; }
  .contact-phone-card h3 { font-size: 19px; }
  .contact-store img { max-height: 320px; }
  .enquiry-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enquiry-field.is-wide { grid-column: 1 / -1; }
  .contact-shortcuts { flex-direction: column; align-items: flex-start; gap: 22px; }
  .contact-shortcuts nav { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; flex-basis: auto; }
}
@media (max-width: 600px) {
  .contact-hub { width: calc(100% - 32px); padding: 18px 0 36px; }
  .contact-breadcrumb { gap: 10px; margin-bottom: 28px; }
  .contact-eyebrow { font-size: 10px; letter-spacing: .12em; }
  .contact-intro { padding-bottom: 28px; gap: 20px; }
  .contact-intro h1 { margin: 14px 0 16px; font-size: clamp(34px, 9vw, 43px); }
  .contact-intro p { font-size: 14px; }
  .contact-intro-link { font-size: 12px; }
  .contact-section-heading { margin-bottom: 20px; }
  .contact-section-heading h2 { font-size: 27px; }
  .contact-section-heading p { font-size: 13px; }
  .contact-phone-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .contact-phone-card { padding: 20px; }
  .contact-phone-heading { gap: 13px; }
  .contact-phone-card h3 { font-size: 23px; }
  .contact-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 10px; }
  .contact-button { min-height: 48px; font-size: 12px; }
  .contact-facts { gap: 16px; }
  .contact-store figcaption { align-items: flex-start; flex-direction: column; gap: 8px; padding: 16px 18px; }
  .enquiry-card { padding: 24px 20px; border-radius: 14px; }
  .enquiry-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .enquiry-field.is-wide { grid-column: auto; }
  .enquiry-field input, .enquiry-field select, .enquiry-field textarea { font-size: 16px; }
  .enquiry-submit { padding: 14px 16px; font-size: 12px; }
  .enquiry-tip { padding: 14px; }
  .contact-shortcuts { margin-top: 28px; padding: 24px 20px; border-radius: 14px; }
  .contact-shortcuts h2 { font-size: 24px; }
  .contact-shortcuts nav { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .contact-phone-card h3 { font-size: 21px; }
  .contact-facts { grid-template-columns: minmax(0, 1fr); }
  .contact-phone-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-hub a, .contact-hub input, .contact-hub select, .contact-hub textarea, .contact-hub button { transition: none; }
}

footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 25px;
}

/* ================= PREMIUM LINK ARROWS ================= */
.link-arrow,
.card-arrow,
.products-list .category-footer .arrow {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary, #082f5f);
  color: #fff;
  box-shadow: 0 7px 16px rgba(8, 47, 95, 0.16);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.link-arrow::before,
.card-arrow::before,
.products-list .category-footer .arrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateX(-1px) rotate(45deg);
}

.link-arrow-small {
  width: 28px;
  height: 28px;
}

.hero-btn,
.view-all-link,
.featured-link {
  display: inline-flex !important;
  align-items: center;
  gap: 11px;
}

.hero-btn .link-arrow {
  width: 34px;
  height: 34px;
}

.hero-btn .link-arrow::before {
  width: 8px;
  height: 8px;
}

.hero-btn:hover .link-arrow,
.view-all-link:hover .link-arrow,
.home-featured-grid a:hover .link-arrow,
.fastener-category-card:hover .card-arrow,
.catalog-card:hover .card-arrow,
.products-list .category-card:hover .category-footer .arrow {
  transform: translateX(4px);
  background: #174d87;
  box-shadow: 0 9px 20px rgba(8, 47, 95, 0.24);
}

.featured-link {
  justify-content: space-between;
  width: 100%;
}

.view-all-link {
  justify-content: flex-end;
}

/* ================= REFINED LIGHT CARD ARROWS (V20) ================= */
.link-arrow,
.card-arrow,
.products-list .category-footer .arrow {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary, #082f5f);
  border: 1px solid #d7e2ef;
  box-shadow: 0 4px 12px rgba(8, 47, 95, 0.07);
}

.link-arrow::before,
.card-arrow::before,
.products-list .category-footer .arrow::before {
  width: 6px;
  height: 6px;
  border-top-width: 1.75px;
  border-right-width: 1.75px;
  transform: translateX(-1px) rotate(45deg);
}

.link-arrow-small {
  width: 27px;
  height: 27px;
}

.hero-btn .link-arrow {
  width: 30px;
  height: 30px;
}

.hero-btn:hover .link-arrow,
.view-all-link:hover .link-arrow,
.home-featured-grid a:hover .link-arrow,
.fastener-category-card:hover .card-arrow,
.catalog-card:hover .card-arrow,
.products-list .category-card:hover .category-footer .arrow {
  transform: translateX(3px);
  background: #edf4fc;
  color: var(--primary, #082f5f);
  border-color: #b9cce2;
  box-shadow: 0 6px 14px rgba(8, 47, 95, 0.11);
}

/* Keep all featured-product actions on one clean baseline. */
.home-featured-grid > a {
  display: flex;
  flex-direction: column;
}

.home-featured-grid h3 {
  min-height: 46px;
  margin-bottom: 12px;
}

.home-featured-grid .featured-link {
  width: 100%;
  margin-top: auto;
  min-height: 30px;
  align-items: center;
}

.home-featured-grid .featured-link > span:first-child,
.products-list .category-footer > span:first-child,
.card-footer > span:first-child {
  line-height: 1.2;
}

/* Make dynamic category and catalogue footers consistently aligned. */
.products-list .category-footer,
.fastener-category-card .card-footer,
.catalog-card .card-footer {
  min-height: 46px;
  align-items: center;
}

.card-footer .card-arrow {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary, #082f5f);
  border: 1px solid #d7e2ef;
}


.catalog-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* ================= DONGCHENG CATALOGUE ================= */
.catalogue-card-featured {
  border: 1px solid rgba(16, 101, 178, .24);
  background: linear-gradient(160deg, #ffffff 0%, #edf6ff 100%);
  box-shadow: 0 18px 44px rgba(12, 59, 111, .12);
}
.catalogue-card-featured .catalog-image { background: #e8f3ff; overflow: hidden; }
.catalogue-card-featured .catalog-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.catalogue-card-featured h3 { color: #075ca7; }
.catalogue-badge { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: #dceeff; color: #075ca7; font-size: 12px; font-weight: 800; }
.catalogue-viewer-page { padding: 60px max(24px, calc((100vw - 1280px)/2)) 80px; background: #f4f7fb; }
.catalogue-viewer-hero { display: grid; grid-template-columns: 350px 1fr; gap: 58px; align-items: center; padding: 44px; border-radius: 30px; background: linear-gradient(135deg,#062f63,#0871ba); color:#fff; box-shadow:0 24px 70px rgba(5,48,99,.18); }
.catalogue-viewer-cover { border-radius: 20px; overflow:hidden; box-shadow:0 22px 44px rgba(0,0,0,.25); aspect-ratio: 3/4; background:#fff; }
.catalogue-viewer-cover img { width:100%; height:100%; object-fit:cover; object-position:top; display:block; }
.catalogue-viewer-eyebrow { display:inline-flex; padding:8px 13px; border:1px solid rgba(255,255,255,.22); border-radius:999px; font-size:12px; font-weight:800; letter-spacing:.08em; }
.catalogue-viewer-intro h1 { margin:20px 0 16px; font-size:clamp(38px,5vw,64px); line-height:1.05; }
.catalogue-viewer-intro>p { max-width:720px; color:rgba(255,255,255,.82); font-size:17px; line-height:1.7; }
.catalogue-viewer-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }
.catalogue-primary-btn,.catalogue-secondary-btn { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 22px; border-radius:12px; font-weight:800; text-decoration:none; }
.catalogue-primary-btn { background:#fff; color:#073868; }
.catalogue-secondary-btn { border:1px solid rgba(255,255,255,.34); color:#fff; background:rgba(255,255,255,.06); }
.catalogue-mobile-note { margin-top:16px; font-size:13px!important; color:rgba(255,255,255,.62)!important; }
.catalogue-pdf-section { margin-top:38px; padding:28px; border-radius:24px; background:#fff; box-shadow:0 14px 40px rgba(18,50,83,.09); }
.catalogue-pdf-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:20px; }
.catalogue-pdf-heading span { color:#1476bd; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.catalogue-pdf-heading h2 { margin:4px 0 0; color:#082f5c; }
.catalogue-pdf-heading a { color:#0d65a8; font-weight:700; }
.catalogue-pdf-section iframe { width:100%; height:min(82vh,1000px); border:1px solid #dce5ef; border-radius:16px; background:#eef3f8; }
.catalogue-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.catalogue-switcher a {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid #dce6f1;
  border-radius: 16px;
  background: #fff;
  color: #173b6b;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(18,50,83,.06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.catalogue-switcher a:hover,
.catalogue-switcher a.active {
  transform: translateY(-2px);
  border-color: #7eb5e3;
  box-shadow: 0 12px 28px rgba(18,50,83,.11);
}
.catalogue-switcher a.active { background: #edf6ff; }
.catalogue-switcher img {
  width: 58px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
}
.catalogue-pdf-mobile-preview { display: none; }
.catalogue-pdf-mobile-preview[hidden] { display: none !important; }
@media(max-width:800px){
  .catalogue-viewer-page{padding:24px 16px 50px;}
  .catalogue-viewer-hero{grid-template-columns:1fr; gap:26px; padding:24px; border-radius:24px;}
  .catalogue-viewer-cover{width:min(72vw,330px); margin:auto;}
  .catalogue-viewer-intro{text-align:center;}
  .catalogue-viewer-actions{justify-content:center;}
  .catalogue-pdf-section{padding:16px; border-radius:18px;}
  .catalogue-pdf-heading{align-items:flex-start; flex-direction:column;}
  .catalogue-switcher { grid-template-columns: 1fr; gap: 10px; }
  .catalogue-switcher a { grid-template-columns: 46px minmax(0, 1fr); min-height: 62px; }
  .catalogue-switcher img { width: 46px; height: 52px; }
  .catalogue-pdf-section iframe{display:none;}
  .catalogue-pdf-mobile-preview {
    display: grid;
    grid-template-columns: minmax(100px, 38%) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid #d9e5f1;
    border-radius: 16px;
    background: linear-gradient(145deg, #f7fbff, #edf5fc);
    color: #173b6b;
    text-decoration: none;
  }
  .catalogue-preview-page {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(8,47,95,.16);
  }
  .catalogue-preview-page img { width:100%; height:100%; object-fit:cover; object-position:top; display:block; }
  .catalogue-preview-copy { display:flex; min-width:0; flex-direction:column; gap:8px; }
  .catalogue-preview-copy strong { font-size:18px; line-height:1.2; }
  .catalogue-preview-copy > span { color:#687f99; font-size:13px; }
  .catalogue-preview-copy .catalogue-preview-action { color:#1265a9; font-weight:800; }
}


/* Dongcheng catalogue placeholder */
.catalogue-coming-soon {
  min-height: 420px;
  padding: 70px 28px;
  border: 1px dashed rgba(22, 79, 139, 0.32);
  border-radius: 26px;
  background: linear-gradient(145deg, #f7fbff, #edf5fc);
  text-align: center;
}
.catalogue-coming-soon-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: #0b4e91;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 16px 35px rgba(11, 78, 145, 0.22);
}
.catalogue-coming-soon h3 {
  margin: 0 0 12px;
  color: #113b69;
  font-size: 30px;
}
.catalogue-coming-soon p {
  max-width: 680px;
  margin: 0 auto 26px;
  color: #5d7188;
  line-height: 1.7;
}
.catalogue-coming-soon code {
  padding: 3px 7px;
  border-radius: 6px;
  background: #dfeaf5;
}
.catalogue-primary-btn.is-disabled {
  opacity: .82;
}


/* CATALOGUE COVER IMAGE SAFETY */
.catalogue-card-featured .catalog-image { display:flex !important; align-items:center !important; justify-content:center !important; }
.catalogue-card-featured .catalog-image img { object-fit:contain !important; object-position:center !important; margin:auto !important; }

/* =========================================================
   Shared top-level page hero — LK Fastener design system
   Products, Projects, About and Contact use one composition.
   ========================================================= */
.page-hero {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 72px 24px 64px;
  text-align: center;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 20px;
  border: 1px solid #c9daf0;
  border-radius: 999px;
  background: #e9f1fb;
  color: #1767b4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 22px 0 18px;
  color: #173b6b;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.page-hero p {
  max-width: 900px;
  margin: 0 auto;
  color: #6e87a9;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.65;
}

/* Neutralise page-specific hero rules so the shared system wins. */
.products-hero,
.projects-hero,
.contact-hero,
.about-page-hero {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 72px 24px 64px;
  text-align: center;
}

.about-hero-text h2 {
  margin: 0 0 20px;
  color: #173b6b;
  font-size: clamp(34px, 3.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

@media (max-width: 768px) {
  .page-hero,
  .products-hero,
  .projects-hero,
  .contact-hero,
  .about-page-hero {
    padding: 46px 20px 42px;
  }

  .page-hero-badge {
    min-height: 34px;
    padding: 7px 15px;
    font-size: 11px;
  }

  .page-hero h1 {
    margin: 17px 0 13px;
    font-size: clamp(38px, 11vw, 50px);
  }

  .page-hero p {
    font-size: 16px;
    line-height: 1.55;
  }
}

/* =========================================================
   v3.3 DESIGN SYSTEM — TOP-LEVEL PAGE CONSISTENCY
   Products is the master reference for Projects, About, Contact.
   ========================================================= */
:root {
  --ds-primary: #173b6b;
  --ds-primary-strong: #0b2f5f;
  --ds-accent: #1767b4;
  --ds-surface: #ffffff;
  --ds-surface-soft: #f6f8fb;
  --ds-border: #dfe8f3;
  --ds-muted: #6e87a9;
  --ds-radius-sm: 12px;
  --ds-radius-card: 20px;
  --ds-shadow-card: 0 10px 30px rgba(15, 49, 91, 0.07);
  --ds-transition: 220ms ease;
}

/* Let the hero span consistently while keeping page content constrained. */
.products-page,
.projects-page,
.contact-page,
.about-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 24px 88px;
}

.page-hero,
.products-hero.page-hero,
.projects-hero.page-hero,
.contact-hero.page-hero,
.about-page-hero.page-hero {
  box-sizing: border-box;
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 58px;
  text-align: center;
}

.page-hero-badge,
.products-eyebrow,
.projects-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0;
  padding: 8px 20px;
  border: 1px solid #c9daf0;
  border-radius: 999px;
  background: #e9f1fb;
  color: var(--ds-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.page-hero h1,
.products-hero.page-hero h1,
.projects-hero.page-hero h1,
.contact-hero.page-hero h1,
.about-page-hero.page-hero h1 {
  margin: 22px 0 18px;
  color: var(--ds-primary);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.page-hero p,
.products-hero.page-hero p,
.projects-hero.page-hero p,
.contact-hero.page-hero p,
.about-page-hero.page-hero p {
  width: min(100%, 900px);
  max-width: 900px;
  margin: 0 auto;
  color: var(--ds-muted);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.65;
}

/* Consistent separation between hero and first content block. */
.products-list,
.projects-list,
.contact-layout,
.about-hero-bento {
  width: min(100%, 1200px);
  margin-left: auto;
  margin-right: auto;
}
.projects-list,
.contact-layout,
.about-hero-bento { margin-top: 8px; }

/* Shared card language for primary top-level content. */
.projects-card,
.contact-info-card,
.quote-card,
.products-list .category-card {
  border-color: var(--ds-border);
  border-radius: var(--ds-radius-card);
  box-shadow: var(--ds-shadow-card);
  transition: transform var(--ds-transition), box-shadow var(--ds-transition), border-color var(--ds-transition);
}

.projects-card:hover,
.products-list .category-card:hover {
  transform: translateY(-4px);
  border-color: #bfd3eb;
  box-shadow: 0 16px 38px rgba(15, 49, 91, .11);
}

/* Uniform simple footer treatment across all pages. */
body > footer,
main + footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  background: var(--ds-primary);
  color: #fff;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 768px) {
  .products-page,
  .projects-page,
  .contact-page,
  .about-page {
    padding: 0 16px 64px;
  }

  .page-hero,
  .products-hero.page-hero,
  .projects-hero.page-hero,
  .contact-hero.page-hero,
  .about-page-hero.page-hero {
    padding: 44px 12px 40px;
  }

  .page-hero-badge,
  .products-eyebrow,
  .projects-eyebrow {
    min-height: 34px;
    padding: 7px 15px;
    font-size: 11px;
  }

  .page-hero h1,
  .products-hero.page-hero h1,
  .projects-hero.page-hero h1,
  .contact-hero.page-hero h1,
  .about-page-hero.page-hero h1 {
    margin: 17px 0 13px;
    font-size: clamp(38px, 11vw, 50px);
  }

  .page-hero p,
  .products-hero.page-hero p,
  .projects-hero.page-hero p,
  .contact-hero.page-hero p,
  .about-page-hero.page-hero p {
    font-size: 16px;
    line-height: 1.55;
  }
}

/* =========================================================
   v3.3.2 — LOCKED COMPACT TOP-LEVEL HERO
   Approved reference: Products hero sizing.
   Applies identically to Products, Projects, About and Contact.
   Do not enlarge these heroes in page-specific styles.
   ========================================================= */
@media (min-width: 769px) {
  .products-page,
  .projects-page,
  .about-page,
  .contact-page {
    width: min(1500px, calc(100% - 64px));
    max-width: none;
    margin: 0 auto;
    padding: 58px 0 96px;
  }

  .page-hero,
  .products-hero.page-hero,
  .projects-hero.page-hero,
  .about-page-hero.page-hero,
  .contact-hero.page-hero {
    box-sizing: border-box;
    width: 100%;
    max-width: 860px;
    margin: 0 auto 42px;
    padding: 0;
    text-align: center;
  }

  .page-hero-badge,
  .products-eyebrow,
  .projects-eyebrow,
  .products-hero .page-hero-badge,
  .projects-hero .page-hero-badge,
  .about-page-hero .page-hero-badge,
  .contact-hero .page-hero-badge {
    display: inline-flex !important;
    width: auto !important;
    max-width: max-content !important;
    min-height: 30px;
    margin: 0 0 13px;
    padding: 6px 13px;
    border: 1px solid rgba(20, 99, 185, 0.16);
    border-radius: 999px;
    background: rgba(229, 239, 252, 0.72);
    color: #2c5d96;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .page-hero h1,
  .products-hero.page-hero h1,
  .projects-hero.page-hero h1,
  .about-page-hero.page-hero h1,
  .contact-hero.page-hero h1 {
    margin: 0 0 12px;
    color: #173b6b;
    font-size: clamp(42px, 3vw, 54px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.035em;
  }

  .page-hero p,
  .products-hero.page-hero p,
  .projects-hero.page-hero p,
  .about-page-hero.page-hero p,
  .contact-hero.page-hero p {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    color: #63748c;
    font-size: 16px;
    line-height: 1.65;
  }
}

@media (max-width: 768px) {
  .products-page,
  .projects-page,
  .about-page,
  .contact-page {
    padding-top: 0;
  }

  .page-hero,
  .products-hero.page-hero,
  .projects-hero.page-hero,
  .about-page-hero.page-hero,
  .contact-hero.page-hero {
    width: 100%;
    max-width: 680px;
    margin: 0 auto 30px;
    padding: 38px 16px 30px;
    text-align: center;
  }

  .page-hero-badge,
  .products-eyebrow,
  .projects-eyebrow,
  .products-hero .page-hero-badge,
  .projects-hero .page-hero-badge,
  .about-page-hero .page-hero-badge,
  .contact-hero .page-hero-badge {
    display: inline-flex !important;
    width: auto !important;
    max-width: max-content !important;
    min-height: 28px;
    margin: 0 0 12px;
    padding: 6px 12px;
    font-size: 10px;
  }

  .page-hero h1,
  .products-hero.page-hero h1,
  .projects-hero.page-hero h1,
  .about-page-hero.page-hero h1,
  .contact-hero.page-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.08;
  }

  .page-hero p,
  .products-hero.page-hero p,
  .projects-hero.page-hero p,
  .about-page-hero.page-hero p,
  .contact-hero.page-hero p {
    max-width: 620px;
    font-size: 15px;
    line-height: 1.55;
  }
}

/* Product comparison controls stay separate from each product's navigation link. */
.lk-compare-card-shell { position: relative; display: flex; min-width: 0; align-items: stretch; }
.lk-compare-card-shell > a.product-card { flex: 1 1 auto; min-width: 0; }
.lk-compare-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; padding: 8px 10px; border: 1px solid #d4e0ea; border-radius: 8px; background: #fff; color: #345b7d; font: inherit; font-size: 11px; font-weight: 600; line-height: 1.4; cursor: pointer; box-shadow: 0 2px 8px rgba(20, 50, 80, .06); }
.lk-compare-toggle-icon { font-size: 19px; line-height: 1; }
.lk-compare-toggle[aria-pressed="true"] { border-color: #9bcfb6; background: #eaf8f0; color: #087440; }
.lk-compare-toggle:hover { border-color: #94b0ca; background: #f2f7fb; }
.lk-compare-toggle[aria-pressed="true"]:hover { border-color: #67b78e; background: #ddf3e6; }
.lk-compare-card-toggle { position: absolute; top: 20px; right: 20px; z-index: 2; }
.lk-compare-detail-wrap { margin-top: 14px; }
.lk-compare-detail { box-shadow: none; padding-inline: 12px; font-size: 12px; }
.lk-compare-detail-wrap[hidden], .lk-compare-tray[hidden] { display: none !important; }
.lk-compare-toggle:focus-visible, .lk-compare-tray button:focus-visible, .lk-compare-dialog :is(button, a, summary, [tabindex]):focus-visible { outline: 3px solid #2674ae; outline-offset: 3px; }
.lk-compare-sr-only, .lk-compare-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body.lk-has-comparison { padding-bottom: 100px; }
.lk-compare-tray { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 900; display: flex; align-items: center; gap: 12px; width: min(850px, calc(100% - 180px)); min-height: 66px; padding: 10px 12px 10px 18px; border: 1px solid #ccdae6; border-radius: 12px; background: rgba(255, 255, 255, .98); color: #123f73; box-shadow: 0 8px 38px rgba(12, 40, 66, .18); transform: translateX(-50%); box-sizing: border-box; }
.lk-compare-tray-copy { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; min-width: 0; }
.lk-compare-tray-copy > strong { font-size: 12px; font-weight: 700; }
.lk-compare-tray-names { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.lk-compare-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 190px; padding-left: 7px; border-radius: 5px; background: #edf3f8; color: #526780; font-size: 10px; line-height: 1.5; }
.lk-compare-chip > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-compare-chip-remove { flex: 0 0 auto; display: grid; place-items: center; width: 28px; min-height: 28px; padding: 0; border: 0; background: transparent; color: #345b7d; font: inherit; font-size: 19px; cursor: pointer; }
.lk-compare-open-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 8px; background: #123f73; color: #fff; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.lk-compare-open-button:hover:not(:disabled) { background: #0b315c; }
.lk-compare-open-button:disabled { background: #e8eef4; color: #65758a; cursor: default; }
.lk-compare-clear, .lk-compare-close { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #dce6f0; border-radius: 8px; background: #fff; color: #345b7d; font: inherit; font-size: 25px; line-height: 1; cursor: pointer; }
.lk-compare-clear:hover, .lk-compare-close:hover { background: #edf3f8; }
body.lk-compare-open { overflow: hidden; }
.lk-compare-dialog { position: fixed; inset: 0; width: min(1080px, calc(100vw - 32px)); max-width: none; max-height: min(850px, calc(100dvh - 32px)); margin: auto; padding: 0; overflow: hidden; border: 1px solid #dce6f0; border-radius: 16px; background: #fff; color: #123f73; box-shadow: 0 24px 90px rgba(8, 30, 52, .28); box-sizing: border-box; z-index: 11000; }
.lk-compare-dialog[open] { display: flex; flex-direction: column; }
.lk-compare-dialog::backdrop { background: rgba(8, 27, 47, .62); }
.lk-compare-dialog-heading { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; border-bottom: 1px solid #dce6f0; }
.lk-compare-dialog-heading h2 { margin: 0 0 5px; color: #123f73; font-size: 23px; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.lk-compare-dialog-heading p { max-width: 670px; margin: 0; color: #65758a; font-size: 12px; line-height: 1.6; }
.lk-compare-scroll { flex: 1 1 auto; min-height: 0; max-width: 100%; overflow: auto; overscroll-behavior: contain; }
.lk-compare-table { width: 100%; min-width: calc(140px + var(--compare-columns, 2) * 200px); border-collapse: separate; border-spacing: 0; table-layout: fixed; text-align: left; font-size: 12px; line-height: 1.6; }
.lk-compare-label-col { width: 140px; }
.lk-compare-table th, .lk-compare-table td { padding: 16px; vertical-align: top; border: 0; border-right: 1px solid #e7edf3; border-bottom: 1px solid #e7edf3; color: #345b7d; overflow-wrap: anywhere; box-sizing: border-box; }
.lk-compare-table tr > :last-child { border-right: 0; }
.lk-compare-table thead th { position: sticky; top: 0; z-index: 2; background: #fff; font-weight: 600; }
.lk-compare-table .lk-compare-corner { left: 0; z-index: 4; padding-top: 24px; background: #f3f7fb; font-size: 11px; }
.lk-compare-table .lk-compare-row-label { position: sticky; left: 0; z-index: 1; background: #f3f7fb; color: #526780; font-size: 11px; font-weight: 600; }
.lk-compare-product-heading { padding-top: 34px !important; }
.lk-compare-dialog .lk-compare-photo { display: block; width: 110px; height: 88px; max-width: 100%; margin: 0 auto 10px; padding: 0; object-fit: contain; border: 0; border-radius: 0; background: #fff; box-shadow: none; transform: none; }
.lk-compare-product-link { display: flex; align-items: center; min-height: 44px; color: #123f73; font-size: 14px; font-weight: 700; line-height: 1.45; text-decoration: none; }
.lk-compare-product-link:hover { text-decoration: underline; }
.lk-compare-product-remove { position: absolute; top: 4px; right: 5px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: #f1f5f9; color: #526780; font: inherit; font-size: 22px; cursor: pointer; }
.lk-compare-values { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lk-compare-unlisted { color: #8090a0; font-size: 11px; }
.lk-compare-size-details > summary { display: flex; align-items: center; min-height: 44px; color: #1e5d8d; font-size: 12px; font-weight: 600; cursor: pointer; }
.lk-compare-size-details[open] > summary { margin-bottom: 8px; }
@media (max-width: 768px) {
  body.lk-has-comparison { --mobile-action-offset: 88px; padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .lk-compare-tray { width: calc(100% - 20px); min-height: 66px; gap: 8px; padding: 10px; }
  .lk-compare-tray-names { display: none; }
  .lk-compare-chip-remove { width: 44px; min-height: 44px; }
  .lk-compare-tray-copy > strong { font-size: 11px; line-height: 1.5; }
  .lk-compare-open-button { padding-inline: 12px; font-size: 11px; }
  .lk-compare-card-toggle { top: 14px; right: 14px; padding-inline: 7px; font-size: 10px; }
}
@media (max-width: 600px) {
  .lk-compare-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  .lk-compare-dialog-heading { padding: 14px 12px; gap: 10px; align-items: flex-start; }
  .lk-compare-dialog-heading h2 { font-size: 19px; }
  .lk-compare-dialog-heading p { font-size: 10px; }
  .lk-compare-table { min-width: calc(88px + var(--compare-columns, 2) * 164px); font-size: 12px; }
  .lk-compare-label-col { width: 88px; }
  .lk-compare-table th, .lk-compare-table td { padding: 10px 8px; }
  .lk-compare-table .lk-compare-row-label, .lk-compare-table .lk-compare-corner { padding-inline: 6px; font-size: 10px; }
  .lk-compare-dialog .lk-compare-photo { width: 72px; height: 72px; margin-bottom: 8px; }
  .lk-compare-product-link { font-size: 12px; line-height: 1.4; }
  .lk-compare-product-remove { width: 44px; height: 44px; }
  .lk-compare-product-heading { padding-top: 48px !important; }
  .lk-compare-size-details > summary { font-size: 11px; line-height: 1.5; }
}
@media (max-width: 480px) {
  .lk-compare-card-toggle { width: 44px; min-width: 44px; padding: 0; }
  .lk-compare-card-toggle .lk-compare-toggle-label { display: none; }
  .lk-compare-card-toggle .lk-compare-toggle-icon { font-size: 22px; }
}

/* Research guidance leads; the shop's listed specifications remain underneath. */
.lk-compare-dialog-heading .lk-compare-scroll-hint { display: none; }
.lk-compare-table .lk-compare-section-label { padding-block: 10px; background: #edf3f8; color: #123f73; font-size: 12px; font-weight: 600; }
.lk-compare-guidance { margin: 0; color: #345b7d; font-size: 13px; font-weight: 400; line-height: 1.7; }
.lk-compare-listed-difference .lk-compare-row-label { box-shadow: inset 3px 0 #20a563; }
@media (max-width: 768px) {
  .lk-compare-guidance { font-size: 12px; line-height: 1.65; }
}
@media (max-width: 600px) {
  .lk-compare-dialog-heading .lk-compare-scroll-hint { display: block; margin-top: 6px; color: #176a43; }
}

/* Keep the Z275 screw-cap artwork at 70% of its previous displayed size. */
:root body img:is(
  [src$="/z275-galvanized-metal-cap.png"],
  [data-original-src$="/z275-galvanized-metal-cap.png"]
):not(.product-card .catalog-image img) {
  scale: .7 !important;
  transform-origin: center !important;
}

/* Scale the fitted photograph around its box centre without changing its
   existing crop/centering matrix or the size of the surrounding card. */
:root .category-browser #categoryProducts .product-card .catalog-image img:is(
  [src$="/z275-galvanized-metal-cap.png"],
  [data-original-src$="/z275-galvanized-metal-cap.png"]
) {
  scale: none !important;
  transform-origin: 0 0 !important;
  transform: translate(15%, 15%) scale(.7) var(--card-image-transform, matrix(1, 0, 0, 1, 0, 0)) !important;
}

/* Outline icons inherit the link colour and never use a device emoji font. */
.lk-direction-icon {
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  vertical-align: -.2em;
  color: inherit;
  pointer-events: none;
}
