/* ==========================================================================
   KINTEX - AUTHENTIC BRAND DESIGN SYSTEM (PARITY WITH KINTEX.COM.MY)
   Heading Font: "Outfit", sans-serif (Weights: 500, 600, 700)
   Body/Nav Font: "Inter", sans-serif (Weights: 400, 500, 600)
   Brand Red: #EC1F27 (--e-global-color-149e253)
   Brand Blue: #105BAB (--e-global-color-8ff1751)
   Top Bar Charcoal: #262A2B
   Footer Textured Surface: #F4F4F4 (Cotton Texture + #FFFFFF Overlay)
   Footer Bottom Bar: #1F1F1F
   Headings: #000000 | Body: #54595F / #7A7A7A
   Sharp Square Corners: border-radius: 0px
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Core Colors */
  --primary: #105BAB;          /* Kintex Corporate Blue */
  --primary-dark: #0a192f;     /* Midnight Slate */
  --primary-light: #105BAB;    /* Kintex Blue */
  
  --brand-red: #EC1F27;        /* Authentic Kintex Signature Red */
  --brand-red-hover: #c4141b;  /* Darker Red */
  --brand-red-light: rgba(236, 31, 39, 0.08);
  
  --brand-blue: #105BAB;       /* Authentic Kintex Corporate Blue */
  --brand-blue-hover: #0c4889; /* Darker Corporate Blue */
  --brand-blue-light: rgba(16, 91, 171, 0.08);

  --accent: #EC1F27;           /* Primary Accent = Kintex Red */
  --accent-hover: #c4141b;
  --accent-light: rgba(236, 31, 39, 0.1);
  --accent-glow: rgba(236, 31, 39, 0.25);
  
  --blue-accent: #105BAB;
  --blue-light: #eff6ff;

  --text-main: #000000;        /* Pure Black (Elementor primary) */
  --text-heading: #000000;     /* Outfit Headings */
  --text-muted: #54595F;       /* Slate/Charcoal Body (Elementor secondary) */
  --text-light: #7A7A7A;       /* Text Muted (Elementor text) */
  --text-inverse: #ffffff;
  
  --topbar-bg: #262A2B;        /* Authentic Top Bar Charcoal */
  --footer-bg: #F4F4F4;        /* Authentic Light Textured Footer */
  --footer-bottom-bg: #1F1F1F; /* Authentic Footer Bottom Strip */

  --bg-body: #ffffff;
  --bg-alt: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  
  --border-color: #D8D8D8;     /* Authentic Kintex Divider Color */
  --border-subtle: #e5e7eb;
  --border-focus: #EC1F27;
  
  /* Sharp industrial rectangular aesthetics */
  --radius-xs: 0px;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-xl: 0px;
  --radius-full: 0px;
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-red: 0 8px 24px -4px rgba(236, 31, 39, 0.35);

  --header-height: 80px;
  --topbar-height: 45px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  color: var(--text-muted);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-boxed {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------ Top Utility Bar (Exact Match: #262A2B, 45px) ------------------ */
.kintex-topbar {
  background-color: var(--topbar-bg);
  color: #ffffff;
  font-size: 13px;
  font-family: var(--font-sans);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}

.kintex-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 13px;
}

.topbar-link:hover {
  color: var(--brand-red);
}

.topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  width: 32px;
  height: 32px;
  transition: var(--transition);
}

.topbar-social:hover {
  background-color: var(--brand-red);
  color: #ffffff;
}

/* ------------------ Authentic Sticky Navbar (Exact Match: 80px, #FFFFFF, Blue Hover) ------------------ */
.kintex-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  z-index: 999;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.kintex-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: stretch;
  height: var(--header-height);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-item.has-megamenu {
  position: static;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s, color 0.2s;
  cursor: pointer;
}

/* Authentic Live Site Hover Effect: Corporate Blue Background + White Text */
.nav-link:hover, 
.nav-item:hover > .nav-link,
.nav-link.active {
  background-color: var(--brand-blue);
  color: #ffffff !important;
}

/* Standard Dropdown */
.nav-dropdown {
  position: absolute;
  top: var(--header-height);
  left: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  list-style: none;
  z-index: 1000;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 11px 22px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: #000000;
  transition: background-color 0.15s, color 0.15s;
}

.nav-dropdown li a:hover {
  background-color: #f8fafc;
  color: var(--brand-blue);
}

/* ==========================================================================
   AUTHENTIC DESKTOP MEGA MENU (40% IMAGE / 60% CORPORATE BLUE + WATERMARK)
   ========================================================================== */
.kintex-megamenu-panel {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  background: #105BAB;
  border-top: 3px solid var(--brand-red);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  z-index: 1000;
  overflow: hidden;
}

@media (min-width: 1025px) {
  .nav-item.has-megamenu:hover .kintex-megamenu-panel {
    display: grid;
    grid-template-columns: 38% 62%;
    animation: megaMenuFadeIn 0.22s ease forwards;
  }
}

@keyframes megaMenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.megamenu-image-col {
  position: relative;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.megamenu-image-col::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.1) 0%, rgba(16,91,171,0.2) 100%);
}

.megamenu-content-col {
  background-color: #105BAB;
  padding: 34px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Authentic Watermark Logo */
.megamenu-content-col::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 220px;
  height: 180px;
  background: url('https://www.kintex.com.my/wp-content/uploads/2022/09/Kintex-logo-1.png') no-repeat right bottom / contain;
  opacity: 0.08;
  pointer-events: none;
}

.megamenu-heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.megamenu-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.megamenu-links-single {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.megamenu-link {
  color: #FFFFFF !important;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s, padding-left 0.2s, color 0.2s;
}

.megamenu-link i {
  font-size: 11px;
  opacity: 0.7;
  color: #FFFFFF;
}

.megamenu-link:hover {
  transform: translateX(6px);
  padding-left: 4px;
  color: #FFFFFF !important;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.megamenu-link:hover i {
  color: #FFFFFF;
  opacity: 1;
}

.megamenu-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: var(--brand-red);
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 9px 20px;
  text-decoration: none;
  align-self: flex-start;
  transition: background-color 0.2s;
  position: relative;
  z-index: 2;
}

.megamenu-cta-btn:hover {
  background: var(--brand-red-hover);
  color: #FFFFFF !important;
}

/* ==========================================================================
   AUTHENTIC SIGNATURE PAGE HEADER (LIGHT TEXTURED BG, SOLID BLUE BLOCK,
   WHITE BORDERED SUBTITLE, RIGHT FEATURED PHOTO)
   ========================================================================== */
.kintex-signature-header-wrap {
  background-color: #F8F9FA;
  background-image: radial-gradient(#D1D5DB 1px, transparent 1px);
  background-size: 16px 16px;
  border-bottom: 1px solid #E5E7EB;
  padding: 36px 0;
}

.kintex-signature-header {
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: stretch;
  min-height: 280px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
  overflow: hidden;
}

.header-blue-col {
  background-color: #105BAB;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

/* Corporate Blue Watermark */
.header-blue-col::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 140px;
  height: 140px;
  background: url('https://www.kintex.com.my/wp-content/uploads/2022/09/Kintex-logo-1.png') no-repeat right bottom / contain;
  opacity: 0.08;
  pointer-events: none;
}

.header-blue-col .header-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin: 0 0 16px;
}

.header-blue-col .header-subtitle-box {
  display: inline-block;
  border: 2px solid #FFFFFF;
  padding: 10px 18px;
  margin-top: 4px;
  max-width: 100%;
}

.header-blue-col .header-subtitle {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.header-blue-col .header-extra-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 14px;
  margin-bottom: 0;
}

.header-image-col {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  min-height: 280px;
}

.header-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .kintex-signature-header {
    grid-template-columns: 1fr;
  }
  .header-blue-col {
    padding: 32px 24px;
  }
  .header-image-col {
    min-height: 220px;
    max-height: 280px;
  }
}


/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 20px;
  color: #000000;
  cursor: pointer;
  padding: 8px;
}

#mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 2px solid var(--brand-blue);
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 998;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

#mobile-nav-drawer.active {
  display: block !important;
}

/* ------------------ Authentic Buttons (Square Corners 0px, Matching post-16.css) ------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 0px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-red);
  color: #ffffff;
}

.btn-red {
  background: var(--brand-red);
  color: #ffffff;
}

.btn-red:hover {
  background: var(--brand-red-hover);
  color: #ffffff;
}

.btn-dark {
  background: #000000;
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--brand-red);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #000000;
  border: 1px solid #000000;
}

.btn-outline:hover {
  background: #000000;
  color: #ffffff;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: #000000;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #1ebc57;
  color: #ffffff;
}

/* ------------------ Hero Section (Red & Blue Theme) ------------------ */
.hero-wrapper {
  position: relative;
  background: linear-gradient(135deg, #0a192f 0%, #0f2c59 55%, #1e3a8a 100%);
  color: #ffffff;
  padding: 85px 0 100px;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(211, 35, 42, 0.25) 0%, rgba(211, 35, 42, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(211, 35, 42, 0.2);
  border: 1px solid rgba(211, 35, 42, 0.4);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  color: #ff7b7b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title span.red {
  color: #ff5252;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-number span {
  color: #ff5252;
}

.hero-stat-label {
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 500;
}

.hero-card-stack {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 14px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xl);
}

.hero-card-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(10, 25, 47, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  color: #ffffff;
  max-width: 280px;
  box-shadow: var(--shadow-lg);
}

.hero-floating-badge h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ff5252;
  margin-bottom: 4px;
}

.hero-floating-badge p {
  font-size: 12px;
  color: #cbd5e1;
  margin: 0;
}

/* ------------------ Section Styles ------------------ */
.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 40px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ------------------ Interactive Material Finder ------------------ */
.material-finder-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px 36px;
  margin-top: -45px;
  position: relative;
  z-index: 10;
}

.finder-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 18px;
  align-items: flex-end;
}

.finder-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 6px;
}

.finder-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 14.5px;
  font-weight: 500;
  outline: none;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.finder-select:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 44, 89, 0.1);
}

/* ------------------ Category Grid (Showroom) ------------------ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: block;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.category-card-thumb {
  position: relative;
  padding-bottom: 80%;
  overflow: hidden;
}

.category-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-card-thumb img {
  transform: scale(1.06);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 47, 0.1) 0%, rgba(10, 25, 47, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #ffffff;
}

.category-count-pill {
  align-self: flex-start;
  background: var(--brand-red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 4px;
}

.category-card-cta {
  font-size: 13px;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: var(--transition);
}

.category-card:hover .category-card-cta {
  color: #ff7b7b;
  transform: translateX(4px);
}

/* ------------------ Product Cards (Luxury Catalog) ------------------ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card-thumb-wrap {
  position: relative;
  padding-bottom: 100%;
  background: var(--bg-alt);
  overflow: hidden;
}

.product-card-thumb {
  position: absolute;
  inset: 0;
  display: block;
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-thumb img {
  transform: scale(1.05);
}

.product-shade-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 44, 89, 0.9);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.product-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-category {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card-sku {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 14px;
}

.product-card-swatches {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
}

.swatch-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-size: cover;
  background-position: center;
}

.swatch-more-dot {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-left: 2px;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.btn-card-action {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-card-action:hover {
  color: var(--brand-red);
}

/* ------------------ Product Detail Page ------------------ */
.pdp-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: flex-start;
  margin-top: 24px;
}

.pdp-gallery-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 95px;
}

.pdp-main-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pdp-main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.pdp-thumbs-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.pdp-thumb-item {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-alt);
  flex-shrink: 0;
  transition: var(--transition);
}

.pdp-thumb-item:hover, .pdp-thumb-item.active {
  border-color: var(--brand-red);
}

.pdp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pdp-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.15;
}

.pdp-sku-badge {
  display: inline-block;
  background: var(--bg-subtle);
  color: #475569;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 20px;
}

.pdp-summary {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 28px;
}

.swatches-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.swatches-header-title {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.swatches-active-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-red);
}

.swatches-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 8px;
  margin-bottom: 28px;
  max-height: 260px;
  overflow-y: auto;
  padding: 2px;
}

.swatch-button {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-color);
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.swatch-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swatch-button:hover {
  transform: scale(1.06);
  border-color: var(--brand-red);
  z-index: 2;
}

.swatch-button.active {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(211, 35, 42, 0.25);
  transform: scale(1.05);
  z-index: 3;
}

.pdp-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pdp-actions-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
}

.pdp-specs-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 20px;
}

.pdp-specs-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.pdp-specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.pdp-specs-table tr:last-child {
  border-bottom: none;
}

.pdp-specs-table th {
  text-align: left;
  padding: 9px 0;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  width: 40%;
}

.pdp-specs-table td {
  text-align: right;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--text-main);
  font-weight: 600;
}

/* ------------------ Search Modal Overlay ------------------ */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 24px;
}

.search-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.search-modal-box {
  width: 100%;
  max-width: 660px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(-15px);
  transition: transform 0.2s ease;
}

.search-modal-backdrop.active .search-modal-box {
  transform: translateY(0);
}

.search-input-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-input-header i {
  font-size: 18px;
  color: var(--brand-red);
}

.search-input-header input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-main);
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 10px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}

.search-result-item:hover {
  background: var(--bg-alt);
}

.search-result-item img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background: var(--bg-subtle);
}

.search-result-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-main);
}

.search-result-meta {
  font-size: 12px;
  color: #64748b;
}

/* ------------------ Blog Article Styles ------------------ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.blog-card-thumb {
  position: relative;
  padding-bottom: 58%;
  background: var(--bg-subtle);
  overflow: hidden;
}

.blog-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-card-excerpt {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-link {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card-link:hover {
  color: var(--brand-red);
}

/* ------------------ Timeline (Company Profile) ------------------ */
.timeline-wrapper {
  position: relative;
  max-width: 820px;
  margin: 50px auto 0;
  padding: 20px 0;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 50%;
  padding: 0 36px;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-red);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--brand-red);
}

.timeline-item.left .timeline-dot {
  right: -8px;
}

.timeline-item.right .timeline-dot {
  left: -8px;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-content-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  max-width: 340px;
}

.timeline-content-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.timeline-content-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
}

/* ------------------ Authentic Kintex Footer (Exact Match: post-95.css) ------------------ */
.kintex-footer {
  position: relative;
  background-color: #F4F4F4;
  background-image: url("https://www.kintex.com.my/wp-content/uploads/2023/02/gray-color-cotton-texture-surface-background-1.jpg");
  background-position: center center;
  background-size: cover;
  padding: 70px 0 65px;
  overflow: hidden;
}

.kintex-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FFFFFF;
  opacity: 0.89;
  z-index: 1;
}

.kintex-footer .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1fr;
  gap: 45px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  background: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.footer-social-link:hover {
  background: #ffffff;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 22px;
}

.footer-links-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-list li {
  margin-bottom: 9px;
}

.footer-links-list a {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: #000000;
  transition: color 0.2s;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--brand-red);
}

.footer-link-highlight {
  font-weight: 700 !important;
  color: var(--brand-red) !important;
}

/* Authentic Bottom Bar: Dark Charcoal #1F1F1F */
.kintex-footer-bottom-bar {
  background-color: var(--footer-bottom-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  padding: 16px 0;
}

.kintex-footer-bottom-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: #ffffff;
}

.kintex-footer-bottom-bar a {
  color: #ffffff;
  text-decoration: none;
}

.kintex-footer-bottom-bar a:hover {
  color: var(--brand-red);
}

/* ------------------ Mobile Responsiveness ------------------ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pdp-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .kintex-topbar {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-search-trigger span {
    display: none;
  }
  .finder-form-grid {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .timeline-wrapper::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 45px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-dot {
    left: 12px !important;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .pdp-actions-row {
    grid-template-columns: 1fr;
  }
}
