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

:root {
  /* Design Tokens */
  --bg-dark: #1a1d23;
  --bg-dark-hover: #2a2d35;
  --bg-body: #f0f2f5;
  --bg-card: #ffffff;
  
  --accent-primary: #00c853;
  --accent-hover: #00a844;
  --accent-blue: #2979ff;
  --accent-blue-hover: #1565c0;
  
  --text-primary: #1a1d23;
  --text-secondary: #5f6368;
  --text-light: #9aa0a6;
  
  --price-color: #d32f2f;
  
  --badge-bg: #e8f5e9;
  --badge-text: #2e7d32;
  
  --border: #e0e0e0;
  --border-light: #f0f0f0;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  --header-height: 140px;
  --category-nav-height: 44px;
  --sidebar-width: 280px;
  
  --font-primary: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: #9e9e9e;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-primary);
}

/* ==========================================================================
   1. Top Utility Bar
   ========================================================================== */
#top-bar {
  background-color: var(--bg-dark);
  color: #ffffff;
  font-size: 12px;
  padding: 6px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.top-bar-divider {
  color: #4a4a4a;
  user-select: none;
}

/* ==========================================================================
   2. Main Header
   ========================================================================== */
#main-header {
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.logo-text h1 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  margin: 0;
}

.logo-tagline {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 2px;
}

.search-section {
  flex: 1;
  max-width: 560px;
  margin: 0 auto;
}

.search-bar {
  display: flex;
  position: relative;
  width: 100%;
}

#global-search {
  width: 100%;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0 16px;
  font-size: 14px;
  background-color: var(--bg-body);
  transition: all 0.2s ease;
}

#global-search:focus {
  border-color: var(--accent-blue);
  background-color: #ffffff;
}

.search-icon {
  height: 42px;
  padding: 0 20px;
  background-color: var(--accent-blue);
  color: #ffffff;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.search-icon:hover {
  background-color: var(--accent-blue-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-visit-store {
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
  background: transparent;
  height: 38px;
  font-size: 13px;
}

.btn-visit-store:hover {
  background-color: rgba(41, 121, 255, 0.05);
}

.btn-whatsapp {
  background-color: var(--accent-primary);
  color: #ffffff;
  height: 38px;
  font-size: 13px;
  border: none;
}

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

/* ==========================================================================
   3. Category Navigation
   ========================================================================== */
#category-nav {
  background-color: var(--bg-dark);
  position: sticky;
  top: 74px; /* Approx height of header */
  z-index: 90;
  height: var(--category-nav-height);
  box-shadow: var(--shadow-sm);
}

.category-nav-content {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  height: 100%;
}

.category-nav-content::-webkit-scrollbar {
  display: none;
}

.category-tab {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 18px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}

.category-tab:hover {
  color: #ffffff;
  background-color: var(--bg-dark-hover);
}

.category-tab.active {
  color: #ffffff;
}

.category-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent-primary);
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
#hero {
  margin: 20px 0;
}

.hero-carousel {
  position: relative;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.carousel-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 60px;
  position: relative;
}

.carousel-slide:nth-child(1) {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 100%);
}

.carousel-slide:nth-child(2) {
  background: linear-gradient(135deg, #0a2e1a 0%, #1a3a2a 100%);
}

.slide-content {
  max-width: 500px;
  z-index: 2;
  animation: slideUp 0.8s ease backwards;
}

.slide-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

.slide-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.slide-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.slide-cta {
  background-color: var(--accent-primary);
  color: #ffffff;
  padding: 12px 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.slide-cta:hover {
  background-color: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dots span.active {
  background: #ffffff;
  transform: scale(1.2);
}

/* Feature Cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border-light);
  border-left: 4px solid transparent;
}

.feature-card:nth-child(1) { border-left-color: #4caf50; }
.feature-card:nth-child(2) { border-left-color: #2196f3; }
.feature-card:nth-child(3) { border-left-color: #ff9800; }

.feature-card svg {
  width: 32px;
  height: 32px;
  fill: var(--text-secondary);
  flex-shrink: 0;
}

.feature-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

/* Mobile-only feature slides - hidden on desktop */
.slide-feature {
  display: none;
}

/* ==========================================================================
   5. Catalog Section
   ========================================================================== */
#catalog {
  margin-bottom: 40px;
}

.catalog-header-mobile {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.catalog-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Sidebar */
.catalog-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 130px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  border: 1px solid var(--border-light);
}

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

.sidebar-header h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.sidebar-close-btn {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--bg-body);
  color: var(--text-secondary);
}

.sidebar-close-btn:hover {
  background: var(--border);
  color: var(--text-primary);
}

.sidebar-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.catalog-toolbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.toolbar-count {
  font-size: 13px;
  color: var(--text-secondary);
}

.feature-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-body);
  border-radius: var(--radius-md);
}

.feature-text h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.footer-hours {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-hours strong {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-primary) !important;
  font-size: 13px;
  font-weight: 600;
}

.footer-map-link:hover {
  color: var(--accent-hover) !important;
}

.modal-product-price {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--price-color);
  display: block;
  margin-top: 4px;
}

.modal-product-gst {
  font-size: 11px;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}

.modal-product-info h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.contact-item strong {
  display: block;
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-item p {
  margin: 0;
  font-size: 13px;
}

.sidebar-section {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-section:last-child {
  border-bottom: none;
}

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

.sidebar-search {
  width: 100%;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  font-size: 12px;
  background-color: var(--bg-body);
  margin-bottom: 12px;
}

.sidebar-search:focus {
  border-color: var(--accent-blue);
  background-color: #ffffff;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.filter-group label:hover {
  background-color: var(--bg-body);
  color: var(--text-primary);
}

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

#sort-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-primary);
  background-color: #ffffff;
  cursor: pointer;
}

#product-count {
  background: var(--badge-bg);
  color: var(--badge-text);
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

/* Sidebar Toggle for Mobile */
.sidebar-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  backdrop-filter: blur(2px);
}

/* Main Content & Grid */
.catalog-main {
  flex: 1;
  min-width: 0; /* Prevents overflow in flex child */
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Product Card */
.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #bdbdbd;
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Category Badges Styling */
.badge-processors { background-color: #e3f2fd; color: #1565c0; }
.badge-graphics { background-color: #fce4ec; color: #c62828; }
.badge-motherboards { background-color: #f3e5f5; color: #6a1b9a; }
.badge-ram { background-color: #e8f5e9; color: #2e7d32; }
.badge-storage { background-color: #fff3e0; color: #e65100; }
.badge-monitors { background-color: #e0f2f1; color: #00695c; }
.badge-peripherals { background-color: #fbe9e7; color: #bf360c; }
.badge-components { background-color: #f1f8e9; color: #558b2f; }

.card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #fafafa;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-brand {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.card-title a {
  color: inherit;
}

.card-title a:hover {
  color: var(--accent-blue);
}

.card-stock {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #2e7d32;
  font-weight: 500;
  margin-bottom: 8px;
}

.stock-dot {
  width: 6px;
  height: 6px;
  background-color: #4caf50;
  border-radius: 50%;
  position: relative;
}

.stock-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background-color: rgba(76, 175, 80, 0.5);
  animation: pulse 2s infinite;
}

.card-price {
  margin-top: auto; /* Push to bottom */
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.price-current {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--price-color);
}

.price-current::before {
  content: '₹';
  margin-right: 2px;
}

.price-mrp {
  font-size: 12px;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 6px;
}

.price-mrp::before {
  content: '₹';
}

.price-gst {
  font-size: 10px;
  color: var(--text-light);
  margin-left: auto;
  align-self: center;
}

.card-action {
  margin-top: 10px;
}

.btn-buy {
  width: 100%;
  background-color: var(--accent-primary);
  color: #ffffff;
  height: 38px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: uppercase;
}

.btn-buy svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

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

/* No Results State */
.no-results {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  grid-column: 1 / -1;
}

.no-results svg {
  width: 64px;
  height: 64px;
  fill: var(--border);
  margin-bottom: 16px;
}

.no-results h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.no-results p {
  color: var(--text-secondary);
}

/* ==========================================================================
   6. Buy Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

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

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

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

.modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: var(--text-secondary);
}

.modal-close:hover {
  background: #e0e0e0;
  color: var(--text-primary);
}

.modal-product {
  display: flex;
  padding: 20px;
  gap: 16px;
  border-bottom: 1px solid var(--border-light);
}

.modal-product-image {
  width: 80px;
  height: 80px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fafafa;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-product-info {
  flex: 1;
}

.modal-product-info .card-title {
  font-size: 14px;
  margin-bottom: 8px;
  -webkit-line-clamp: 3;
}

.modal-product-info .price-current {
  font-size: 18px;
}

.modal-contact {
  padding: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-secondary);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-actions {
  padding: 20px;
  border-top: 1px solid var(--border-light);
}

.btn-whatsapp-order {
  width: 100%;
  height: 48px;
  background: var(--accent-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp-order:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

/* ==========================================================================
   7. Inquiry Banner
   ========================================================================== */
#inquiry-banner {
  margin: 40px 0;
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  border-radius: var(--radius-md);
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  box-shadow: var(--shadow-md);
}

#inquiry-banner h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

#inquiry-banner p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.inquiry-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-call {
  background-color: var(--accent-blue);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.btn-call:hover {
  background-color: var(--accent-blue-hover);
}

.btn-quote {
  background-color: var(--accent-primary);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

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

/* ==========================================================================
   8. Footer
   ========================================================================== */
#footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-top: 60px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-left: 10px;
  border-left: 3px solid var(--accent-primary);
}

.footer-section p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section a {
  font-size: 13px;
  color: var(--text-light);
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-section a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-payments {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333333;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 11px;
  color: var(--text-light);
  background: rgba(255,255,255,0.02);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: #666666;
  background-color: #15171c; /* Slightly darker */
}

/* ==========================================================================
   About Section
   ========================================================================== */
#about {
  padding: 60px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-lead {
  font-size: 20px;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.about-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 500;
}

.about-feature svg {
  color: var(--accent-primary);
}

/* ==========================================================================
   9. Animations
   ========================================================================== */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.fade-in {
  animation: fadeIn 0.5s ease;
}

/* ==========================================================================
   10. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  .feature-card {
    padding: 16px;
  }
}

@media (max-width: 992px) {
  /* Catalog Layout */
  .catalog-header-mobile {
    display: flex;
  }
  
  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    max-height: 100vh;
    z-index: 9999;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border: none;
    box-shadow: var(--shadow-lg);
  }

  .sidebar-close-btn {
    display: flex;
  }

  .catalog-toolbar {
    display: flex;
  }
  
  body.sidebar-open {
    overflow: hidden;
  }
  
  body.sidebar-open .catalog-sidebar {
    transform: translateX(0);
  }
  
  body.sidebar-open .sidebar-overlay {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  
  .catalog-main {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Header adjustments */
  .header-content {
    gap: 16px;
  }
  
  .search-section {
    max-width: none;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  /* MOBILE: Hide top utility bar completely */
  #top-bar {
    display: none !important;
  }

  /* MOBILE: Hide category nav strip */
  #category-nav {
    display: none !important;
  }

  /* MOBILE: Hide the standalone feature cards (they're now in carousel) */
  .feature-cards {
    display: none !important;
  }

  /* MOBILE: Show the feature slides in carousel */
  .slide-feature {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .slide-feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100% !important;
  }

  .slide-feature-icon {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .slide-feature-title {
    font-size: 16px !important;
    letter-spacing: 0.5px;
  }

  .slide-feature .slide-subtitle {
    font-size: 12px;
    margin-bottom: 0;
    line-height: 1.4;
  }

  /* Feature slides now receive dynamic backgrounds via JavaScript */

  /* Adjust header for no top bar */
  #main-header {
    top: 0;
  }

  /* Header */
  .header-content {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .logo-section {
    width: auto;
  }
  
  .header-actions {
    margin-left: auto;
  }
  
  .btn-visit-store, .btn-whatsapp {
    padding: 0 10px;
  }
  
  .btn-visit-store span, .btn-whatsapp span {
    display: none;
  }
  
  .search-section {
    width: 100%;
    order: 3;
    flex: 0 0 100%;
  }
  
  /* Hero */
  .hero-carousel {
    height: 300px;
  }
  
  .slide-1, .slide-2, .slide-3, .slide-4, .slide-5, .slide-6 {
    background-position: center !important;
  }
  
  .carousel-slide {
    padding: 0 30px;
    justify-content: center;
    text-align: center;
  }
  
  .carousel-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
    pointer-events: none;
  }
  
  .slide-content {
    z-index: 2;
  }
  
  .slide-title {
    font-size: 24px;
  }
  
  .slide-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
  }

  /* Grid */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .card-body {
    padding: 10px;
  }
  
  .price-current {
    font-size: 16px;
  }
  
  .price-gst {
    display: none;
  }

  /* Adjust catalog top to account for removed category nav */
  #catalog {
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  /* General */
  :root {
    --header-height: 180px;
  }
  
  .container {
    padding: 0 12px;
  }
  
  /* Hero */
  .hero-carousel {
    height: 280px;
  }
  
  .slide-title {
    font-size: 22px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-section {
    text-align: center;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .footer-section:last-child {
    border-bottom: none;
  }
  
  .footer-section h4 {
    border-left: none;
    padding-left: 0;
    margin-bottom: 12px;
  }
  
  .footer-section ul {
    align-items: center;
  }
  
  .footer-contact p {
    justify-content: center;
    display: flex;
    gap: 8px;
  }

  /* Product Card */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .card-image {
    padding: 8px;
  }
  
  .card-title {
    font-size: 12px;
  }
  
  .btn-buy {
    font-size: 11px;
    height: 32px;
  }
  
  .btn-buy svg {
    width: 14px;
    height: 14px;
  }
  
  .price-current {
    font-size: 14px;
  }
  
  .price-mrp {
    font-size: 10px;
  }
  
  /* Modal */
  .modal-product {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
