/* ============================================================
   TCMS — The Complete Machinery Store
   Stylesheet v2 — modern CSS, mobile-first
   ============================================================ */

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

:root {
  /* Palette */
  --black:         #FFFFFF;
  --bg:            #FFFFFF;
  --dark:          #F4F7FC;
  --panel:         #EBF0FB;
  --panel2:        #DDE6F7;
  --border:        rgba(13,71,161,0.12);
  --border2:       rgba(13,71,161,0.25);
  --gold:          #0D47A1;
  --gold-light:    #1565C0;
  --gold-dim:      rgba(13,71,161,0.08);
  --orange:        #E65100;
  --orange-light:  #F57C00;
  --red:           #C62828;
  --green:         #2E7D32;
  --text:          #212121;
  --muted:         #546E7A;
  --faint:         #90A4AE;
  --wa-green:      #25D366;
  --accent-yellow: #FFD54F;

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* Shape */
  --radius:      4px;
  --radius-lg:   8px;
  --radius-xl:   16px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm:     0 1px 6px  rgba(13,71,161,0.07);
  --shadow-md:     0 4px 16px rgba(13,71,161,0.10);
  --shadow-lg:     0 8px 32px rgba(13,71,161,0.13);
  --shadow-orange: 0 4px 16px rgba(230,81,0,0.18);
  --shadow-drawer: -4px 0 24px rgba(0,0,0,0.12);

  /* Motion */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur:      180ms;
  --dur-slow: 300ms;

  /* Z-index */
  --z-sticky:  200;
  --z-overlay: 300;
  --z-drawer:  301;
  --z-sheet:   311;
  --z-toast:   500;
  --z-loader:  2000;
}

/* ── GLOBAL BASE ── */
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--radius);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── PAGE SHELL (inner-scroll — fixes iOS Chrome bottom nav snap-back) ── */
html:has(.page-shell) { height: 100%; overflow: hidden; }
body:has(.page-shell) { height: 100%; overflow: hidden; }
.page-shell { display: flex; flex-direction: column; height: 100%; }
.page-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* ── TAB PANELS ── */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── VIEW ALL ROW ── */
.view-all-row { padding: 20px 0 8px; text-align: center; }
.view-all-row .btn { width: 100%; justify-content: center; }

/* ── TOPBAR ── */
.topbar {
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: var(--font-mono);
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 60px;
}
.logo-wrap { display: flex; flex-direction: column; gap: 1px; min-width: 0; overflow: hidden; }
.logo-top { font-family: var(--font-display); font-size: 20px; letter-spacing: 2px; color: var(--gold); line-height: 1; }
.logo-bottom { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-sub { font-size: 9px; color: var(--faint); font-family: var(--font-mono); letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-right { display: flex; gap: 4px; align-items: center; flex-shrink: 0; }
.icon-btn {
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 9px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  position: relative;
  min-width: 44px;
  min-height: 44px;
}
.icon-btn:hover { color: var(--gold); border-color: var(--border2); background: var(--panel); }
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--red); color: white;
  font-size: 9px; font-weight: 600;
  width: 15px; height: 15px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  transform-origin: center;
}
.cart-badge.on { display: flex; }

/* ── HERO ── */
.hero {
  min-height: 54vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 20px 52px;
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 35%, #0A3880 70%, #1A237E 100%);
  background-size: 300% 300%;
  animation: hero-shift 14s ease infinite;
  position: relative;
  overflow: hidden;
  text-align: center;
}
@keyframes hero-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 90%, rgba(255,255,255,0.03) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  position: relative;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: rgba(255,255,255,0.4); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 10vw, 80px);
  letter-spacing: 2px; line-height: 0.95; color: #FFFFFF;
  text-transform: uppercase; position: relative; margin-bottom: 16px;
}
.hero h1 em { color: var(--accent-yellow); font-style: normal; display: block; }
.hero-desc {
  font-size: 14px; color: rgba(255,255,255,0.8);
  max-width: 420px; margin: 0 auto 28px; line-height: 1.7; position: relative;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; justify-content: center; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  text-decoration: none; letter-spacing: 0.3px;
  min-height: 44px;
}
.btn-gold { background: var(--orange); color: #FFFFFF; border-color: var(--orange); }
.btn-gold:hover { background: var(--orange-light); border-color: var(--orange-light); box-shadow: var(--shadow-orange); }
.btn-outline { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #FFFFFF; }
.btn-outline-blue { background: transparent; color: var(--gold); border: 1px solid var(--border2); }
.btn-outline-blue:hover { background: var(--panel); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.btn:active { transform: scale(0.97); }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--panel);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr;
}
.stat-item {
  padding: 20px 16px; text-align: center;
  border-right: 1px solid var(--border2); border-bottom: 1px solid var(--border2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.stat-item:nth-child(2n) { border-right: none; }
.stat-item:nth-last-child(-n+2) { border-bottom: none; }
@media (min-width: 600px) {
  .stats-strip { grid-template-columns: repeat(4, 1fr); }
  .stat-item { border-bottom: none; border-right: 1px solid var(--border2); }
  .stat-item:nth-child(2n) { border-right: 1px solid var(--border2); }
  .stat-item:last-child { border-right: none; }
}
.stat-num { font-family: var(--font-display); font-size: clamp(18px, 4vw, 30px); color: var(--gold); letter-spacing: 0.5px; line-height: 1; }
.stat-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; font-family: var(--font-mono); line-height: 1.4; }

/* ── SECTION ── */
section { padding: 56px 20px; }
.sec-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.sec-label::before { content: '//'; opacity: 0.5; }
.sec-title { font-family: var(--font-display); font-size: clamp(28px, 6vw, 42px); letter-spacing: 1px; text-transform: uppercase; line-height: 1.1; margin-bottom: 6px; }
.sec-sub { color: var(--muted); font-size: 14px; max-width: 480px; margin-bottom: 32px; }

/* ── MSP HERO SECTION ── */
.msp-section {
  background: var(--panel);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.msp-section::before {
  content: 'CARBIDE'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 120px; color: rgba(26,62,114,0.05);
  white-space: nowrap; pointer-events: none; letter-spacing: 8px;
}
.msp-badge { display: inline-block; background: var(--gold); color: var(--black); font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 2px; padding: 5px 12px; border-radius: 2px; margin-bottom: 16px; text-transform: uppercase; }
.msp-title { font-family: var(--font-display); font-size: clamp(30px, 7vw, 54px); letter-spacing: 1px; line-height: 1.05; margin-bottom: 14px; }
.msp-title span { color: var(--gold); }
.msp-desc { color: var(--muted); font-size: 14px; max-width: 420px; margin-bottom: 28px; line-height: 1.8; }
.msp-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.msp-spec { background: var(--panel2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.msp-spec-key { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.msp-spec-val { font-size: 14px; font-weight: 500; color: var(--text); margin-top: 2px; }

/* ── CATEGORY TABS ── */
.cat-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; padding-bottom: 2px; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0; padding: 8px 18px; border-radius: 2px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  cursor: pointer; border: 1px solid var(--border2);
  background: transparent; color: var(--muted);
  font-family: var(--font-mono); text-transform: uppercase;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap; min-height: 36px;
}
.cat-tab.active, .cat-tab:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ── PRODUCT GRID ── */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pcard {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative;
}
.pcard:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pcard-img {
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  font-size: 44px; background: #fff; position: relative; overflow: hidden;
}
.pcard-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; display: block;
  transition: transform var(--dur-slow) var(--ease);
}
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: 2px; text-transform: uppercase; letter-spacing: 1px;
}
.badge-gold  { background: var(--gold); color: var(--black); }
.badge-red   { background: var(--red); color: white; }
.badge-green { background: #2A8A4A; color: white; }
.pcard-body { padding: 12px; }
.pcard-brand { font-family: var(--font-mono); font-size: 10px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 3px; }
.pcard-name { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.35; margin-bottom: 6px; }
/* product card variant pills */
.pcard-variants { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.pcard-v-pill {
  font-size: 10px; padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border2);
  color: var(--muted); cursor: pointer;
  background: var(--black);
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  user-select: none;
}
.pcard-v-pill.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.pcard-v-pill:hover:not(.active) { border-color: var(--orange); color: var(--orange); }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard-foot > div:first-child { flex: 1; min-width: 0; }
.pcard-price { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--gold); }
.pcard-add {
  background: var(--orange); border: none; color: #FFFFFF;
  padding: 7px 11px; border-radius: 4px; font-size: 12px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 4px;
  white-space: nowrap; flex-shrink: 0;
  transition: background var(--dur) var(--ease), transform 120ms var(--ease);
  min-height: 36px;
}
.pcard-add:hover { background: var(--orange-light); }
.pcard-add:active { transform: scale(0.9); }
.pcard-stepper { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.pcard-stepper .qty-btn { width: 26px; height: 26px; font-size: 14px; }
.pcard-stepper .qty-n { font-family: var(--font-mono); font-size: 12px; min-width: 16px; text-align: center; }
.pcard-gst { font-size: 10px; color: var(--faint); margin-top: 3px; font-family: var(--font-mono); }

@keyframes badge-pop   { 0%{transform:scale(1)} 50%{transform:scale(1.7)} 100%{transform:scale(1)} }
@keyframes badge-flash { 0%{transform:scale(1)} 20%{transform:scale(2)}   80%{transform:scale(1.4)} 100%{transform:scale(1)} }
.cart-badge.badge-pop   { animation: badge-pop   0.3s cubic-bezier(.36,.07,.19,.97) forwards; }
.cart-badge.badge-flash { animation: badge-flash 0.5s cubic-bezier(.36,.07,.19,.97) forwards; }

/* ── BRANDS ── */
/* ── Featured brand cards (top 3) ─────────────────────────────────── */
.brand-featured-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
  padding-top: 8px;
}
@media (max-width: 900px) { .brand-featured-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .brand-featured-row { grid-template-columns: 1fr; } }
.brand-featured-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border2); background: var(--panel);
  position: relative; overflow: hidden;
  touch-action: manipulation; user-select: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}
.brand-featured-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--bfa, var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.26s ease;
}
.brand-featured-card:hover {
  border-color: var(--bfa, var(--gold));
  box-shadow: 0 10px 32px rgba(0,0,0,0.11), 0 2px 8px rgba(0,0,0,0.05);
  transform: translateY(-4px);
}
.brand-featured-card:hover::before { transform: scaleX(1); }
.brand-featured-card:active { transform: translateY(-2px) scale(0.99); transition-duration: 0.08s; }

.brand-fi {
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px; letter-spacing: 1px;
  color: #fff; flex-shrink: 0; overflow: hidden;
  border: 1px solid var(--border);
  background: #fff; padding: 5px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.brand-fi img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-fi-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.brand-fi-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; }
.brand-fi-meta { font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); letter-spacing: 0.4px; line-height: 1.4; }
.brand-fi-arrow {
  font-size: 15px; color: var(--muted); flex-shrink: 0;
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.brand-featured-card:hover .brand-fi-arrow { opacity: 1; transform: translateX(0); }
@media (hover: none) {
  .brand-featured-card.scroll-active {
    border-color: var(--bfa, var(--gold));
    box-shadow: 0 8px 28px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.05);
    transform: translateY(-4px);
  }
  .brand-featured-card.scroll-active::before { transform: scaleX(1); }
  .brand-featured-card.scroll-active .brand-fi-arrow { opacity: 1; transform: translateX(0); }
}

/* ── More brands logo wall ─────────────────────────────────────────── */
.brand-also-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.brand-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 10px 12px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); cursor: pointer;
  touch-action: manipulation; user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}
.brand-tile:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.brand-tile:active { transform: scale(0.96); transition-duration: 0.08s; }
.brand-tile-logo {
  width: 100%; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.brand-tile-logo img {
  max-width: 88px; max-height: 36px;
  width: auto; height: auto;
  object-fit: contain; display: block;
  transition: opacity 0.2s ease;
}
.brand-tile:hover .brand-tile-logo img { opacity: 1; }
.brand-tile-name {
  font-family: var(--font-mono); font-size: 9.5px;
  color: var(--muted); letter-spacing: 0.3px;
  text-align: center; line-height: 1.35;
}

/* ── NO RETURN BANNER ── */
.policy-banner {
  background: var(--panel2); border: 1px solid var(--border);
  border-left: 3px solid var(--red); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 28px; display: flex; gap: 12px; align-items: flex-start;
}
.policy-icon {
  flex-shrink: 0; margin-top: 1px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-mono); font-size: 13px; line-height: 1;
}
.policy-text { font-size: 12px; color: var(--muted); line-height: 1.6; }
.policy-text strong { color: var(--text); font-size: 13px; display: block; margin-bottom: 2px; }

/* ── TRUST GRID ── */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.trust-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 18px 16px;
  border-top: 2px solid var(--gold);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.trust-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-icon { font-size: 26px; margin-bottom: 10px; }
.trust-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.trust-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }
@media (min-width: 540px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── CONTACT ── */
.contact-section { background: var(--panel); border-top: 1px solid var(--border); }
.contact-card { background: var(--panel2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: none; }
.contact-label { font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; min-width: 70px; margin-top: 2px; }
.contact-val { font-size: 14px; color: var(--text); }
.contact-val a { color: var(--gold); text-decoration: none; }

/* ── CART DRAWER ── */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: var(--z-overlay); display: none; backdrop-filter: blur(2px); }
.overlay.on { display: block; }
.cart-drawer {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: 92%; max-width: 360px;
  background: var(--dark); border-left: 1px solid var(--border);
  box-shadow: var(--shadow-drawer);
  z-index: var(--z-drawer);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease);
  display: flex; flex-direction: column;
}
.cart-drawer.on { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.cart-head h2 { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; }
.close-btn {
  background: none; border: 1px solid var(--border2); color: var(--muted);
  width: 36px; height: 36px; border-radius: 4px; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.close-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty-state { text-align: center; padding: 48px 20px; }
.cart-empty-state div { font-size: 48px; margin-bottom: 12px; }
.cart-empty-state p { color: var(--muted); font-size: 13px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ci-img {
  width: 52px; height: 52px; background: var(--panel2); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  flex-shrink: 0; position: relative; overflow: hidden;
}
.ci-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius); }
.ci-info { flex: 1; }
.ci-brand { font-family: var(--font-mono); font-size: 10px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.ci-name { font-size: 13px; font-weight: 500; margin: 2px 0 8px; }
.ci-row { display: flex; align-items: center; gap: 10px; }
.ci-price { font-family: var(--font-mono); font-size: 14px; color: var(--gold); }
.qty-btn {
  background: var(--panel2); border: 1px solid var(--border); color: var(--text);
  width: 32px; height: 32px; border-radius: 4px; cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur) var(--ease);
}
.qty-btn:hover { border-color: var(--gold); }
.qty-n { font-family: var(--font-mono); font-size: 13px; min-width: 18px; text-align: center; }
.del-btn { margin-left: auto; background: none; border: none; color: var(--faint); cursor: pointer; font-size: 16px; padding: 4px; transition: color var(--dur) var(--ease); }
.del-btn:hover { color: var(--red); }
.cart-foot { padding: 16px 20px; border-top: 1px solid var(--border); }
.cart-note { background: var(--panel2); border: 1px solid var(--border); border-left: 2px solid var(--red); border-radius: var(--radius); padding: 8px 12px; font-size: 11px; color: var(--muted); margin-bottom: 14px; font-family: var(--font-mono); }
.cart-total-row { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.cart-total-row span:last-child { font-family: var(--font-mono); color: var(--gold); }
.gstin-input {
  width: 100%; background: var(--panel2); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-family: var(--font-mono); font-size: 12px; padding: 10px 12px; outline: none;
  transition: border-color var(--dur) var(--ease); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 1px;
}
.gstin-input:focus { border-color: var(--gold); }
.gstin-input::placeholder { color: var(--faint); text-transform: none; letter-spacing: 0; }
.checkout-btn {
  width: 100%; background: var(--orange); color: #FFFFFF; border: none;
  padding: 15px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  cursor: pointer; letter-spacing: 0.5px;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 48px;
}
.checkout-btn:hover { background: var(--orange-light); box-shadow: var(--shadow-orange); }

/* ── CHECKOUT LOADER ── */
.checkout-loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  background: rgba(245,247,250,0.92); backdrop-filter: blur(6px);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.checkout-loader.on { display: flex; }
.checkout-spinner { width: 38px; height: 38px; border: 2px solid var(--border2); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.checkout-loader-text { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }

/* ── DETAIL SHEETS (product + machine) ── */
.sheet-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75);
  z-index: 310; backdrop-filter: blur(2px); touch-action: none;
}
.sheet-overlay.on { display: block; }
.detail-sheet {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-sheet);
  background: var(--dark); border-top: 1px solid var(--border2);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 92vh; overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform var(--dur-slow) var(--ease);
}
.detail-sheet.on { transform: translateY(0); }
.sheet-handle-bar {
  width: 100%; height: 28px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sheet-handle-bar::after {
  content: ''; display: block; width: 40px; height: 4px;
  background: rgba(255,255,255,0.2); border-radius: 2px;
}
.sheet-close-btn {
  position: absolute; top: 10px; right: 14px;
  background: var(--panel2); border: 1px solid var(--border2); color: var(--muted);
  width: 32px; height: 32px; border-radius: 50%; font-size: 13px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.sheet-close-btn:hover { border-color: var(--gold); color: var(--gold); }
.detail-sheet-body {
  padding: 16px 16px 32px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  flex: 1; min-height: 0;
}

/* gallery */
.dsheet-gallery { margin-bottom: 14px; }
.dsheet-main-img {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  overflow: hidden; background: #fff; position: relative;
}
.dsheet-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; box-sizing: border-box; display: block; }
.dsheet-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.dsheet-thumbs::-webkit-scrollbar { display: none; }
.dsheet-thumb {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: var(--radius);
  overflow: hidden; border: 2px solid transparent; cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}
.dsheet-thumb.active { border-color: var(--gold); }
.dsheet-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dsheet-video-section { margin-bottom: 14px; }
.dsheet-video-label {
  font-family: var(--font-mono); font-size: 10px; color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px;
}
.dsheet-video-wrap {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg);
  overflow: hidden; background: #000;
}
.dsheet-video-wrap iframe { width: 100%; height: 100%; display: block; border: none; }
.dsheet-emoji { font-size: 72px; text-align: center; padding: 24px 0 12px; background: var(--panel2); border-radius: var(--radius-lg); margin-bottom: 14px; }
.dsheet-icon-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 120px; background: var(--panel2); border-radius: var(--radius-lg); color: var(--gold); margin-bottom: 14px;
}
.dsheet-icon-placeholder svg { width: 52px; height: 52px; }

/* sheet info */
.dsheet-brand { font-family: var(--font-mono); font-size: 10px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.dsheet-name  { font-size: 20px; font-weight: 600; line-height: 1.25; margin-bottom: 6px; }
.pcard-badge-pill { display: inline-block; font-family: var(--font-mono); font-size: 9px; font-weight: 600; padding: 3px 8px; border-radius: 2px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.dsheet-price { font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--gold); margin: 8px 0; }
.dsheet-gst   { font-size: 13px; font-weight: 400; color: var(--muted); }
.dsheet-desc  { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 10px 0 14px; }
.dsheet-specs { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin: 12px 0 16px; }
.dsheet-spec-row { display: flex; padding: 9px 14px; border-bottom: 1px solid var(--border); }
.dsheet-spec-row:last-child { border-bottom: none; }
.dsheet-spec-k { font-family: var(--font-mono); font-size: 11px; color: var(--muted); min-width: 110px; }
.dsheet-spec-v { font-size: 13px; font-weight: 500; flex: 1; }

/* sheet cart control */
.dsheet-cart-row { margin-top: 16px; }
.btn-sheet-add {
  width: 100%; background: var(--orange); color: #FFFFFF; border: none;
  padding: 15px; border-radius: var(--radius); font-family: var(--font-body);
  font-size: 15px; font-weight: 700; cursor: pointer; letter-spacing: 0.5px;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 48px;
}
.btn-sheet-add:hover { background: var(--orange-light); box-shadow: var(--shadow-orange); }
.btn-sheet-oos {
  display: block; width: 100%; padding: 15px;
  background: var(--panel2); color: var(--muted); border: 1px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-mono); font-size: 13px;
  font-weight: 600; letter-spacing: 1px; text-align: center; text-transform: uppercase; cursor: default;
}
.dsheet-stepper { justify-content: center; gap: 20px; }
.dsheet-stepper .qty-btn { width: 42px; height: 42px; font-size: 18px; }
.dsheet-stepper .qty-n   { font-size: 18px; min-width: 32px; }
.pcard-oos { opacity: 0.7; }
.pcard-oos-overlay {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.65); color: #fff;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px; pointer-events: none;
}
.pcard-oos-label { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }

/* ── SHOP BROWSE — subcategory sections ── */
.pcat-browse { display: flex; flex-direction: column; gap: 36px; }
.pcat-section { }
.pcat-section-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pcat-section-header-left { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.pcat-section-title { font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcat-section-count { font-family: var(--font-mono); font-size: 10px; color: var(--muted); flex-shrink: 0; }
/* ── SEE ALL BUTTON — shared base ── */
.pcat-section-see-all {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.4px; white-space: nowrap; cursor: pointer;
  border-radius: var(--radius-pill);
  transition:
    background   var(--dur) var(--ease),
    color        var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow   var(--dur) var(--ease),
    transform    var(--dur) var(--ease);
}
.pcat-section-see-all:focus-visible {
  outline: 3px solid rgba(13,71,161,0.35); outline-offset: 3px;
}
.pcat-section-see-all:active { transform: scale(0.95) !important; box-shadow: none !important; }
.pcat-section-see-all .arr {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}
.pcat-section-see-all:hover .arr { transform: translateX(3px); }

/* Desktop pill (inside section header) */
.pcat-section-see-all-desktop {
  display: none;
  color: var(--gold); background: var(--gold-dim);
  border: 1.5px solid var(--gold);
  padding: 5px 12px 5px 14px; flex-shrink: 0;
}
.pcat-section-see-all-desktop:hover {
  background: var(--gold); color: #fff;
  box-shadow: 0 3px 12px rgba(13,71,161,0.22);
  transform: translateY(-1px);
}

/* Mobile full-width (below product row) */
.pcat-section-see-all-mobile {
  display: flex; justify-content: center;
  width: 100%; margin-top: 12px;
  color: var(--gold); background: var(--gold-dim);
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius-lg);
  padding: 10px 16px; font-size: 12px;
}
.pcat-section-see-all-mobile:hover,
.pcat-section-see-all-mobile:active {
  background: var(--gold); color: #fff; border-style: solid;
}

.pcat-section-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 540px) { .pcat-section-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .pcat-section-row { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); } }

@media (min-width: 540px) {
  .pcat-section-see-all-desktop { display: inline-flex; }
  .pcat-section-see-all-mobile  { display: none; }
}

/* ── SHOP SEARCH BAR + FILTER BUBBLES ── */
.pshop-sticky-area {
  position: -webkit-sticky;
  position: sticky;
  top: 60px;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.pshop-search-bar { margin-bottom: 0; padding: 8px 0 0; }
.pshop-filters { padding-left: 0; padding-right: 0; margin-bottom: 0; padding-bottom: 8px; }

/* ── SHOP DRILL-DOWN header ── */
.pcat-cat-header { display: flex; align-items: center; gap: 14px; padding: 10px 0 16px; border-bottom: 1px solid var(--border); margin-bottom: 20px; flex-wrap: wrap; }
.pcat-cat-back { display: flex; align-items: center; gap: 5px; background: none; border: none; color: var(--gold); font-family: var(--font-mono); font-size: 12px; cursor: pointer; padding: 0; flex-shrink: 0; }
.pcat-cat-back:hover { text-decoration: underline; }
.pcat-cat-title { font-size: 17px; font-weight: 600; color: var(--text); }
.pcat-cat-count { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

.dsheet-actions { display: flex; gap: 10px; margin-top: 16px; }
.dsheet-actions .mcard-quote-btn,
.dsheet-actions .mcard-call-btn { flex: 1; }

/* ── ACCOUNT DRAWER ── */
.account-drawer {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: 92%; max-width: 320px;
  background: var(--dark); border-left: 1px solid var(--border);
  box-shadow: var(--shadow-drawer);
  z-index: var(--z-drawer);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease);
  display: flex; flex-direction: column;
}
.account-drawer.on { transform: translateX(0); }
.adrawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.adrawer-user {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 14px 16px;
}
.adrawer-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-dim); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px; color: var(--gold); flex-shrink: 0;
}
.adrawer-email { font-size: 13px; font-weight: 500; word-break: break-all; }
.adrawer-role { font-size: 10px; color: var(--muted); font-family: var(--font-mono); margin-top: 2px; }
.adrawer-link {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 10px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 48px;
}
.adrawer-link:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.adrawer-signout {
  width: 100%; padding: 11px;
  background: none; border: 1px solid var(--border2); border-radius: var(--radius);
  color: var(--muted); font-family: var(--font-body); font-size: 13px; cursor: pointer; margin-top: 12px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  min-height: 44px;
}
.adrawer-signout:hover { border-color: var(--red); color: var(--red); }
.adrawer-title { font-family: var(--font-display); font-size: 20px; letter-spacing: 1px; margin-bottom: 6px; }
.adrawer-sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.adrawer-err { font-size: 12px; color: #E87060; min-height: 16px; margin-bottom: 8px; font-family: var(--font-mono); }
.adrawer-field { margin-bottom: 12px; }
.adrawer-field label { display: block; font-size: 10px; font-family: var(--font-mono); letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.adrawer-field input {
  width: 100%; background: var(--panel); border: 1px solid var(--border2); border-radius: var(--radius);
  padding: 10px 12px; color: var(--text); font-family: var(--font-body); font-size: 14px;
  transition: border-color var(--dur) var(--ease);
  min-height: 44px;
}
.adrawer-field input:focus { outline: none; border-color: var(--gold); }
.adrawer-btn {
  width: 100%; padding: 13px;
  background: var(--gold); color: var(--black); border: none; border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  cursor: pointer; margin-top: 6px;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 48px;
}
.adrawer-btn:hover { background: var(--gold-light); box-shadow: var(--shadow-sm); }
.adrawer-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.adrawer-note { font-size: 11px; color: var(--faint); text-align: center; margin-top: 12px; font-family: var(--font-mono); }
.adrawer-name { font-size: 13px; font-weight: 600; color: var(--text); }
.adrawer-google-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px; border-radius: var(--radius); border: 1px solid var(--border2);
  background: #fff; color: var(--text); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; margin-bottom: 16px;
}
.adrawer-google-btn:hover { border-color: #4285F4; box-shadow: 0 2px 8px rgba(66,133,244,0.15); }
.adrawer-or {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 11px; color: var(--faint); font-family: var(--font-mono);
}
.adrawer-or::before, .adrawer-or::after { content: ''; flex: 1; border-top: 1px solid var(--border); }
#nav-account-btn.signed-in { border-color: var(--gold); color: var(--gold); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 16px; left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: var(--panel2); border: 1px solid var(--border2); color: var(--text);
  padding: 10px 20px; border-radius: var(--radius);
  font-size: 13px; z-index: var(--z-toast); opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  pointer-events: none; white-space: nowrap; font-family: var(--font-mono);
  box-shadow: var(--shadow-md);
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── BOTTOM NAV ── */
.bottom-nav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -1px 6px rgba(26,62,114,0.07);
  display: flex; justify-content: space-around;
  padding: 10px 0 max(10px, env(safe-area-inset-bottom));
  flex-shrink: 0;
}
.bn-item {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: none; border: none; cursor: pointer;
  color: var(--faint); font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0; text-transform: uppercase;
  padding: 4px 6px;
  transition: color var(--dur) var(--ease);
  overflow: hidden;
  min-height: 48px;
  position: relative;
}
.bn-item.active { color: var(--gold); }
.bn-item svg { width: 20px; height: 20px; }

/* ── FOOTER ── */
footer { background: #1A3E72; border-top: none; padding: 32px 20px 40px; }
.footer-logo-wrap { margin-bottom: 16px; }
.footer-logo { font-family: var(--font-display); font-size: 24px; letter-spacing: 2px; color: #FFFFFF; }
.footer-tagline { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.55); letter-spacing: 2px; text-transform: uppercase; }
.footer-social { display: flex; gap: 10px; margin: 16px 0; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  text-decoration: none;
}
.footer-social a:hover { color: #FFFFFF; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.1); }
.footer-legal { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.footer-legal a { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.5); text-decoration: none; letter-spacing: 0.5px; transition: color var(--dur) var(--ease); }
.footer-legal a:hover { color: #FFFFFF; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 16px; font-family: var(--font-mono); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; transition: color var(--dur) var(--ease); }
.footer-links a:hover { color: #FFFFFF; }

/* ── CONTACT SOCIAL ── */
.contact-social { display: flex; align-items: center; gap: 10px; margin-top: 16px; margin-bottom: 20px; }
.contact-social-label { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; flex-shrink: 0; }
.contact-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.contact-social a:hover { color: var(--gold); border-color: var(--gold); background: var(--gold-dim); }

/* ── CONTACT ACTION CARDS ── */
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
@media (max-width: 479px) { .contact-actions { grid-template-columns: 1fr; } }
.contact-action-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius-lg);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  text-align: left; width: 100%; font-family: inherit;
}
.contact-action-enquiry { background: rgba(230,81,0,0.05); border-color: rgba(230,81,0,0.28); }
.contact-action-enquiry:hover { background: rgba(230,81,0,0.09); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(230,81,0,0.13); }
.contact-action-whatsapp { background: rgba(37,211,102,0.05); border-color: rgba(37,211,102,0.32); }
.contact-action-whatsapp:hover { background: rgba(37,211,102,0.09); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37,211,102,0.13); }
.contact-action-icon { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-action-enquiry .contact-action-icon { background: var(--orange); color: #fff; }
.contact-action-whatsapp .contact-action-icon { background: var(--wa-green); color: #fff; }
.contact-action-body { flex: 1; min-width: 0; }
.contact-action-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.contact-action-sub { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.2px; }
.contact-action-arrow { font-size: 15px; color: var(--muted); flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.contact-action-card:hover .contact-action-arrow { transform: translateX(4px); }

/* ── UTILITIES ── */
.divider { height: 1px; background: var(--border); }
.pb { padding-bottom: 32px; }

/* ── MACHINERY SECTION ── */
.machinery-section { background: var(--dark); position: relative; overflow: hidden; }
.machinery-section::before {
  content: 'MACHINERY'; position: absolute; left: -10px; top: 28px;
  font-family: var(--font-display); font-size: 96px; color: rgba(26,62,114,0.05);
  white-space: nowrap; pointer-events: none; letter-spacing: 8px;
}
.machinery-section > * { position: relative; }

.enquiry-banner {
  background: var(--panel2); border: 1px solid var(--border);
  border-left: 3px solid var(--gold); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 28px; display: flex; gap: 12px; align-items: flex-start;
  transition: box-shadow var(--dur) var(--ease);
}
.enquiry-banner:hover { box-shadow: var(--shadow-sm); }
.enquiry-icon { color: var(--gold); flex-shrink: 0; margin-top: 1px; line-height: 0; }
.enquiry-text { font-size: 12px; color: var(--muted); line-height: 1.6; }
.enquiry-text strong { color: var(--text); font-size: 13px; display: block; margin-bottom: 2px; }

.machine-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
.mcard {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 0; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.mcard:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Image / placeholder area */
.mcard-img-wrap {
  flex-shrink: 0; width: 100%; height: 160px;
  overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.mcard-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; display: block; }
.mcard-no-img { color: rgba(13,71,161,0.18); }
.mcard-img-badge {
  position: absolute; bottom: 8px; left: 10px;
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 1.5px;
  background: rgba(0,0,0,0.38); backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.88); padding: 3px 8px; border-radius: 3px;
}
.mcard-img-enq {
  position: absolute; top: 8px; right: 8px;
  background: rgba(198,40,40,0.82); color: #fff;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 2px; letter-spacing: 1px; text-transform: uppercase;
}

/* Card body */
.mcard-body {
  flex: 1; display: flex; flex-direction: column;
  padding: 14px 16px 16px;
  background-image:
    linear-gradient(rgba(26,62,114,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,62,114,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}
.mcard-name { font-family: var(--font-display); font-size: 21px; letter-spacing: 1px; line-height: 1.05; text-transform: uppercase; margin-bottom: 8px; }
.mcard-enq {
  display: inline-block; background: rgba(196,59,42,0.12); color: var(--red);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: 2px; letter-spacing: 1.5px; text-transform: uppercase;
  border: 1px solid rgba(196,59,42,0.3); margin-bottom: 8px;
}
.mcard-desc {
  font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 14px;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mcard-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.mcard-spec { background: var(--panel2); border: 1px solid var(--border); border-radius: 4px; padding: 8px 10px; }
.mcard-spec-k { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.mcard-spec-v { font-size: 12px; color: var(--text); margin-top: 1px; font-weight: 500; }
.mcard-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.mcard-quote-btn {
  flex: 1; min-width: 130px;
  background: var(--gold); color: var(--black); border: none;
  padding: 12px 14px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 44px;
}
.mcard-quote-btn:hover { background: var(--gold-light); box-shadow: var(--shadow-sm); }
.mcard-call-btn {
  background: transparent; color: var(--text);
  border: 1px solid var(--border2);
  padding: 12px 14px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
}
.mcard-call-btn:hover { border-color: var(--gold); color: var(--gold); }

.machinery-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.machinery-cta .btn { flex: 1; min-width: 200px; justify-content: center; }

.cart-empty-icon { color: var(--faint); display: flex; justify-content: center; margin-bottom: 12px; }
.cart-empty-state .cart-empty-icon { font-size: inherit; margin-bottom: 14px; }

/* ── MACHINE PAGE ── */
.mcat-partner-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.mcat-partner-card {
  border-radius: var(--radius-lg); padding: 18px 16px;
  display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden;
}
.mcat-partner-card::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 8px);
  pointer-events: none;
}
.mcp-jai     { background: #0C2461; color: #fff; }
.mcp-modular { background: #B71C1C; color: #fff; }
.mcp-badge {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  background: rgba(255,255,255,.15); padding: 3px 8px;
  border-radius: 3px; width: fit-content; color: rgba(255,255,255,.9);
}
.mcp-name { font-family: var(--font-display); font-size: 28px; letter-spacing: 2px; line-height: 1; text-transform: uppercase; color: #fff; }
.mcp-origin { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,.55); letter-spacing: 1px; text-transform: uppercase; }
.mcp-desc { font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.75); flex: 1; }
.mcp-btn {
  margin-top: 6px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  padding: 8px 12px; border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 11px;
  cursor: pointer; letter-spacing: .3px;
  transition: background var(--dur) var(--ease); text-align: left; width: 100%; min-height: 36px;
}
.mcp-btn:hover { background: rgba(255,255,255,.22); }
@media (max-width: 480px) {
  .mcat-partner-row { grid-template-columns: 1fr; }
  .mcp-name { font-size: 24px; }
}

/* Category filter pills */
.mcat-pills { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.mcat-pills::-webkit-scrollbar { display: none; }
.mcat-pill {
  flex-shrink: 0; background: var(--panel2); border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 16px;
  font-size: 12px; font-family: var(--font-mono);
  cursor: pointer; color: var(--muted); white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  min-height: 34px; display: flex; align-items: center;
}
.mcat-pill:hover  { border-color: var(--gold); color: var(--gold); }
.mcat-pill.active { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ── MACHINE SPOTLIGHTS (msp2) ── */
.msp2 { border-radius: var(--radius-lg); margin-bottom: 18px; overflow: hidden; }

.msp2-randa {
  display: grid; grid-template-columns: 1fr 240px;
  background: linear-gradient(135deg, #071B3E 0%, #0A2D6B 100%);
}
.msp2-randa .msp2-content { padding: 28px 24px; }
.msp2-randa .msp2-tooling { padding: 22px 18px; background: rgba(255,255,255,0.05); border-left: 1px solid rgba(255,255,255,0.09); }
@media (max-width: 680px) {
  .msp2-randa { grid-template-columns: 1fr; }
  .msp2-randa .msp2-tooling { border-left: none; border-top: 1px solid rgba(255,255,255,0.09); }
}

.msp2-modular {
  background: linear-gradient(135deg, #0D1B2A 0%, #1A237E 55%, #1565C0 100%);
  position: relative;
}
.msp2-modular .msp2-content { padding: 28px 24px; }
.msp2-modular::after {
  content: 'EXPANDING SEGMENT';
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-mono); font-size: 7px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  background: var(--accent-yellow); color: #000;
  padding: 3px 9px; border-radius: 2px;
}
@media (max-width: 440px) { .msp2-modular::after { display: none; } }

.msp2-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.42); margin-bottom: 10px; }
.msp2-title { font-family: var(--font-display); font-size: clamp(24px, 5vw, 38px); letter-spacing: 2px; text-transform: uppercase; line-height: 1.05; color: #fff; margin-bottom: 6px; }
.msp2-sub { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.42); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; line-height: 1.6; }
.msp2-desc { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.78); margin-bottom: 16px; max-width: 580px; }
.msp2-brands { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.38); letter-spacing: 0.5px; margin-bottom: 20px; }
.msp2-machine-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.msp2-machine-tag { padding: 4px 11px; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.62); letter-spacing: 0.3px; }
.msp2-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.msp2-tooling-hd { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-yellow); margin-bottom: 14px; }
.msp2-tooling-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 12px; color: rgba(255,255,255,0.72); }
.msp2-tooling-item:last-child { border-bottom: none; }
.msp2-tooling-item.link { color: var(--accent-yellow); cursor: pointer; }
.msp2-tooling-item.link:hover { color: #fff; }
.msp2-tooling-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.msp2-tooling-item.link .msp2-tooling-dot { background: var(--accent-yellow); }
.msp2-tooling-badge { margin-left: auto; background: rgba(255,197,0,0.14); font-family: var(--font-mono); font-size: 10px; color: var(--accent-yellow); padding: 2px 6px; border-radius: 2px; letter-spacing: 0.5px; flex-shrink: 0; }

/* ── INVENTORY OVERVIEW ── */
.mcat-inv-header { margin: 28px 0 14px; }
.mcat-inv-label { font-family: var(--font-mono); font-size: 10px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.mcat-inv-label::before { content: '//'; opacity: 0.4; }
.mcat-inv-title { font-family: var(--font-display); font-size: 22px; color: var(--text); letter-spacing: 1px; }
.mcat-inv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 28px; }
@media (max-width: 760px) { .mcat-inv-grid { grid-template-columns: repeat(2, 1fr); } }
.mcat-inv-tile {
  background: #fff; border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 14px 14px 12px;
  cursor: pointer; text-align: left; font-family: inherit;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mcat-inv-tile:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.mcat-inv-tile.featured { border-color: var(--gold); background: var(--gold-dim); }
.mcat-inv-count { font-family: var(--font-display); font-size: 30px; color: var(--gold); letter-spacing: 1px; line-height: 1; margin-bottom: 4px; }
.mcat-inv-name { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 2px; line-height: 1.3; }
.mcat-inv-detail { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.3px; }

/* ── BROWSE SECTION ── */
.mcat-browse-hd { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.mcat-browse-hd::before { content: '//'; opacity: 0.4; }

/* ── SEARCH OVERLAY ── */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 400;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: none;
  align-items: flex-start;
  justify-content: center;
}
.search-overlay.on { display: flex; }
.search-modal {
  width: 100%; max-width: 600px;
  background: var(--dark);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  animation: search-drop 0.2s var(--ease-out);
}
@keyframes search-drop {
  from { transform: translateY(-16px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.search-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.search-bar svg { color: var(--muted); flex-shrink: 0; }
.search-input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--font-body); font-size: 16px;
  color: var(--text);
  min-width: 0;
}
.search-input::placeholder { color: var(--faint); }
.search-close-btn {
  background: var(--panel2); border: 1px solid var(--border2); color: var(--muted);
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.search-close-btn:hover { border-color: var(--gold); color: var(--gold); }
.search-results {
  flex: 1; overflow-y: auto;
  padding: 6px 0 8px;
}
.search-section-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); padding: 10px 16px 4px;
}
.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; cursor: pointer; width: 100%; text-align: left;
  background: none; border: none; font-family: inherit;
  transition: background var(--dur) var(--ease);
}
.search-result-item:hover { background: var(--panel); }
.search-result-thumb {
  width: 42px; height: 42px; border-radius: var(--radius); background: var(--panel2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.search-result-emoji { font-size: 22px; line-height: 1; }
.search-result-body { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; overflow: hidden; }
.search-result-name { font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 1; min-width: 0; }
.search-result-meta { font-family: var(--font-mono); font-size: 10px; color: var(--muted); white-space: nowrap; flex-shrink: 0; text-transform: capitalize; }
.search-result-price { font-family: var(--font-mono); font-size: 12px; color: var(--gold); flex-shrink: 0; }
.search-result-chevron { color: var(--faint); flex-shrink: 0; }
.search-prompt { text-align: center; padding: 28px 20px; color: var(--faint); font-family: var(--font-mono); font-size: 12px; }
.search-empty  { text-align: center; padding: 28px 20px; color: var(--muted); font-family: var(--font-mono); font-size: 13px; }

/* ── RESPONSIVE ── */
@media (min-width: 540px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (min-width: 540px) {
  .msp-specs { grid-template-columns: repeat(4, 1fr); }
  nav { padding: 0 32px; }
  section { padding: 64px 32px; }
  /* horizontal cards work best at 1 col; desktop gets 2 cols below */
  .mcard-specs { grid-template-columns: repeat(3, 1fr); }
  .machinery-cta .btn { flex: 0 1 auto; }
}


/* ── HERO BADGE / NAMEPLATE ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px; position: relative;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; flex-shrink: 0;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%       { opacity: 0.85; box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.hero-badge-text {
  border-left: 1.5px solid rgba(255,255,255,0.2);
  padding-left: 12px;
  text-align: left;
}
.hero-badge-name {
  display: block;
  font-family: var(--font-mono); font-size: clamp(11px, 2.8vw, 14px);
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.95); font-weight: 500; line-height: 1.25;
}
.hero-badge-loc {
  display: block;
  font-family: var(--font-mono); font-size: clamp(9px, 2vw, 11px);
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-top: 4px;
}

/* ── ACTION STRIP (3 quick-access cards below hero) ── */
.action-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}
.action-card {
  padding: 16px 10px 14px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px;
  cursor: pointer; border: none; background: none; font-family: inherit;
  text-decoration: none; color: var(--text);
  border-right: 1px solid var(--border);
  transition: background var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.action-card:last-child { border-right: none; }
.action-card:hover, .action-card:active { background: var(--panel); }
.action-card-icon {
  width: 46px; height: 46px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 2px;
}
.aci-shop     { background: rgba(230,81,0,0.10);  color: var(--orange); }
.aci-machines { background: rgba(13,71,161,0.10);  color: var(--gold); }
.aci-wa       { background: rgba(37,211,102,0.12); color: #1A9647; }
.action-card-label { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; }
.action-card-sub   { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.3px; }

/* ── PROCESS STRIP (How to Order) ── */
.process-strip {
  background: var(--gold);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.process-step {
  padding: 22px 12px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.process-step:last-child { border-right: none; }
.process-num {
  font-family: var(--font-display); font-size: 44px; color: rgba(255,255,255,0.13);
  line-height: 0.85; margin-bottom: 4px;
}
.process-icon { color: rgba(255,255,255,0.75); line-height: 0; }
.process-label { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }
.process-sub { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.2px; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transition: opacity 0.45s var(--ease); }
.reveal.visible { opacity: 1; }
.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }
.reveal-d4 { transition-delay: 0.28s; }

/* ── TRUST CARD — big number variant ── */
.trust-num {
  font-family: var(--font-display); font-size: 30px; color: var(--gold);
  letter-spacing: 1px; line-height: 1; margin-bottom: 5px;
}

/* ── STICKY CATEGORY BAR (shop tab) ── */
.sticky-bar {
  position: sticky; top: 60px; z-index: 100;
  background: rgba(244,247,252,0.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  margin: 0 -20px 20px;
  padding: 8px 20px;
}
@media (min-width: 540px) {
  .sticky-bar { margin: 0 -32px 20px; padding: 8px 32px; }
}
.sticky-bar .cat-tabs { margin-bottom: 0; }

/* ── SHOP HEADER ── */
.shop-header { padding-bottom: 0; }

/* ── ENQUIRY CALLOUT (WhatsApp-first, machines tab) ── */
.enquiry-callout {
  background: linear-gradient(135deg, #0D47A1, #1565C0);
  border-radius: var(--radius-lg);
  padding: 20px 18px; margin-bottom: 22px;
  color: #fff;
}
.enquiry-callout-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px;
}
.enquiry-callout-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.enquiry-callout-sub { font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.enquiry-callout-actions { display: flex; gap: 8px; }
.enquiry-callout-wa {
  flex: 1; background: var(--wa-green); color: #fff; border: none;
  padding: 12px 14px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: box-shadow var(--dur) var(--ease); min-height: 46px;
}
.enquiry-callout-wa:hover { box-shadow: var(--shadow-wa); }
.enquiry-callout-form {
  flex: 1; background: rgba(255,255,255,0.15); color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 12px 14px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  cursor: pointer; text-align: center; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease); min-height: 46px;
}
.enquiry-callout-form:hover { background: rgba(255,255,255,0.22); }

/* ── SECTION spacing tighter on small phones ── */
@media (max-width: 479px) {
  section { padding: 36px 16px; }
  nav { padding: 0 16px; }
}

/* ── WHATSAPP FLOAT BUTTON ── */
.wa-float {
  position: fixed; right: 16px; bottom: calc(72px + max(0px, env(safe-area-inset-bottom)));
  z-index: 250;
  background: var(--wa-green); color: #fff;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-wa);
  border: none; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
.wa-float:active { transform: scale(0.95); }

/* ── FOOTER PHONE ── */
.footer-phone {
  font-family: var(--font-display); font-size: 22px; letter-spacing: 1px;
  color: #fff; text-decoration: none; display: block; margin-bottom: 6px;
}

/* ═══════════════════════════════════════════════════════════
   MACHINES CATALOGUE (mcat3 / mc3)
═══════════════════════════════════════════════════════════ */
section.machines-page { padding: 0; background: var(--bg); }

/* ── Page header ── */
.mcat3-header { padding: 28px 20px 16px; border-bottom: 1px solid var(--border); }
.mcat3-title  { font-family: var(--font-display); font-size: clamp(26px, 6vw, 34px); letter-spacing: 1px; color: var(--text); margin: 0 0 6px; }
.mcat3-sub    { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }

/* ── Panel & Modular spotlight banner ── */
.mcat3-panel-banner {
  margin: 0; padding: 28px 24px;
  background: linear-gradient(130deg, #0A1628 0%, #0D2F5E 45%, #1A4B8C 75%, #1565C0 100%);
  color: #fff; position: relative; overflow: hidden;
  display: flex; gap: 16px; align-items: center; min-height: 360px;
}
.mcat3-panel-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(30,120,220,0.18) 0%, transparent 70%);
}
.mcat3-pb-left { flex: 1; min-width: 0; position: relative; display: flex; flex-direction: column; justify-content: center; }
.mcat3-pb-ctas { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mcat3-pb-carousel { flex: 0 0 48%; max-width: 500px; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.mcat3-pb-title {
  font-family: var(--font-display); font-size: clamp(18px, 4.5vw, 26px);
  letter-spacing: 0.5px; line-height: 1.1; margin-bottom: 8px;
}
.mcat3-pb-desc {
  font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.6; margin-bottom: 12px;
  max-width: 560px;
}
.mcat3-pb-tags {
  display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 4px;
}
.mcat3-pb-tag {
  padding: 4px 11px; border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px; font-size: 11px; color: rgba(255,255,255,0.7);
  font-family: var(--font-mono); letter-spacing: 0.2px;
  background: none; cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mcat3-pb-tag:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); color: #fff; }
/* legacy span fallback */
.mcat3-pb-tags span {
  padding: 3px 10px; border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px; font-size: 11px; color: rgba(255,255,255,0.7);
  font-family: var(--font-mono); letter-spacing: 0.2px;
}
.mcat3-pb-enq {
  display: block; background: var(--orange); border: none;
  color: #fff; border-radius: var(--radius); padding: 12px 22px;
  font-size: 13px; font-weight: 700; text-align: center; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(230,81,0,0.45);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.mcat3-pb-enq:hover { background: #BF360C; box-shadow: 0 6px 20px rgba(230,81,0,0.55); }
.mcat3-pb-browse {
  background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.4); color: #fff;
  border-radius: var(--radius); padding: 12px 22px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; text-align: center; white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.mcat3-pb-browse:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.65); }
.mcat3-pb-tag.active { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.65); color: #fff; }
.mcat3-pb-img-frame { width: 100%; height: 360px; display: flex; align-items: center; justify-content: center; }
.mcat3-pb-img { width: 100%; height: 100%; object-fit: contain; display: block; opacity: 0; transition: opacity 0.2s ease; }
.mcat3-pb-img.mcat3-pb-img-in { opacity: 1; }
.mcat3-pb-img-label { display: none; }

/* ── Sticky bar — search + filters pin together under the nav ── */
.mcat3-sticky-area {
  position: -webkit-sticky;
  position: sticky;
  top: 60px; z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

/* ── Search bar ── */
.mcat3-search-bar {
  padding: 8px 20px 0;
  background: #fff;
}
.mcat3-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1.5px solid var(--border2);
  border-radius: var(--radius-pill); padding: 8px 14px;
  transition: border-color var(--dur) var(--ease);
}
.mcat3-search:focus-within { border-color: var(--gold); }
.mcat3-search-inp {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--font-body); font-size: 14px; color: var(--text); min-width: 0;
}
.mcat3-search-inp::placeholder { color: var(--muted); }

/* ── Filter bar ── */
.mcat3-filters {
  display: flex; flex-direction: row; gap: 6px;
  overflow-x: auto; padding: 8px 20px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  background: #fff;
}
.mcat3-filters::-webkit-scrollbar { display: none; }
.mcat3-filter-row { display: contents; }
.mcat3-filter-sep { flex-shrink: 0; align-self: center; width: 1px; height: 16px; background: var(--border2); margin: 0 2px; }
.mcat3-tab {
  flex-shrink: 0; padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 500; white-space: nowrap;
  border: 1.5px solid var(--border2);
  background: var(--bg); color: var(--text);
  cursor: pointer; font-family: inherit;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.mcat3-tab:hover { border-color: var(--gold); color: var(--gold); }
.mcat3-tab.active { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 600; }
.mcat3-brand-tab { font-size: 11px; padding: 5px 12px; }
.mcat3-brand-tab.active { background: var(--text); border-color: var(--text); }

/* ── Machine grid ── */
#tab-machines .machine-grid { padding: 14px 20px 0; margin-bottom: 0; }

/* ── Category-grouped mode ── */
#mgrid.mcat-grouped { display: block; padding: 0; }
.mcat-group { padding: 0 20px; margin-bottom: 52px; }
@media (min-width: 640px) { .mcat-group { padding: 0 28px; } }

/* Ruled header: TITLE ─────────────────── [count] */
.mcat-group-hdr {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.mcat-group-title {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text); white-space: nowrap; flex-shrink: 0;
}
.mcat-group-rule {
  flex: 1; height: 1px; background: var(--border2);
}
.mcat-group-count {
  font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  letter-spacing: 0.5px; white-space: nowrap; flex-shrink: 0;
  color: var(--gold); background: var(--gold-dim);
  padding: 3px 9px; border-radius: 100px;
}

/* Card grid inside each group */
.mcat-cards-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .mcat-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .mcat-cards-grid { grid-template-columns: repeat(3, 1fr); } }
.mcat-rest[hidden] { display: none !important; }

/* Expand button — left-aligned, filled light pill */
.mcat-expand-row { padding: 14px 0 0; }
.mcat-expand-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  background: var(--panel); color: var(--gold);
  border: none; border-radius: var(--radius-pill);
  padding: 8px 18px; cursor: pointer;
  transition: background 0.15s var(--ease);
}
.mcat-expand-btn:hover { background: var(--panel2); }

/* ── Machine card (mc3) ── */
.mc3 {
  background: #fff;
  border: 1px solid var(--border2);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(13,71,161,0.05);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
/* Accent bar that slides in on hover */
.mc3::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
  z-index: 1;
}
.mc3:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(13,71,161,0.13), 0 2px 8px rgba(13,71,161,0.07);
  border-color: var(--gold);
}
.mc3:hover::after { transform: scaleX(1); }

/* Image zone — white bg so image blends into card, gradient divider below */
.mc3-img {
  flex-shrink: 0;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* Gradient divider: fades in from edges, much softer than a solid line */
.mc3-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--border2) 20%, var(--border2) 80%, transparent 100%);
  pointer-events: none;
}
.mc3-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
  display: block;
  transition: transform 0.38s var(--ease);
}
.mc3:hover .mc3-img img { transform: scale(1.06); }
.mc3-no-img {
  flex-shrink: 0; width: 100%; height: 240px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: rgba(13,71,161,0.15); font-size: 48px;
}

/* Tablet: 2 columns */
@media (min-width: 640px) {
  .machine-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Laptop: 3 columns */
@media (min-width: 900px) {
  .machine-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Content */
.mc3-body {
  padding: 14px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.mc3-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
  margin-bottom: 5px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted);
}
.mc3-meta-dot { opacity: 0.35; }
.mc3-multi-size {
  font-size: 8.5px; font-weight: 600; letter-spacing: 0.3px;
  color: var(--orange); background: rgba(230,81,0,0.08);
  border-radius: 100px; padding: 2px 7px;
}
.mc3-name {
  font-family: var(--font-display); font-size: 20px;
  letter-spacing: 0.5px; line-height: 1.05;
  color: var(--text); margin-bottom: 6px;
}
.mc3-desc {
  font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 10px;
}
.mc3-pills { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.mc3-pill {
  font-family: var(--font-mono); font-size: 10px; color: var(--text);
  background: var(--panel); border-radius: 5px;
  padding: 3px 9px; white-space: nowrap;
}
.mc3-foot { margin-top: auto; display: flex; gap: 7px; flex-wrap: wrap; }
.mc3-details {
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.2px;
  background: var(--gold); color: #fff;
  border: none; border-radius: var(--radius);
  padding: 9px 16px; cursor: pointer;
  transition: background 0.15s var(--ease), transform 0.1s;
}
.mc3-details:hover { background: var(--gold-light); transform: scale(1.03); }
.mc3-enq {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2px;
  color: #fff; background: var(--orange);
  border-radius: var(--radius); padding: 9px 16px;
  display: inline-block;
  transition: opacity 0.15s, transform 0.1s;
}
.mc3-enq:hover { opacity: 0.88; transform: scale(1.03); }

/* ── Category card image collage (inside mc3-img) ── */
.mc3-collage {
  position: absolute; inset: 0;
  display: grid; gap: 1px;
  background: #e8e8e8;
}
.mc3-collage img { padding: 8px; background: #fff; min-width: 0; min-height: 0; }
.mc3-collage-duo  { grid-template-columns: 1fr 1fr; }
.mcat-cat-card .mc3-details { display: inline-block; }

/* ── Empty state ── */
.mcat-empty {
  grid-column: 1 / -1; text-align: center;
  padding: 56px 24px; display: flex; flex-direction: column; align-items: center;
}
.mcat-empty-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.mcat-empty-sub   { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; max-width: 280px; }
.mcat-empty-btn   {
  background: var(--orange); color: #fff; border-radius: var(--radius-pill);
  padding: 11px 28px; font-size: 14px; font-weight: 700;
}
.mcat-empty-btn:hover { background: #BF360C; }

/* ── Bottom CTA ── */
.mach-bottom-cta {
  text-align: center; padding: 36px 20px 24px;
  border-top: 1px solid var(--border); margin-top: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.mach-bottom-cta-txt  { font-size: 14px; color: var(--muted); }
.mach-bottom-cta-btn  {
  display: inline-block; background: var(--orange); color: #fff;
  border-radius: var(--radius-pill); padding: 13px 32px;
  font-size: 14px; font-weight: 700;
}
.mach-bottom-cta-btn:hover { background: #BF360C; }
.mach-bottom-cta-link { font-size: 12px; color: var(--muted); }
.mach-bottom-cta-link:hover { color: var(--gold); }

/* ── SEO text blurb ── */
.seo-blurb {
  padding: 40px 20px 44px;
  background: var(--panel);
  border-top: 3px solid var(--gold);
}
.seo-blurb-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 4.5vw, 28px);
  letter-spacing: 0.5px; line-height: 1.1;
  color: var(--text);
  margin: 0 0 6px;
}
.seo-blurb-intro {
  font-size: 13px; color: var(--muted);
  margin: 0 0 22px; max-width: 640px; line-height: 1.65;
}
.seo-blurb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 10px;
}
.seo-blurb-item {
  background: #fff;
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--gold);
  padding: 18px 14px 16px;
  display: flex; flex-direction: column; gap: 5px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease,
              box-shadow 0.2s, border-top-color 0.2s;
}
.seo-blurb-item.in { opacity: 1; transform: translateY(0); }
.seo-blurb-item.in:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
  transform: translateY(-4px);
}
.seo-blurb-num {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: 0.5px; line-height: 1;
  color: var(--text);
}
.seo-blurb-label {
  font-size: 11.5px; color: var(--muted); line-height: 1.45;
}
.seo-blurb-divider { display: none; }
.seo-blurb-footer  { display: none; }
@media (min-width: 640px) {
  .seo-blurb { padding: 44px 28px 48px; }
}

/* ── Full-screen detail overlay ── */
.detail-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.detail-overlay.on { transform: translateY(0); }

.detail-overlay-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 52px;
  border-bottom: 1px solid var(--border);
  background: var(--black);
}
.detail-overlay-back {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  flex-shrink: 0;
  padding: 0;
}
.detail-overlay-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mdo-name-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.mdo-name-row .mdo-name { margin-bottom: 0; flex: 1; }
.mdo-share-icon {
  flex-shrink: 0; margin-top: 6px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border2); border-radius: 50%;
  background: none; cursor: pointer; color: var(--muted);
  transition: border-color 0.15s, color 0.15s;
}
.mdo-share-icon:hover { border-color: var(--gold); color: var(--gold); }
.detail-overlay-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Machine detail overlay content ── */
.mdo-layout {
  display: grid;
  grid-template-columns: 1fr;
  padding: 20px 16px 28px;
  max-width: 900px;
  margin: 0 auto;
  gap: 20px;
}
@media (min-width: 640px) { .mdo-layout { grid-template-columns: 380px 1fr; gap: 32px; } }
@media (min-width: 1024px) { .mdo-layout { grid-template-columns: 480px 1fr; gap: 40px; max-width: 1100px; } }
.mdo-main-img {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mdo-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; display: block; }
.mdo-thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.mdo-thumb {
  width: 56px; height: 56px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid #e0e0e0;
  transition: border-color 0.15s;
  flex-shrink: 0;
}
.mdo-thumb.active { border-color: var(--gold); }
.mdo-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; display: block; }
.mdo-icon {
  background: var(--panel);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.mdo-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 4px; }
.mdo-brand { font-family: var(--font-mono); font-size: 11px; color: var(--gold); margin-bottom: 4px; }
.mdo-name { font-family: var(--font-display); font-size: 28px; line-height: 1.15; color: var(--text); margin-bottom: 10px; }
/* machine overlay variant pills */
.mdo-variants { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mdo-variants-label { width: 100%; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 2px; font-weight: 600; }
.mdo-v-pill {
  padding: 6px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border2); color: var(--muted);
  cursor: pointer; background: var(--black); font-size: 13px; font-weight: 500;
  transition: all 0.15s;
}
.mdo-v-pill.active { background: var(--gold); color: #fff; border-color: var(--gold); }
.mdo-v-pill:hover:not(.active) { border-color: var(--gold); color: var(--gold); }
.mdo-v-root { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; }
.mdo-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.mdo-brands-row { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
/* Spec tables — clean 2-column, modern */
.mdo-specs, .pdo-specs {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 1px 4px rgba(13,71,161,0.04);
}
.pdo-specs { margin: 16px 0 18px; }
.mdo-spec-row, .pdo-spec-row {
  display: grid; grid-template-columns: 148px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.14s;
}
.mdo-spec-row:last-child, .pdo-spec-row:last-child { border-bottom: none; }
.mdo-spec-row:hover, .pdo-spec-row:hover { background: rgba(13,71,161,0.03); }
.mdo-spec-k, .pdo-spec-k {
  padding: 5px 12px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  background: var(--panel); border-right: 1px solid var(--border);
  display: flex; align-items: center;
  transition: background 0.14s;
  line-height: 1.3;
}
.mdo-spec-row:hover .mdo-spec-k,
.pdo-spec-row:hover .pdo-spec-k { background: var(--panel2); }
.mdo-spec-v, .pdo-spec-v {
  padding: 5px 12px;
  font-size: 12px; color: var(--text); font-weight: 600;
  display: flex; align-items: center;
  font-variant-numeric: tabular-nums; line-height: 1.3;
}
.mdo-actions { display: flex; flex-direction: column; gap: 10px; }
.mdo-enq-btn {
  display: block;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.mdo-enq-btn:hover { background: var(--gold-light); }

/* ── Product detail overlay content ── */
.pdo-layout {
  display: grid;
  grid-template-columns: 1fr;
  padding: 20px 16px 28px;
  max-width: 900px;
  margin: 0 auto;
  gap: 20px;
}
@media (min-width: 640px) { .pdo-layout { grid-template-columns: 300px 1fr; gap: 32px; } }
.pdo-main-img {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdo-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; display: block; }
.pdo-thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.pdo-thumb {
  width: 56px; height: 56px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid #e0e0e0;
  transition: border-color 0.15s;
  flex-shrink: 0;
}
.pdo-thumb.active { border-color: var(--orange); }
.pdo-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; display: block; }
.pdo-emoji { background: var(--panel); border-radius: var(--radius-lg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.pdo-brand { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 4px; }
.pdo-name { font-family: var(--font-display); font-size: 28px; line-height: 1.15; color: var(--text); margin-bottom: 8px; }
/* product overlay variant pills */
.pdo-variants { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pdo-variants-label { width: 100%; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 2px; font-weight: 600; }
.pdo-v-pill {
  padding: 6px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border2); color: var(--muted);
  cursor: pointer; background: var(--black); font-size: 13px; font-weight: 500;
  transition: all 0.15s;
}
.pdo-v-pill.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.pdo-v-pill:hover:not(.active) { border-color: var(--orange); color: var(--orange); }
/* variant label in cart item */
.ci-variant { font-size: 10px; color: var(--muted); font-family: var(--font-mono); margin-top: 1px; }
.pdo-oos-badge { display: inline-block; background: #FFEBEE; color: var(--red); font-size: 12px; padding: 3px 10px; border-radius: var(--radius-pill); margin-bottom: 10px; font-weight: 600; }
.pdo-price { font-size: 26px; font-weight: 700; color: var(--text); margin: 10px 0 2px; }
.pdo-gst { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.pdo-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.pdo-add-btn {
  display: block;
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 8px;
}
.pdo-add-btn:hover { background: #BF360C; }
.pdo-stepper { display: inline-flex; margin-bottom: 0; gap: 6px; }
.pdo-stepper .qty-btn { width: 36px; height: 36px; font-size: 15px; border-radius: 6px; }
.pdo-stepper .qty-n { min-width: 32px; font-size: 15px; text-align: center; }
.pdo-checkout-link {
  display: block;
  width: 100%;
  background: var(--panel);
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin-top: 16px;
  box-sizing: border-box;
}
.pdo-checkout-link:hover { background: var(--gold-dim); }

/* ── Similar items row (shared by both overlays) ── */
.mdo-similar, .pdo-similar {
  padding: 0 16px 36px;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.mdo-sim-label, .pdo-sim-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 20px 0 12px;
  font-weight: 600;
}
.mdo-sim-scroll, .pdo-sim-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.mdo-sim-scroll::-webkit-scrollbar, .pdo-sim-scroll::-webkit-scrollbar { display: none; }
.mdo-sim-card, .pdo-sim-card {
  flex-shrink: 0;
  width: 130px;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.15s;
  background: var(--black);
}
.mdo-sim-card:hover { border-color: var(--gold); }
.pdo-sim-card:hover { border-color: var(--orange); }
.mdo-sim-card img, .pdo-sim-card img {
  width: 100%; height: 90px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  display: block;
}
.mdo-sim-no-img, .pdo-sim-no-img {
  width: 100%; height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 24px;
  color: var(--muted);
}
.mdo-sim-name, .pdo-sim-name { font-size: 11px; color: var(--text); padding: 7px 8px 4px; line-height: 1.35; }
.pdo-sim-price { font-size: 11px; color: var(--orange); padding: 0 8px 8px; font-weight: 600; }
.mdo-sim-cat { font-size: 10px; color: var(--muted); padding: 0 8px 8px; }

/* ── Shared lightbox (above detail overlays) ── */
.detl-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.detl-lightbox.on { opacity: 1; pointer-events: auto; }
.detl-lightbox img { max-width: 82vw; max-height: 82vh; object-fit: contain; border-radius: var(--radius-lg); }
.detl-lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  line-height: 36px;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .mcat3-panel-banner { flex-direction: column; gap: 20px; min-height: 0; }
  .mcat3-pb-carousel { flex: none; width: 100%; max-width: none; order: -1; }
  .mcat3-pb-img-frame { height: 200px; }
  .mcat3-pb-img { height: 100%; }
  .mcat3-pb-ctas { flex-direction: column; }
  .mcat3-pb-browse { white-space: normal; }
  #tab-machines .machine-grid { grid-template-columns: 1fr; }
}
@media (min-width: 640px) {
  .mcat3-header { padding: 32px 28px 18px; }
  .mcat3-panel-banner { padding: 24px 28px; }
  .mcat3-search-bar { padding: 10px 28px 0; }
  .mcat3-filter-row { padding: 8px 28px; }
  #tab-machines .machine-grid { padding: 16px 28px 0; }
}
@media (min-width: 900px) {
  #tab-machines .machine-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer-phone-label { font-family: var(--font-mono); font-size: 9px; color: rgba(255,255,255,0.5); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }

/* ── Image disclaimer ───────────────────────────────────────────────────────── */
.img-disclaimer {
  font-size: 10px; font-family: var(--font-mono); font-style: italic;
  color: var(--faint); text-align: center; margin: 6px 0 0; line-height: 1.4;
}

/* ── Image skeleton shimmer + fade-in ──────────────────────────────────────── */
@keyframes img-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}

/* Shimmer while image is still loading */
.pcard-img:not(.img-loaded),
.mcard-img-wrap:not(.img-loaded),
.mc3-img:not(.img-loaded) {
  background: linear-gradient(90deg, #f2f2f2 25%, #e8e8e8 37%, #f2f2f2 63%);
  background-size: 1200px 100%;
  animation: img-shimmer 1.4s ease infinite;
}

/* Images start invisible; preserve existing transform transitions */
.pcard-img img      { opacity: 0; transition: transform var(--dur-slow) var(--ease), opacity 0.25s ease; }
.mcard-img-wrap img { opacity: 0; transition: opacity 0.25s ease; }
.mc3-img img        { opacity: 0; transition: transform 0.38s var(--ease), opacity 0.25s ease; }

/* Fade in once loaded */
.pcard-img.img-loaded img,
.mcard-img-wrap.img-loaded img,
.mc3-img.img-loaded img { opacity: 1; }

