/* ==========================================================================
   PREMIUM VENTURES LTD - ENTERPRISE & MARKETPLACE DESIGN SYSTEM
   Palette Signature: Sybyl Crimson Red (#DC2626), Burnished Gold (#D97706),
   and Titanium Obsidian Charcoal (#18181B / #09090B).
   100% distinct from mpeka.rw (zero cyan, zero electric blue, zero neon green).
   ========================================================================== */

:root {
  /* Core Color Palette: Enterprise Crimson, Burnished Gold & Obsidian */
  --color-primary: #18181B;       /* Deep Titanium Charcoal / Zinc 900 */
  --color-primary-dark: #09090B;  /* Jet Obsidian Black */
  --color-primary-light: #27272A; /* Warm Charcoal Slate */
  
  --color-accent: #DC2626;        /* Sybyl Enterprise Crimson / Red */
  --color-accent-hover: #B91C1C;  /* Deep Ruby Crimson */
  --color-accent-subtle: #FEF2F2; /* Soft Rose/Crimson Tint */
  --color-accent-border: #FECACA;
  
  --color-gold: #D97706;          /* Executive Burnished Gold */
  --color-gold-hover: #B45309;    /* Deep Amber Bronze */
  --color-gold-light: #FFFBEB;    /* Warm Champagne Ivory */
  --color-gold-border: #FDE68A;
  
  --color-danger: #DC2626;        /* Alert Red */
  --color-success: #15803D;       /* Forest Olive Success */
  
  /* Neutral Palette - Warm Titanium & Crisp Alabaster */
  --color-text-main: #27272A;
  --color-text-muted: #71717A;
  --color-text-light: #A1A1AA;
  --color-text-white: #FFFFFF;
  
  --color-bg-body: #FFFFFF;
  --color-bg-surface: #F9F9FB;    /* Warm Titanium Clean Gray */
  --color-bg-card: #FFFFFF;
  --color-bg-dark: #121316;       /* Neutral Obsidian Graphite */
  --color-bg-darker: #090A0C;     /* Pure Midnight */
  
  --border-light: #E4E4E7;        /* Clean Neutral Border */
  --border-subtle: #F4F4F5;
  --border-dark: rgba(255, 255, 255, 0.1);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadows & Radius */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 6px 16px -2px rgba(24, 24, 27, 0.08), 0 2px 6px -1px rgba(24, 24, 27, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(24, 24, 27, 0.08), 0 10px 10px -5px rgba(24, 24, 27, 0.03);
  --shadow-xl: 0 25px 50px -12px rgba(24, 24, 27, 0.22);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
  --topbar-height: 40px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-body);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 80px 0;
}

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

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--color-text-white);
}

.section-gray {
  background-color: var(--color-bg-surface);
}

/* Typography Helpers */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  background-color: var(--color-accent-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid var(--color-accent-border);
}

.section-tag.gold {
  color: var(--color-gold);
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-border);
}

.section-tag.dark {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: 38px;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto 40px auto;
}

.section-dark .section-subtitle {
  color: var(--color-text-light);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}

.btn-gold {
  background-color: var(--color-gold);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-dark {
  background-color: var(--color-primary);
  color: #FFFFFF !important;
}

.btn-dark:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background-color: var(--color-bg-surface);
  border-color: var(--color-primary);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* ==========================================================================
   TOP NOTIFICATION BAR
   ========================================================================== */
.topbar {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

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

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-light);
}

.topbar-item a {
  color: var(--color-text-light);
}

.topbar-item a:hover {
  color: #FFFFFF;
}

.topbar-badge {
  background-color: rgba(220, 38, 38, 0.15);
  color: #F87171;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

/* ==========================================================================
   MAIN NAVIGATION HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  height: 70px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-primary);
  height: 56px;
  flex-shrink: 0;
}

.brand-logo img,
.brand-logo svg {
  height: 52px;
  max-height: 52px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
  display: block;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.2s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Sub-menu */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
}

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

.dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--color-text-main);
  font-size: 14px;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: var(--color-bg-surface);
  color: var(--color-accent);
}

.dropdown-item-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
}

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

.cart-button-header {
  position: relative;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--color-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-button-header:hover {
  background-color: var(--color-bg-surface);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-primary);
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   HERO SECTION (Warm Obsidian & Crimson Gold Accent)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #09090B 0%, #121316 60%, #1C1917 100%);
  color: #FFFFFF;
  padding: 90px 0 100px 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(217, 119, 6, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(217, 119, 6, 0.4);
  color: #FBBF24;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(90deg, #FFFFFF 0%, #F59E0B 50%, #EF4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 19px;
  line-height: 1.6;
  color: #A1A1AA;
  max-width: 760px;
  margin: 0 auto 36px auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   EXECUTIVE DIAGNOSTIC BANNER (Sybyl Model)
   ========================================================================== */
.sybyl-diagnostic-banner {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: -50px auto 60px auto;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-xl);
  text-align: center;
  max-width: 1100px;
}

.diagnostic-badge {
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 16px;
  border: 1px solid var(--color-accent-border);
}

.sybyl-diagnostic-banner h3 {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.sybyl-diagnostic-banner p {
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto 24px auto;
}

.diagnostic-features {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.diagnostic-feature-chip {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   METRICS BANNER
   ========================================================================== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.metric-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.metric-value {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   INTERACTIVE SOLUTIONS CARDS (Sybyl Accordion/Card Layout)
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.solution-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.solution-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.solution-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-card-btn {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-light);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.toggle-card-btn:hover {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.solution-card-title {
  font-size: 21px;
  margin-bottom: 12px;
  font-weight: 700;
}

.solution-card-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.solution-card-list {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: auto;
}

.solution-card-list li {
  font-size: 13.5px;
  color: var(--color-text-main);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.solution-card-list li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 800;
}

.solution-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 16px;
}

.solution-card-link:hover {
  gap: 10px;
  color: var(--color-accent-hover);
}

/* ==========================================================================
   MARKETPLACE & STORE GRID
   ========================================================================== */
.store-hero-banner {
  background: linear-gradient(135deg, #121316 0%, #1c1d21 100%);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.store-hero-content {
  max-width: 800px;
}

.store-hero-title {
  font-size: 38px;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.2;
}

.store-hero-desc {
  color: #94A3B8;
  font-size: 16px;
  line-height: 1.5;
}

.procurement-notice-bar {
  background: var(--color-gold-light);
  border-bottom: 1px solid var(--color-gold-border);
  padding: 12px 0;
}

.procurement-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #78350F;
}

.procurement-notice-link a {
  color: var(--color-gold-hover);
  font-weight: 700;
  text-decoration: underline;
}

.store-main-section {
  padding-top: 36px;
}

.marketplace-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
}

/* Mobile Top Controls Bar (Search + Horizontal Category Pills) */
.mobile-store-topbar {
  display: none;
  margin-bottom: 18px;
}

.mobile-search-box {
  margin-bottom: 12px;
  position: relative;
}

.mobile-categories-wrapper {
  margin: 0 -16px 12px -16px;
  padding: 0 16px;
  overflow: hidden;
}

.mobile-categories-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.mobile-categories-scroll::-webkit-scrollbar {
  display: none;
}

.mobile-categories-scroll .filter-pill {
  width: auto;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 8px 14px;
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mobile-categories-scroll .filter-pill:hover,
.mobile-categories-scroll .filter-pill.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.mobile-categories-scroll .filter-pill.active .count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Store Toolbar */
.store-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.store-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-mobile-filter {
  display: none;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.btn-mobile-filter:hover {
  background: var(--color-bg-surface);
  border-color: var(--color-primary);
}

.filter-count-badge {
  background: var(--color-accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.store-results-count {
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
}

.store-toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.store-warehouse-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748B;
}

.warehouse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
}

.store-view-switcher {
  display: flex;
  background: #F1F5F9;
  border-radius: var(--radius-sm);
  padding: 3px;
  border: 1px solid var(--border-light);
}

.view-switch-btn {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
}

.view-switch-btn:hover {
  color: var(--color-primary);
}

.view-switch-btn.active {
  background: #FFFFFF;
  color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Active filter pills strip */
.active-filters-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
}

.active-filters-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
}

.active-filter-tag button {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
}

.active-filter-tag button:hover {
  color: var(--color-accent);
}

.active-filters-clear-btn {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
}

.active-filters-clear-btn:hover {
  text-decoration: underline;
}

.store-sidebar {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-close-btn {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}

.btn-filter-reset {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
}

.sidebar-mobile-footer {
  display: none;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.vendor-ad-card {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  margin-top: 20px;
}

.filter-overlay {
  display: none;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.filter-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text-main);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover, .filter-pill.active {
  background-color: var(--color-accent-subtle);
  color: var(--color-accent);
  font-weight: 600;
}

.filter-pill .count {
  font-size: 11px;
  background: var(--color-bg-surface);
  color: var(--color-text-muted);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.search-filter-box {
  margin-bottom: 24px;
  position: relative;
}

.search-filter-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.search-filter-input:focus {
  border-color: var(--color-accent);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.search-icon-pos {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
}

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

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

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

.product-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--color-gold-light);
  color: var(--color-gold-hover);
  border: 1px solid var(--color-gold-border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.product-badge-tag.hot {
  background: #FEE2E2;
  color: #DC2626;
  border-color: #FECACA;
}

.product-badge-tag.enterprise {
  background: #F4F4F5;
  color: #18181B;
  border-color: #E4E4E7;
}

.product-image-container {
  height: 200px;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.product-image-container svg {
  width: 70px;
  height: 70px;
  color: #71717A;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-container svg {
  transform: scale(1.08);
  color: var(--color-accent);
}

.product-image-container img,
.product-photo-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.product-photo-img.contain-fit {
  object-fit: contain;
  padding: 12px;
  background: #FFFFFF;
}

.product-card:hover .product-image-container img,
.product-card:hover .product-photo-img {
  transform: scale(1.05);
}

.quick-view-grid .product-photo-img {
  max-height: 220px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.product-svg-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.product-brand {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.5px;
}

.product-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 44px;
}

.product-short-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-box {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.product-price-label {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.product-price-val {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-add-cart {
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  background-color: var(--color-accent);
}

.btn-add-cart.disabled,
.btn-add-cart:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  border: 1px solid #cbd5e1;
  cursor: not-allowed;
  pointer-events: none;
}

.product-card.is-sold-out {
  opacity: 0.95;
}

.btn-quick-view {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--border-light);
  font-size: 13px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-quick-view:hover {
  background: var(--color-bg-surface);
  border-color: var(--color-primary);
}

/* ==========================================================================
   PRODUCT GRID: LIST VIEW MODE
   ========================================================================== */
.products-grid.list-view {
  grid-template-columns: 1fr !important;
  gap: 16px;
}

.products-grid.list-view .product-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px;
}

.products-grid.list-view .product-image-container {
  height: 130px;
  margin-bottom: 0;
}

.products-grid.list-view .product-title {
  min-height: auto;
  margin-bottom: 4px;
}

.products-grid.list-view .product-short-desc {
  display: -webkit-box !important;
  margin-bottom: 10px;
}

.products-grid.list-view .product-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.products-grid.list-view .product-price-val {
  margin-bottom: 0;
}

.products-grid.list-view .product-actions {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   BULK ORDERING BANNER
   ========================================================================== */
.store-bulk-banner {
  margin-top: 50px;
  background: linear-gradient(135deg, #18181B 0%, #111113 100%);
  border-radius: 12px;
  padding: 36px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.store-bulk-info {
  max-width: 600px;
}

.store-bulk-title {
  font-size: 24px;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.store-bulk-desc {
  color: #94A3B8;
  font-size: 14.5px;
  line-height: 1.5;
}

/* ==========================================================================
   FLOATING MOBILE CART BAR
   ========================================================================== */
.mobile-floating-cart {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  right: 16px;
  z-index: 1500;
  border-radius: 14px;
  background: linear-gradient(135deg, #18181B 0%, #09090B 100%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 12px 18px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  animation: slideUpFloat 0.35s ease forwards;
}

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

.mobile-floating-cart-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
}

.mobile-floating-cart-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-floating-cart-icon {
  font-size: 20px;
}

.mobile-floating-cart-count {
  font-size: 13px;
  font-weight: 700;
  background: var(--color-accent);
  padding: 2px 8px;
  border-radius: 999px;
  color: #FFFFFF;
}

.mobile-floating-cart-sep {
  color: #52525B;
}

.mobile-floating-cart-total {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 800;
  color: #F8FAFC;
}

.mobile-floating-cart-cta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gold);
}

/* ==========================================================================
   SLIDE-OVER SHOPPING CART DRAWER
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(9, 9, 11, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.cart-empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.cart-empty-state h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.cart-empty-state p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.cart-item-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-icon-box {
  width: 60px;
  height: 60px;
  background: var(--color-bg-surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-item-details {
  flex: 1;
}

.cart-item-brand {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
}

.cart-item-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: var(--color-bg-surface);
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-weight: 700;
}

.qty-value {
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.cart-remove-btn:hover {
  color: var(--color-danger);
}

.cart-item-linetotal {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: right;
  white-space: nowrap;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--color-bg-surface);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.cart-subtotal-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.cart-subtotal-val {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary);
}

.checkout-inputs {
  margin-bottom: 14px;
}

.checkout-input-field {
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.cart-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-whatsapp-order {
  background-color: #25D366;
  color: #FFFFFF !important;
  font-weight: 700;
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-sm);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-whatsapp-order:hover {
  background-color: #1EBE5D;
}

.btn-proforma-quote {
  background-color: var(--color-primary);
  color: #FFFFFF !important;
  font-weight: 600;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-proforma-quote:hover {
  background-color: var(--color-accent);
}

/* ==========================================================================
   PROFORMA INVOICE MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(4px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.proforma-modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.modal-top-bar {
  padding: 16px 24px;
  background: var(--color-primary);
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body-scrollable {
  padding: 32px;
  overflow-y: auto;
  flex: 1;
}

.proforma-document {
  background: #FFFFFF;
  color: #18181B;
  font-size: 13px;
}

.proforma-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-primary);
  margin-bottom: 24px;
}

.proforma-client-box {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
}

.proforma-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}

.proforma-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  margin-bottom: 0;
}

.proforma-table th {
  background: var(--color-bg-surface);
  border-bottom: 2px solid var(--border-light);
  padding: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  text-align: left;
}

.proforma-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}

.proforma-grand-total td {
  background: #F9F9FB;
  border-top: 2px solid var(--color-primary);
}

.proforma-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  margin-top: 24px;
}

/* ==========================================================================
   PARTNER LOGOS / SUPPLIER STRIP
   ========================================================================== */
.partner-logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 36px;
}

.partner-badge-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  color: #52525B;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}

.partner-badge-item:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ==========================================================================
   PROJECTS SHOWCASE
   ========================================================================== */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.project-filter-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.project-filter-btn:hover, .project-filter-btn.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.project-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.project-client-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  height: 54px;
  max-width: 190px;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.project-card:hover .project-client-logo-badge {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-sm);
}

.project-client-logo-badge img {
  height: 44px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.project-header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.project-year-badge {
  font-size: 11.5px;
  font-weight: 700;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.project-status-pill {
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.project-status-active {
  color: #16A34A;
}

.project-status-completed {
  color: #0284C7;
}

.project-client-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* ==========================================================================
   CLIENT LOGOS SHOWCASE STRIP (Institutional Trust)
   ========================================================================== */
.client-trust-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 48px 0;
}

.client-trust-title-row {
  text-align: center;
  margin-bottom: 30px;
}

.client-trust-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.client-trust-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
}

.client-trust-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  align-items: center;
}

.client-trust-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.client-trust-card:hover {
  background: #FFFFFF;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.client-trust-card img {
  max-height: 52px;
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.client-trust-card:hover img {
  transform: scale(1.05);
}

.project-scope-text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.project-value-tag {
  background: var(--color-gold-light);
  color: var(--color-gold-hover);
  border: 1px solid var(--color-gold-border);
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

/* ==========================================================================
   ORGANIZATIONAL CHART (For about.html)
   Corporate Hierarchy & Governance Architecture
   ========================================================================== */
.org-chart-container {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  margin: 36px auto 0 auto;
  max-width: 1040px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.org-tree-inner {
  min-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 0 auto;
}

/* Level 1 & Level 2 Rows */
.org-level-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.org-node-box {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  box-sizing: border-box;
}

.org-node-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.org-node-md {
  min-width: 290px;
  border: 2px solid var(--color-accent);
  background: linear-gradient(180deg, #FFFFFF 0%, #FEF2F2 100%);
}

.org-node-admin {
  min-width: 270px;
  border: 2px solid var(--color-primary);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.org-node-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  background: #FEE2E2;
  color: var(--color-accent);
}

.org-node-tag.navy {
  background: #E2E8F0;
  color: var(--color-primary);
}

.org-node-tag.gold {
  background: #FEF3C7;
  color: #B45309;
}

.org-node-tag.gray {
  background: #F1F5F9;
  color: #475569;
}

.org-node-title {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.org-node-person {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 4px;
}

.org-node-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* Vertical Stems */
.org-stem-vertical {
  width: 2px;
  height: 28px;
  background: #CBD5E1;
  margin: 0 auto;
}

/* Branching Structure */
.org-branches-row {
  display: flex;
  width: 100%;
  padding-top: 28px;
  position: relative;
}

.org-col-branch {
  flex: 1;
  min-width: 0;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Vertical connector from crossbar down to card */
.org-col-branch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 28px;
  background: #CBD5E1;
  transform: translateX(-50%);
}

/* Horizontal crossbar line segments */
.org-col-branch::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #CBD5E1;
}

.org-col-branch:first-child::after {
  left: 50%;
}

.org-col-branch:last-child::after {
  right: 50%;
}

.org-col-branch .org-node-box {
  width: 100%;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Sub-tier cards (Attendants, Technicians) */
.org-sub-stem {
  width: 2px;
  height: 22px;
  background: #CBD5E1;
  margin: 0 auto;
}

.org-sub-node {
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  border-radius: 8px;
  padding: 12px 14px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.org-sub-node:hover {
  transform: translateY(-2px);
}

.org-sub-node .org-node-title {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.org-sub-node .org-node-desc {
  font-size: 11.5px;
  color: #64748B;
}

.org-mobile-scroll-hint {
  display: none;
  text-align: center;
  font-size: 12px;
  color: #94A3B8;
  margin-top: 14px;
}

@media (max-width: 860px) {
  .org-mobile-scroll-hint {
    display: block;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: 70px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
  color: #A1A1AA;
  margin: 16px 0 20px 0;
}

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

.footer-links a {
  color: #A1A1AA;
  font-size: 14px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: #A1A1AA;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #71717A;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.pv-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.pv-toast {
  background: #FFFFFF;
  color: var(--color-text-main);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 420px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s ease;
  pointer-events: auto;
}

.pv-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.pv-toast-success .toast-indicator {
  width: 4px;
  height: 100%;
  background: var(--color-accent);
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 4px 0 0 4px;
}

.toast-content {
  font-size: 13.5px;
  font-weight: 500;
  flex: 1;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--color-text-muted);
  cursor: pointer;
}

/* ==========================================================================
   PRINT STYLES FOR PROFORMA INVOICE
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  #printableProforma, #printableProforma * {
    visibility: visible;
  }
  #printableProforma {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 24px;
    background: #ffffff !important;
    color: #18181B !important;
  }
  .modal-overlay {
    position: static !important;
    background: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .proforma-modal-dialog {
    max-height: none !important;
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }
  .modal-body-scrollable {
    overflow: visible !important;
    padding: 0 !important;
  }
  .modal-top-bar, .cart-overlay, .cart-drawer, .header, .topbar, .footer, #backToTopBtn {
    display: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE UTILITIES & GRIDS
   ========================================================================== */
.service-division-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  border-top: 1px solid #E2E8F0;
  padding-top: 60px;
}

.service-division-grid:first-of-type {
  border-top: none;
  padding-top: 0;
}

.service-division-grid.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.about-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.values-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.industries-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

.proforma-client-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.products-grid.featured-4col {
  grid-template-columns: repeat(4, 1fr);
}

.btn-group-responsive {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile Devices)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 38px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .products-grid,
  .products-grid.featured-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .marketplace-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    display: block;
  }
  
  /* Mobile Store Controls & Off-Canvas Drawer (<= 1024px) */
  .mobile-store-topbar {
    display: block;
  }
  .btn-mobile-filter {
    display: inline-flex;
  }
  .desktop-search-box {
    display: none;
  }
  .desktop-category-group {
    display: none;
  }
  .store-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 360px;
    background: #FFFFFF;
    z-index: 2200;
    padding: 24px 20px;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    border: none;
  }
  .store-sidebar.drawer-open {
    transform: translateX(0);
  }
  .sidebar-close-btn {
    display: block;
  }
  .sidebar-mobile-footer {
    display: block;
  }
  .filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 9, 11, 0.65);
    backdrop-filter: blur(4px);
    z-index: 2199;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    display: block;
  }
  .filter-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .industries-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .client-trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .client-trust-card {
    height: 68px;
  }
  .client-trust-card img {
    max-height: 48px;
  }
}

@media (max-width: 768px) {
  /* Layout & Spacing */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section {
    padding: 50px 0;
  }
  .section-sm {
    padding: 35px 0;
  }
  .section-title {
    font-size: 27px;
    line-height: 1.25;
    margin-bottom: 12px;
  }
  .section-subtitle {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 28px;
  }

  /* Store Hero Banner & Notice on Mobile */
  .store-hero-title {
    font-size: 26px;
    line-height: 1.25;
  }
  .store-hero-desc {
    font-size: 14.5px;
    line-height: 1.5;
  }
  .procurement-notice-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .store-main-section {
    padding-top: 24px;
  }
  .store-warehouse-badge {
    display: none;
  }
  .store-bulk-banner {
    padding: 24px 18px;
    gap: 16px;
    margin-top: 36px;
  }
  .store-bulk-title {
    font-size: 20px;
    line-height: 1.3;
  }
  .store-bulk-cta,
  .store-bulk-cta .btn {
    width: 100%;
  }

  /* Universal iOS input zoom fix (font-size >= 16px) */
  .search-filter-input,
  .checkout-input-field,
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea,
  select {
    font-size: 16px !important;
  }

  /* Mobile Floating Cart Widget Spacing */
  .mobile-floating-cart {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    padding: 10px 14px;
  }

  /* Header & Navigation Drawer */
  .topbar {
    display: none;
  }
  .header {
    height: 64px;
  }
  .header-inner {
    height: 64px;
  }
  .brand-logo img,
  .brand-logo svg {
    max-height: 40px;
    max-width: 190px;
  }
  .header-actions {
    gap: 10px;
  }
  .cart-button-header {
    width: 40px;
    height: 40px;
  }
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: calc(100vh - 64px);
    background: #FFFFFF;
    flex-direction: column;
    padding: 20px 20px 36px 20px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid var(--border-light);
    display: none;
    gap: 4px;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1999;
  }
  .nav-menu.mobile-open {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 22px;
    color: var(--color-primary);
  }
  .nav-link {
    width: 100%;
    padding: 12px 14px;
    font-size: 15.5px;
    border-radius: 8px;
    border-bottom: 1px solid #F4F4F5;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-link:hover, .nav-link.active {
    background: var(--color-accent-subtle);
    color: var(--color-accent);
  }
  .nav-link::after {
    display: none;
  }

  /* Mobile Dropdown Sub-menu */
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--color-accent);
    padding: 4px 0 4px 12px;
    margin: 4px 0 10px 14px;
    width: auto;
    background: transparent;
  }
  .dropdown-item {
    padding: 8px 10px;
    font-size: 13.5px;
  }
  .dropdown-item-desc {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    padding: 50px 0 60px 0;
  }
  .hero-title {
    font-size: 29px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .sybyl-diagnostic-banner {
    padding: 24px 18px;
    margin: -30px 0 40px 0;
    border-radius: 12px;
  }
  .sybyl-diagnostic-banner h3 {
    font-size: 22px;
    line-height: 1.25;
  }
  .sybyl-diagnostic-banner p {
    font-size: 14px;
  }

  /* Grid Layouts Stacked on Mobile */
  .service-division-grid,
  .service-division-grid.reverse {
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding-top: 40px;
  }
  .contact-page-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .contact-card-pad {
    padding: 24px 18px !important;
  }
  .about-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .projects-masonry {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .metric-card {
    padding: 22px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Category Filter Chips on Mobile */
  .filter-pills {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 8px;
    margin-bottom: 16px;
  }
  .filter-pill {
    width: auto;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 6px 14px;
    background: #FFFFFF;
  }
  .project-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 8px;
    margin-bottom: 24px;
  }
  .project-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  /* Modern 2-Column Responsive Product Grid on Mobile Phones */
  .products-grid:not(.list-view),
  .products-grid.featured-4col:not(.list-view) {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .products-grid.list-view {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .products-grid.list-view .product-card {
    grid-template-columns: 105px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .products-grid.list-view .product-image-container {
    height: 105px;
  }

  .products-grid.list-view .product-title {
    font-size: 14px;
  }

  .products-grid.list-view .product-short-desc {
    display: -webkit-box !important;
    font-size: 12px;
    margin-bottom: 6px;
  }

  .products-grid.list-view .product-price-val {
    font-size: 15px;
  }

  .products-grid.list-view .btn-add-cart {
    height: 36px;
    font-size: 12px;
  }

  /* Compact 2-Column Cards */
  .product-card {
    padding: 12px;
    border-radius: 10px;
  }

  .product-badge-tag {
    font-size: 9px;
    padding: 2px 7px;
    top: 8px;
    left: 8px;
  }

  .product-image-container {
    height: 135px;
    margin-bottom: 8px;
    border-radius: 6px;
  }

  .product-image-container svg {
    width: 44px;
    height: 44px;
  }

  .product-meta-row {
    font-size: 10.5px;
    margin-bottom: 4px;
  }

  .product-brand {
    font-size: 10px;
  }

  .product-title {
    font-size: 13px;
    line-height: 1.3;
    min-height: 34px;
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-short-desc {
    display: none; /* Hidden in 2-col mode for clean alignment */
  }

  .product-price-box {
    padding-top: 6px;
    margin-top: auto;
  }

  .product-price-label {
    display: none;
  }

  .product-price-val {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
  }

  .product-actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .btn-add-cart {
    width: 100%;
    height: 38px;
    font-size: 12px;
    padding: 0 8px;
    border-radius: 6px;
  }

  .btn-quick-view {
    display: none; /* Entire card is clickable to open Quick Spec modal */
  }

  .values-grid-2col {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-top: 20px;
  }
  .quick-view-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .form-grid-2col,
  .proforma-client-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-bottom: 12px;
  }
  .modal-overlay {
    padding: 12px;
  }
  .proforma-modal-dialog {
    max-height: 94vh;
    border-radius: 12px;
  }
  .modal-body-scrollable {
    padding: 20px 16px;
  }
  .proforma-header {
    flex-direction: column;
    gap: 16px;
  }
  .proforma-footer {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .proforma-meta-col {
    text-align: left !important;
  }
}

@media (max-width: 540px) {
  .header-actions .btn {
    display: none; /* Hide header text button on small phones so logo and cart remain roomy and never clip */
  }
  .modal-top-bar {
    padding: 12px 14px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand-logo img,
  .brand-logo svg {
    max-height: 38px;
    max-width: 170px;
  }
  .industries-grid-4col {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-top: 20px;
  }
  .btn-group-responsive {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .btn-group-responsive .btn {
    width: 100%;
  }

  /* Cart Drawer Mobile Optimization */
  .cart-drawer-header {
    padding: 16px 18px;
  }
  .cart-drawer-items {
    padding: 16px 18px;
  }
  .cart-drawer-footer {
    padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px)) 18px;
  }
  .cart-item-row {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
    padding: 12px 0;
    align-items: start;
  }
  .cart-item-icon-box {
    width: 48px;
    height: 48px;
  }
  .cart-item-title {
    font-size: 12.5px;
  }
  .qty-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .qty-value {
    padding: 0 8px;
    font-size: 13px;
  }
  .cart-item-linetotal {
    font-size: 13px;
  }

  .partner-logos-grid {
    gap: 10px;
  }
  .partner-badge-item {
    padding: 10px 14px;
    font-size: 13px;
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }
  .client-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .client-trust-card {
    height: 62px;
    padding: 8px 12px;
  }
  .client-trust-card img {
    max-height: 42px;
  }
  .project-client-logo-badge {
    height: 48px;
    max-width: 165px;
    padding: 4px 8px;
  }
  .project-client-logo-badge img {
    height: 38px;
    max-width: 145px;
  }
  .project-header-row {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 10px;
  }
  .project-header-meta {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 350px) {
  /* Extra-narrow devices fallback */
  .products-grid:not(.list-view),
  .products-grid.featured-4col:not(.list-view) {
    grid-template-columns: 1fr !important;
  }
}


