/* ==========================================================================
   ELECTRIFIT.IN - Flagship E-Commerce & Wholesale Design System
   Modern, Ultra-responsive Vanilla CSS Architecture
   ========================================================================== */

:root {
  /* Guru Trader's Brand Identity Colors */
  --color-primary: #0a1f44;          /* Deep Royal Navy */
  --color-primary-light: #1e40af;    /* Electric Royal Blue */
  --color-primary-glow: rgba(30, 64, 175, 0.2);
  --color-secondary: #0f172a;        /* Obsidian Slate */
  --color-gold: #d97706;             /* Flyer Golden Brand Accent */
  --color-gold-light: #fbbf24;
  --color-gold-glow: rgba(245, 158, 11, 0.28);
  --color-accent: #f59e0b;           /* Amber Spark */
  --color-accent-hover: #b45309;
  --color-plumbing: #0284c7;         /* Plumbing Aqua Blue */
  --color-plumbing-light: #38bdf8;
  --color-plumbing-bg: #f0f9ff;
  
  --color-success: #10b981;          /* In Stock / Verified GST */
  --color-success-bg: #ecfdf5;
  --color-danger: #ef4444;           /* Discount / Fire Retardant */
  --color-danger-bg: #fef2f2;
  
  /* Neutral Palette */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;
  
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #ffffff;
  
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-focus: #3b82f6;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.35);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

/* Top Utility / Announcement Bar */
.announcement-bar {
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.2);
  color: var(--color-accent);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.announcement-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-muted);
}

.announcement-links a:hover {
  color: var(--text-light);
}

/* Main Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.875rem 0;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.logo-bolt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.brand-logo .dot-in {
  color: var(--color-accent);
  font-weight: 800;
}

/* Search Bar */
.search-container {
  flex: 1;
  max-width: 540px;
  position: relative;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  transition: all var(--transition-fast);
}

.search-input-wrap:focus-within {
  background: #ffffff;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 4px var(--color-primary-glow);
}

.search-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.65rem 3rem 0.65rem 2.75rem;
  border: none;
  background: transparent;
  font-size: 0.925rem;
  color: var(--text-main);
}

.search-shortcut {
  position: absolute;
  right: 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.1rem 0.4rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 120;
}

.search-dropdown.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition-fast);
}

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

.search-result-item:last-child {
  border-bottom: none;
}

.search-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 2px;
  border: 1px solid var(--border-light);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-b2b {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.btn-b2b:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  background: #1e293b;
}

.btn-b2b .badge-gst {
  background: var(--color-accent);
  color: #0f172a;
  font-size: 0.675rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.btn-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-subtle);
  color: var(--text-main);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.btn-cart:hover {
  background: var(--color-primary-glow);
  color: var(--color-primary-light);
}

.cart-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-danger);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
}

/* Secondary Navigation Bar */
.secondary-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.secondary-nav::-webkit-scrollbar {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.5rem 0;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary-light);
  background: var(--color-primary-glow);
}

.nav-link .tag-hot {
  font-size: 0.65rem;
  background: var(--color-danger);
  color: #ffffff;
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #090d16 0%, #0f172a 60%, #1e293b 100%);
  color: #ffffff;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--color-accent);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #60a5fa, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--color-primary-light);
  color: #ffffff;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.5);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--color-accent);
  color: #0f172a;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px var(--color-accent-glow);
  transition: all var(--transition-fast);
}

.btn-accent:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.hero-stats {
  display: flex;
  gap: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 40px rgba(37, 99, 235, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: var(--bg-dark-card);
}

.hero-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.floating-text .badge-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.floating-text .badge-sub {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ==========================================================================
   Trust & Value Bar
   ========================================================================== */
.trust-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
  box-shadow: var(--shadow-xs);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-text h5 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.trust-text p {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Category Showcase
   ========================================================================== */
.section-padding {
  padding: 3.5rem 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-head .section-tag {
  color: var(--color-primary-light);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.section-head .section-title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.category-img-box {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-subtle);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.category-card:hover .category-img-box img {
  transform: scale(1.08);
}

.category-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.category-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Product Catalog & Filters
   ========================================================================== */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Sidebar Filters */
.filter-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 90px;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

.filter-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-reset-filters {
  font-size: 0.8rem;
  color: var(--color-primary-light);
  font-weight: 600;
}

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

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.filter-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary-light);
  cursor: pointer;
}

.filter-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Price Range Slider */
.price-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-slider {
  width: 100%;
  accent-color: var(--color-primary-light);
}

.price-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* B2B / GST Filter Card */
.b2b-filter-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  margin-top: 1rem;
}

.b2b-filter-box h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.b2b-filter-box p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.toggle-switch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 34px;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider-round {
  background-color: var(--color-primary-light);
}

input:checked + .slider-round:before {
  transform: translateX(16px);
}

/* Main Catalog Area */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
  background: #ffffff;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.catalog-stats {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.catalog-stats strong {
  color: var(--text-main);
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.sort-select {
  padding: 0.4rem 1.5rem 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: pointer;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

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

/* Product Badges */
.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.badge-discount {
  background: var(--color-danger);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
}

.badge-hsn {
  background: #0f172a;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
}

.badge-tag {
  background: var(--color-accent);
  color: #0f172a;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
}

/* Wishlist / Quickview button */
.card-quick-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.btn-icon-action {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.btn-icon-action:hover {
  background: var(--color-primary-light);
  color: #ffffff;
}

/* Product Image Box */
.product-image-box {
  width: 100%;
  height: 190px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  cursor: pointer;
  position: relative;
}

.product-image-box img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform var(--transition-bounce);
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

/* Product Details */
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.product-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #f59e0b;
  font-weight: 700;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
}

.product-specs-chip {
  display: inline-block;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 0.725rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

/* Price Box */
.product-pricing {
  margin-top: auto;
  margin-bottom: 1rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.current-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
}

.original-price {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.gst-note {
  font-size: 0.725rem;
  color: var(--color-success);
  font-weight: 600;
}

/* Bulk Discount Slab in Card */
.bulk-slab-hint {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: #fefce8;
  border: 1px dashed #fde047;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bulk-slab-hint strong {
  color: #854d0e;
}

/* Add to Cart Group */
.card-cta-group {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.5rem;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  overflow: hidden;
}

.qty-btn {
  width: 26px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-main);
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background: #e2e8f0;
}

.qty-input {
  width: 28px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0;
}

.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-primary-light);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  padding: 0.55rem;
  transition: all var(--transition-fast);
}

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

/* ==========================================================================
   B2B & Contractor Spotlight Banner
   ========================================================================== */
.b2b-banner-section {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.b2b-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.b2b-banner-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.b2b-banner-content p {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.b2b-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
}

.b2b-feat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #e2e8f0;
}

.b2b-feat-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.b2b-calculator-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.b2b-calculator-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-input-row {
  margin-bottom: 1rem;
}

.calc-input-row label {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.calc-input-row input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: var(--radius-sm);
}

.calc-result-box {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.calc-result-box .calc-saved-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #34d399;
}

/* ==========================================================================
   Wholesale Brand Showcase
   ========================================================================== */
.brands-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.brands-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.85;
}

.brand-pill {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: #ffffff;
  transition: all var(--transition-fast);
}

.brand-pill:hover {
  color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-head {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
}

.footer-contact-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Shopping Cart Drawer
   ========================================================================== */
.cart-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  z-index: 201;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.cart-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-head h3 {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close-cart {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition-fast);
}

.btn-close-cart:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-empty-state svg {
  margin-bottom: 1rem;
  color: var(--border-subtle);
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  object-fit: contain;
  padding: 4px;
}

.cart-item-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}

.coupon-wrap {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.coupon-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.btn-apply-coupon {
  padding: 0.5rem 1rem;
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-checkout {
  width: 100%;
  padding: 0.85rem;
  background: var(--color-primary-light);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-checkout:hover {
  background: var(--color-primary);
}

.btn-whatsapp-order {
  width: 100%;
  padding: 0.75rem;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

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

/* ==========================================================================
   Modals & Quick View
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
}

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

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.98);
  transition: all var(--transition-bounce);
}

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

.btn-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  z-index: 10;
  transition: background var(--transition-fast);
}

.btn-modal-close:hover {
  background: #e2e8f0;
}

.modal-body {
  padding: 2rem;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-bounce);
  pointer-events: auto;
}

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

.toast-success {
  border-left: 4px solid var(--color-success);
}

.toast-info {
  border-left: 4px solid var(--color-primary-light);
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: all var(--transition-bounce);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   Mobile Bottom Sticky Action Bar (Direct Call, WhatsApp, Cart)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #0a1f44;
  border-top: 2px solid #fbbf24;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
  z-index: 180;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
}

.bottom-action-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 700;
  text-decoration: none;
  height: 100%;
  padding: 0.25rem;
  transition: background 0.15s ease;
  user-select: none;
}

.bottom-action-btn:active {
  background: rgba(255, 255, 255, 0.12);
}

.bottom-action-btn.action-call {
  color: #fbbf24;
}

.bottom-action-btn.action-wa {
  color: #34d399;
}

.bottom-action-btn.action-cart {
  position: relative;
  color: #60a5fa;
  border: none;
  background: transparent;
  cursor: pointer;
}

.bottom-cart-badge {
  position: absolute;
  top: 6px;
  right: 28%;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* Mobile Filter Trigger Button */
.btn-mobile-filter-trigger {
  display: none;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1.5px solid #0a1f44;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  color: #0a1f44;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.btn-mobile-filter-trigger:active {
  background: #eff6ff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .b2b-banner-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px; /* Space for mobile bottom bar */
  }

  .mobile-bottom-bar {
    display: flex;
  }

  .floating-whatsapp {
    bottom: 74px; /* Move above sticky bottom bar */
    width: 46px;
    height: 46px;
  }

  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }

  .announcement-bar {
    font-size: 0.75rem;
    padding: 0.35rem 0;
  }

  .announcement-links {
    display: none;
  }

  .announcement-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
  }

  /* Header Optimization */
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.65rem 0;
  }

  .brand-logo .logo-bolt {
    width: 34px;
    height: 34px;
  }

  .brand-logo span:first-of-type {
    font-size: 1.2rem !important;
  }

  .brand-logo span:last-of-type {
    font-size: 0.65rem !important;
  }

  .header-actions .btn-b2b {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }

  .header-actions .btn-b2b span:last-of-type {
    display: none; /* Hide '18% ITC' badge to save header width */
  }

  .search-container {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .search-input {
    font-size: 0.85rem;
    padding: 0.55rem 2.5rem 0.55rem 2.5rem;
  }

  /* Secondary nav horizontal scrolling */
  .secondary-nav .nav-links {
    gap: 0.75rem;
    padding: 0.4rem 0;
  }

  .secondary-nav .nav-link {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    white-space: nowrap;
  }

  /* Hero Section */
  .hero-section {
    padding: 2rem 0 2.5rem;
  }

  .hero-badge-pill {
    font-size: 0.725rem;
    padding: 0.25rem 0.7rem;
    margin-bottom: 1rem;
    white-space: normal;
    line-height: 1.3;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-title span {
    font-size: 1.35rem !important;
  }

  .hero-desc {
    font-size: 0.925rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .hero-cta-group .btn-accent,
  .hero-cta-group .btn-ghost-light {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.8rem 1.25rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.25rem;
    padding-top: 1.25rem;
  }

  .hero-stats .stat-item h4 {
    font-size: 1.25rem;
  }

  .hero-image-card img {
    height: 200px;
  }

  .hero-floating-badge {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 0.65rem 0.85rem;
  }

  .hero-floating-badge .badge-title {
    font-size: 0.8rem;
  }

  .hero-floating-badge .badge-sub {
    font-size: 0.7rem;
  }

  /* Trust Bar */
  .trust-bar {
    padding: 1rem 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Section Headers */
  .section-padding {
    padding: 2.25rem 0;
  }

  .section-title {
    font-size: 1.45rem;
  }

  /* 4 Brand Tiers */
  .tiers-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .tier-body {
    padding: 1.25rem;
  }

  .tier-brand-pill {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }

  /* Building Structures Guide */
  .structures-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .structure-box {
    padding: 1.25rem;
  }

  /* 10 Masonry Blocks */
  .masonry-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Mobile Filter Collapsible Sidebar */
  .btn-mobile-filter-trigger {
    display: flex;
  }

  .filter-sidebar {
    display: none;
    margin-bottom: 1.5rem;
  }

  .filter-sidebar.open {
    display: block;
    animation: fadeIn 0.25s ease;
  }

  /* Product Catalog Toolbar */
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .catalog-sort {
    justify-content: space-between;
    width: 100%;
  }

  .sort-select {
    flex: 1;
    margin-left: 0.5rem;
  }

  /* Product Cards Grid */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .product-card {
    padding: 1.1rem;
  }

  .product-image-box {
    height: 170px;
  }

  .product-title {
    font-size: 0.95rem;
    height: auto;
    max-height: 2.8rem;
  }

  .card-cta-group {
    grid-template-columns: 80px 1fr;
  }

  .btn-add-cart {
    height: 42px;
    font-size: 0.85rem;
  }

  .qty-btn {
    height: 42px;
    width: 28px;
  }

  /* Cart Drawer Mobile */
  .cart-drawer {
    max-width: 100%;
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 50px 1fr auto;
    gap: 0.75rem;
  }

  .cart-item-img {
    width: 50px;
    height: 50px;
  }

  .cart-item-title {
    font-size: 0.825rem;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-title span {
    font-size: 1.15rem !important;
  }

  .brand-logo span:first-of-type {
    font-size: 1.1rem !important;
  }

  .card-cta-group {
    grid-template-columns: 75px 1fr;
  }
}

/* ==========================================================================
   Guru Trader's Client Specific Sections (IndiaMART Top 10 & Building Guide)
   ========================================================================== */
.flyer-spotlight-bar {
  background: linear-gradient(135deg, #091325, #0f244a);
  border-bottom: 2px solid var(--color-gold);
  color: #ffffff;
  padding: 1.25rem 0;
  text-align: center;
}

.flyer-heading-gold {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.flyer-sub-tamil {
  color: #93c5fd;
  font-size: 0.95rem;
  font-weight: 600;
}

/* 4 Brand Tiers Grid */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tier-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-gold);
}

.tier-header {
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tier-number-badge {
  background: var(--color-gold);
  color: #0f172a;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.tier-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tier-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tier-brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.tier-brand-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tier-card:hover .tier-brand-pill {
  border-color: #93c5fd;
  background: #eff6ff;
}

.tier-feature-tags {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Building Masonry & Conduit Guide */
.building-guide-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 0;
}

.structures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.structure-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 2px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.structure-box:hover {
  border-color: var(--color-primary-light);
}

.structure-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.structure-box .tamil-subtitle {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* 10 Bricks & Blocks Grid */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.masonry-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  border-top: 3px solid #cbd5e1;
}

.masonry-card:hover {
  transform: translateY(-3px);
  border-top-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.masonry-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.masonry-name-en {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.masonry-name-ta {
  font-size: 0.85rem;
  color: var(--color-primary-light);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.masonry-conduit-tip {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  background: var(--bg-subtle);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
  .structures-grid {
    grid-template-columns: 1fr;
  }
}

