/* ═════════════════════════════════════════════════════════════════════════════
   Eswatini Melamine Industries · Premium Catalogue Stylesheet
   Dark theme · Glassmorphism · Animated gradient · Flag-color accents
   ═════════════════════════════════════════════════════════════════════════════ */

/* ─── Fonts ─────────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
  /* Premium dark base (Option A — original) */
  --bg-base:       #050810;
  --bg-deep:       #0A0F1E;
  --bg-card:       #0F1626;
  --bg-elevated:   #141C30;

  /* Grid background line color — overridden in light theme */
  --grid-line:     rgba(255,255,255,0.045);

  /* Rich gold accent */
  --gold:          #D4AF37;
  --gold-bright:   #F4D575;
  --gold-deep:     #A0832A;

  /* Eswatini flag colours (kept for the logo) */
  --flag-blue:     #3E5EB9;
  --flag-red:      #C8102E;
  --flag-yellow:   #F4C430;

  /* Subtle accent tones used in the shader */
  --amber-warm:    #E8A53D;
  --teal-shadow:   #0F3640;
  --navy-deep:     #0A1A40;

  --text:          #FFFFFF;
  --text-muted:    rgba(255,255,255,0.62);
  --text-dim:      rgba(255,255,255,0.42);

  --border:        rgba(255,255,255,0.08);
  --border-soft:   rgba(255,255,255,0.05);
  --border-hover:  rgba(212,175,55,0.35);

  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    22px;

  --shadow-glow:  0 12px 60px rgba(212,175,55,0.18);
  --shadow-card:  0 18px 50px rgba(0,0,0,0.55);
  --shadow-deep:  0 28px 80px rgba(0,0,0,0.7);

  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --transition:   0.36s var(--ease);

  --font-head:    'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Aliases — back-compat for rules that referenced the old palette names */
:root {
  --turquoise:        var(--gold);
  --turquoise-bright: var(--gold-bright);
  --turquoise-deep:   var(--gold-deep);
  --ivory:            var(--text);
  --ivory-bright:     var(--text);
  --ivory-deep:       var(--text-muted);
}

/* ════════════════════════════════════════════════════════════════════════════


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

html {
  scroll-behavior: smooth;
  /* Header is 76px — anchor targets land flush against the bottom of the header */
  scroll-padding-top: 76px;
}

/* Note: filter-bar is position:sticky with top:76px, so the html
   scroll-padding-top:76px alone is enough. Adding scroll-margin-top to a
   sticky element double-counts and overshoots. Apply margin only to
   non-sticky anchor targets. */
#features,
#contact,
.features-banner,
footer {
  scroll-margin-top: 76px;
}

body {
  background-color: var(--bg-base);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ════════════════════════════════════════════════════════════════════════════
   Background — flat, clean, premium dark. No shader. No gradients.
   This is what Linear, Apple's dark pages, and Stripe's docs actually do.
   ════════════════════════════════════════════════════════════════════════════ */
.gradient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg-base);
}

/* Kill the previous shader layers — clean flat background */
.gradient-bg::before,
.gradient-bg::after,
.gradient-bg .blob,
.gradient-bg .blob-2 {
  display: none;
}

/* ════════════════════════════════════════════════════════════════════════════
   Glass utility
   ════════════════════════════════════════════════════════════════════════════ */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
}

.glass-btn {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}
.glass-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════════════════════
   Header (Glassmorphism)
   ════════════════════════════════════════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-soft);
  transition: all var(--transition);
}

header.scrolled {
  background: rgba(5, 8, 16, 0.85);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* ─── Logo (waving flag on left, extends behind ALL of "Esw") ──────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  text-decoration: none;
  position: relative;
}

/* Plate-stack logo mark — premium dinnerware brand mark */
.logo-mark {
  width: 64px;
  height: 58px;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.55));
  transition: transform var(--transition);
}

.logo-mark:hover {
  transform: scale(1.05);
}

.logo-mark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-mark-footer { width: 56px; height: 51px; }
.logo-mark-footer:hover { transform: none; }

.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--text);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.logo-text-main { display: inline; }

/* "Esw" stands out clearly against any flag stripe (blue/yellow/red).
   White letters + thick multi-layer dark shadow for high contrast. */
.logo-text-esw {
  display: inline;
  color: #FFFFFF;
  font-weight: 900;
  letter-spacing: -0.4px;
  text-shadow:
    0 0 1px  rgba(0,0,0,1),
    0 1px 2px rgba(0,0,0,0.9),
    0 2px 8px rgba(0,0,0,0.8),
    0 0 14px  rgba(0,0,0,0.5);
}

/* "Industries" subtitle in gold — matches the brand accent */
.logo-text-sub {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-top: 4px;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.7),
    0 0 6px  rgba(0,0,0,0.4);
}

/* ─── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 10px;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

/* ─── Header buttons ──────────────────────────────────────────────────────── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.btn-icon:hover {
  background: rgba(212,175,55,0.12);
  color: var(--gold);
  border-color: var(--border-hover);
}

.btn-primary {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: #0A0A0A;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  padding: 11px 22px;
  border-radius: 11px;
  border: 1px solid rgba(212,175,55,0.5);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(212,175,55,0.30);
}

.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212,175,55,0.45);
}

/* ════════════════════════════════════════════════════════════════════════════
   Hero
   ════════════════════════════════════════════════════════════════════════════ */
.hero {
  margin-top: 76px;
  position: relative;
  padding: 100px 32px 100px;
  overflow: hidden;
}

/* hero-grid-line removed — was producing the faint square blocks */

.hero-inner {
  max-width: 1340px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.hero-content { max-width: 640px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(76, 175, 80, 0.10);
  border: 1px solid rgba(76, 175, 80, 0.30);
  backdrop-filter: blur(20px);
  border-radius: 40px;
  padding: 7px 18px 7px 12px;
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 12px #4CAF50;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.7); }
}

.hero-eyebrow span:not(.hero-eyebrow-dot) {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #6FE07A;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.8px;
  color: var(--text);
  margin-bottom: 14px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub-headline {
  font-family: var(--font-head);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 22px;
  letter-spacing: 0.2px;
}

.hero p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  padding: 15px 30px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-hero-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  color: #0A0A0A;
  box-shadow: 0 10px 30px rgba(212,175,55,0.30);
  border: 1px solid rgba(212,175,55,0.5);
}

.btn-hero-gold:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(212,175,55,0.45);
}

.btn-hero-outline {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 30px;
  text-align: center;
  min-width: 180px;
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════════════════════
   Features Banner (replaces old About section)
   ════════════════════════════════════════════════════════════════════════════ */
.features-banner {
  padding: 50px 32px;
  position: relative;
  z-index: 2;
}

.features-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  text-align: center;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.feature-item:hover {
  background: rgba(212,175,55,0.06);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,175,55,0.16), rgba(212,175,55,0.04));
  border: 1px solid rgba(212,175,55,0.25);
  color: var(--gold-bright);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-label {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
  line-height: 1.3;
}

/* ════════════════════════════════════════════════════════════════════════════
   Filter Bar
   ════════════════════════════════════════════════════════════════════════════ */
.filter-bar {
  background: rgba(10, 15, 30, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top:    1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 76px;
  z-index: 90;
  /* Smooth slide-up when user scrolls past the product section */
  transition: transform 0.4s var(--ease), opacity 0.3s ease, box-shadow var(--transition);
  will-change: transform;
}

.filter-bar.filter-bar-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

.filter-bar.stuck {
  box-shadow: 0 4px 28px rgba(0,0,0,0.4);
}

.filter-bar-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 40px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn .pill-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  padding: 2px 8px;
  border-radius: 20px;
  color: var(--text-muted);
}

.filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  border-color: var(--gold);
  color: #0A0A0A;
  box-shadow: 0 4px 18px rgba(212,175,55,0.30);
}

.filter-btn.active .pill-count {
  background: rgba(0,0,0,0.2);
  color: #0A0A0A;
}

/* Search */
.search-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box svg {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  pointer-events: none;
}

#searchInput {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 11px 18px 11px 40px;
  width: 240px;
  outline: none;
  transition: all var(--transition);
}

#searchInput::placeholder { color: var(--text-dim); }

#searchInput:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
  width: 280px;
}

.product-count {
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
}

.product-count strong {
  color: var(--text);
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════════════════════
   Product Grid
   ════════════════════════════════════════════════════════════════════════════ */
.catalogue-section {
  max-width: 1340px;
  margin: 0 auto;
  padding: 22px 32px 100px;
  position: relative;
  z-index: 1;
}

#productGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ─── Product Card ─────────────────────────────────────────────────────────── */
.product-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-deep), 0 0 40px rgba(212,175,55,0.10);
}

/* Card image (multi-image gallery) */
.card-image {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--azure-2) 0%, var(--teal-deep) 100%);
}

.card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.08), transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.image-stack {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease, transform var(--transition);
}

.product-img.active { opacity: 0.95; }

.product-card:hover .product-img.active {
  transform: scale(1.05);
  opacity: 1;
}

/* Prev / Next arrows — appear on hover, cycle through images */
.img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 30, 0.65);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  z-index: 4;
  transition: opacity var(--transition), background var(--transition), transform var(--transition);
  padding: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}

.img-nav svg { width: 16px; height: 16px; }

.img-prev { left: 10px; }
.img-next { right: 10px; }

.product-card:hover .img-nav {
  opacity: 1;
}

.img-nav:hover {
  background: rgba(212,175,55,0.95);
  color: #0A0A0A;
  border-color: var(--gold-bright);
  transform: translateY(-50%) scale(1.08);
}

.img-nav:active {
  transform: translateY(-50%) scale(0.95);
}

/* "n / total" image counter — top-right, glassy pill */
.image-counter {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 4px 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  pointer-events: none;
}

.image-counter-cur { color: var(--gold-bright); }

/* Pagination dots for image gallery */
.image-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  padding: 4px 8px;
  background: rgba(0,0,0,0.40);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.10);
  max-width: calc(100% - 28px);
  flex-wrap: wrap;
  justify-content: center;
}

/* Compact mode kicks in when there are 11+ images: smaller dots, tighter gap */
.image-dots-compact {
  padding: 3px 6px;
  gap: 3px;
}
.image-dots-compact .dot {
  width: 5px;
  height: 5px;
}
.image-dots-compact .dot.active {
  width: 12px;
}

.image-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.40);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.image-dots .dot.active {
  background: var(--gold-bright);
  width: 18px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(212,175,55,0.6);
}

.image-dots .dot:hover:not(.active) {
  background: rgba(255,255,255,0.65);
  transform: scale(1.2);
}

/* Badges */
.category-tag {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(212,175,55,0.30);
  backdrop-filter: blur(8px);
  padding: 5px 11px;
  border-radius: 6px;
  z-index: 2;
}

.badge-featured {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #0A0A0A;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  padding: 5px 11px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(212,175,55,0.4);
}

/* Card body */
.card-body {
  padding: 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-name {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.model-no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gold-bright);
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}

.product-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Specs */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

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

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

.specs-table td {
  padding: 6px 0;
  font-size: 12.5px;
  line-height: 1.4;
  vertical-align: top;
}

.specs-table td:first-child {
  color: var(--text-dim);
  font-weight: 500;
  width: 45%;
  padding-right: 8px;
}

.specs-table td:last-child {
  color: var(--text);
  font-weight: 500;
}

/* Colors */
.colors-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.colors-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  white-space: nowrap;
}

.swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  padding: 0;
  position: relative;
}

.swatch:hover {
  transform: scale(1.18);
  border-color: var(--turquoise);
  z-index: 2;
}

.swatch.active {
  border-color: var(--turquoise-bright);
  box-shadow:
    0 0 0 2px rgba(45,212,191,0.35),
    0 2px 10px rgba(45,212,191,0.45);
  transform: scale(1.12);
}

/* Price */
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: -4px;
}

.price-currency {
  font-size: 14px;
  color: var(--gold-bright);
  font-weight: 600;
}

.price-amount {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.price-tag-na {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
  font-style: italic;
}

/* CTA */
.btn-enquire {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  border-radius: 11px;
  padding: 12px 16px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}

.btn-enquire:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #0A0A0A;
  border-color: var(--gold);
  gap: 12px;
}

/* View Details text link on product cards */
.btn-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  padding: 5px 0;
  border-radius: 8px;
  transition: color var(--transition), gap var(--transition);
  margin-top: 2px;
}
.btn-details:hover {
  color: var(--gold-bright);
  gap: 8px;
}

/* ─── No Results ───────────────────────────────────────────────────────────── */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 90px 20px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.no-results p { font-size: 15px; }

.btn-clear {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: #0A0A0A;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-clear:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.4);
}

/* ════════════════════════════════════════════════════════════════════════════
   Enquiry Modal
   ════════════════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.75);
  backdrop-filter: blur(14px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: linear-gradient(135deg, rgba(20,28,48,0.95), rgba(15,22,38,0.95));
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-deep);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  font-size: 18px;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255,255,255,0.10);
  color: var(--text);
}

.modal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--gold);
  margin-bottom: 8px;
}

.modal-box h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}

.modal-model-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold-bright);
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 26px;
  letter-spacing: 0.5px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 15px;
  outline: none;
  transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
  background: rgba(255,255,255,0.07);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23D4AF37' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath d='m6 9 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: #0F1626;
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 86px;
}

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

.btn-submit {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: #0A0A0A;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  border: 1px solid rgba(212,175,55,0.5);
  padding: 14px;
  border-radius: 11px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(212,175,55,0.30);
}

.btn-submit:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(212,175,55,0.45);
}

/* ════════════════════════════════════════════════════════════════════════════
   Footer
   ════════════════════════════════════════════════════════════════════════════ */
footer {
  background: rgba(5, 8, 16, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  padding: 64px 32px 36px;
  position: relative;
  z-index: 2;
}

.footer-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 52px;
}

.footer-brand .logo { margin-bottom: 18px; }

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul li a {
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--gold-bright); }

.footer-bottom {
  max-width: 1340px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--text-dim);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-badge {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  padding: 5px 11px;
  border-radius: 6px;
  letter-spacing: 0.4px;
}

/* Made in Eswatini round stamp — sits with the other footer badges */
.made-in-eswatini {
  margin-left: 10px;
  opacity: 0.92;
  transition: transform var(--transition), opacity var(--transition);
  cursor: default;
}

.made-in-eswatini:hover {
  opacity: 1;
  transform: scale(1.04) rotate(-3deg);
}

.made-in-eswatini svg {
  display: block;
}

/* ════════════════════════════════════════════════════════════════════════════
   Image Lightbox (click product photo → full-size view)
   ════════════════════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(5, 8, 16, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox[hidden] { display: none; }
.lightbox.open    { opacity: 1; pointer-events: all; }

.lb-content {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}

.lightbox.open .lb-content { transform: scale(1); }

#lbImage {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.08);
}

.lb-caption {
  text-align: center;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.lb-product-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.lb-product-code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-bright);
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 3px 9px;
  border-radius: 6px;
}

.lb-counter {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-dim);
}

.lb-view-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #0A0A0A;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.lb-view-details:hover { transform: translateY(-1px); opacity: 0.9; }

.lb-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.lb-close:hover {
  background: rgba(255,255,255,0.16);
  transform: scale(1.05);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
  padding: 0;
}

.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: 28px; }
.lb-next { right: 28px; }

.lb-nav:hover {
  background: var(--gold-bright);
  color: #0A0A0A;
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}

/* Hide nav when there's only one image */
.lightbox[data-count="1"] .lb-nav,
.lightbox[data-count="1"] .lb-counter { display: none; }

/* Click cursor on product images */
.product-img { cursor: zoom-in; }

@media (max-width: 700px) {
  .lightbox { padding: 20px; }
  .lb-nav { width: 42px; height: 42px; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-close { top: 14px; right: 14px; width: 38px; height: 38px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   WhatsApp Floating Button
   ════════════════════════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 150;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4), 0 4px 12px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: all var(--transition);
  animation: floatPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 40px rgba(37,211,102,0.6), 0 6px 16px rgba(0,0,0,0.4);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  color: white;
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.4), 0 4px 12px rgba(0,0,0,0.3), 0 0 0 0 rgba(37,211,102,0.6); }
  50%      { box-shadow: 0 10px 30px rgba(37,211,102,0.4), 0 4px 12px rgba(0,0,0,0.3), 0 0 0 14px rgba(37,211,102,0); }
}

/* ════════════════════════════════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  #productGrid     { grid-template-columns: repeat(3, 1fr); }
  .features-inner  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .hero-stats      { flex-direction: row; }
  .footer-inner    { grid-template-columns: 1fr 1fr; gap: 36px; }
  .features-inner  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  #productGrid     { grid-template-columns: repeat(2, 1fr); }
  .hero-inner      { flex-direction: column; align-items: flex-start; }
  .hero-stats      { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .features-inner  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .header-inner       { padding: 0 12px; gap: 8px; height: 68px; }
  nav                 { display: none; }
  .logo-text          { font-size: 13px; }
  .logo-text-sub      { font-size: 9px; letter-spacing: 1.8px; }
  .logo-mark          { width: 44px; height: 40px; }
  .btn-primary        { font-size: 12px; padding: 9px 14px; }
  .btn-icon           { width: 36px; height: 36px; }
  .hero               { padding: 60px 16px 56px; margin-top: 68px; }
  .filter-bar-inner   { padding: 14px 16px; }
  .catalogue-section  { padding: 22px 16px 70px; }
  #productGrid        { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr; gap: 30px; padding: 0 16px; }
  footer              { padding: 50px 16px 30px; }
  .form-row           { grid-template-columns: 1fr; }
  #searchInput        { width: 180px; }
  #searchInput:focus  { width: 200px; }
  .hero-stats         { gap: 10px; }
  .stat-card          { padding: 16px 22px; min-width: 130px; }
  .features-inner     { grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; }
  .feature-label      { font-size: 11px; }
  .whatsapp-float     { bottom: 18px; right: 18px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .modal-box          { padding: 28px 22px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Product Detail Page  (/product.html?code=P27)
   ════════════════════════════════════════════════════════════════════════════ */
.product-detail-page {
  margin-top: 76px;
  padding: 0 32px 100px;
  min-height: calc(100vh - 76px);
}

.pd-breadcrumb {
  max-width: 1340px;
  margin: 0 auto;
  padding: 28px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
}

.pd-breadcrumb a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition);
}
.pd-breadcrumb a:hover { color: var(--gold); }
.pd-breadcrumb-sep { opacity: 0.3; }

.pd-layout {
  max-width: 1340px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

/* Gallery */
.pd-main-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}

.pd-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.pd-main-img-wrap .lb-nav {
  opacity: 0;
  transition: opacity var(--transition), background var(--transition), transform var(--transition);
}

.pd-main-img-wrap:hover .lb-nav { opacity: 1; }

.pd-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
}

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

.pd-thumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.4);
}

.pd-thumb:hover:not(.active) {
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}

/* Product info panel */
.pd-category-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.pd-name {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 12px;
}

.pd-code {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-bright);
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 22px;
}

.pd-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 0;
}

.pd-divider {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 24px 0;
}

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

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

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

.pd-specs-table td {
  padding: 11px 0;
  font-size: 14px;
  vertical-align: top;
}

.pd-specs-table td:first-child {
  color: var(--text-dim);
  font-weight: 500;
  width: 42%;
}

.pd-specs-table td:last-child {
  color: var(--text);
  font-weight: 600;
}

.pd-colors {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pd-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-actions .btn-hero {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-wa-share {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 30px;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(37,211,102,0.08);
  color: #25D366;
  border: 1px solid rgba(37,211,102,0.28);
  text-decoration: none;
}

.btn-wa-share:hover {
  background: rgba(37,211,102,0.16);
  border-color: rgba(37,211,102,0.55);
  transform: translateY(-1px);
}

/* Product detail responsive */
@media (max-width: 960px) {
  .pd-layout { grid-template-columns: 1fr; gap: 36px; }
  .product-detail-page { padding: 0 24px 80px; }
}

@media (max-width: 600px) {
  .product-detail-page { padding: 0 16px 60px; }
  .pd-thumbs { gap: 8px; }
  .pd-thumb { width: 64px; height: 48px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Print stylesheet  — Ctrl+P produces a clean black-and-white product sheet
   ════════════════════════════════════════════════════════════════════════════ */
@media print {
  /* Force white page */
  *, *::before, *::after {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    border-color: #ddd !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #111 !important;
  }

  body { font-size: 11pt; line-height: 1.5; }

  /* Hide chrome */
  header, .filter-bar, .whatsapp-float,
  .modal-overlay, .lightbox,
  .hero-eyebrow, .hero-cta-row,
  .btn-enquire, .btn-details, .btn-hero,
  .btn-wa-share, .pd-actions,
  .features-banner, nav,
  .header-actions, .img-nav, .lb-nav,
  .footer-col, .footer-bottom,
  .made-in-eswatini { display: none !important; }

  /* Show the product grid without sticky bars */
  .catalogue-section {
    padding: 0 !important;
    margin-top: 0 !important;
  }

  #productGrid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }

  .product-card {
    break-inside: avoid;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    page-break-inside: avoid;
  }

  .card-image { height: 140px !important; }

  .product-img.active { opacity: 1 !important; }

  /* Product detail page */
  .pd-layout {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }

  .pd-main-img-wrap { aspect-ratio: 4/3; }

  /* Header: just show the logo text */
  .logo-mark { display: none !important; }
  .logo-text  { display: flex !important; }

  /* Footer brand only */
  footer { padding: 16px 0 !important; }
  .footer-brand { display: block !important; }
  .footer-brand p { font-size: 9pt !important; color: #555 !important; }
  .footer-inner { grid-template-columns: 1fr !important; gap: 8px !important; }

  /* Page breaks */
  .product-detail-page { margin-top: 0 !important; }
  h1, h2, h3 { page-break-after: avoid; }
}
