/* ==========================================================================
   COMPUTER HOUSE — DEMO LIGHT DESIGN SYSTEM (ZERO-SQL / STANDALONE)
   ========================================================================== */

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

:root {
  /* Dynamic Primary Branding Variables */
  --primary-color: #FF3E00;
  --primary-hover: #E03700;
  --secondary-color: #2563EB;
  --header-bg: #000000;
  --header-text: #FFFFFF;
  --slider-accent: #FF3E00;

  /* Theme Tokens — Light Mode (Default) */
  --bg-base: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-input: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border-color: #E2E8F0;
  --border-focus: #CBD5E1;

  /* Accents */
  --accent-whatsapp: #25D366;
  --accent-green: #10B981;
  --accent-blue: #3B82F6;
  --accent-amber: #F59E0B;
  --accent-red: #EF4444;

  /* Shadows & Radii */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.12);
  --shadow-float: 0 8px 24px rgba(37, 211, 102, 0.35);
  --radius-card: 16px;
  --radius-pill: 9999px;
  --radius-input: 8px;
  --radius-sm: 8px;

  /* Fonts */
  --font-body: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

[data-theme="dark"] {
  --bg-base: #0B0F17;
  --bg-surface: #131B2A;
  --bg-input: #1A2436;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-color: #1E293B;
  --border-focus: #334155;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.65);
}

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

html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 200ms ease, color 200ms ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.font-mono, .price-tag {
  font-family: var(--font-mono);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Common Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 180ms ease;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 62, 0, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 180ms ease;
}
.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-icon {
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: all 150ms ease;
}
.btn-icon:hover {
  border-color: var(--primary-color);
}

/* Announcement Top Bar */
.top-announcement {
  background-color: var(--primary-color);
  color: #FFFFFF;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

/* Header & Sticky Navigation */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}

.header-main {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

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

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.search-wrapper {
  flex: 1;
  max-width: 560px;
  position: relative;
}

.search-input {
  width: 100%;
  background-color: var(--bg-base);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 9px 16px 9px 38px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 62, 0, 0.15);
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
}

/* Search Dropdown Results */
.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
  margin-top: 6px;
  max-height: 380px;
  overflow-y: auto;
  z-index: 2000;
  display: none;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color 120ms ease;
}
.search-result-item:hover {
  background-color: var(--bg-base);
}

/* Primary Horizontal Sub-Nav Bar */
.header-primary-nav {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 6px 0;
}
.header-primary-nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-links-row {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links-row::-webkit-scrollbar {
  display: none;
}

.nav-link-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 150ms ease;
}
.nav-link-btn:hover, .nav-link-btn.active {
  color: var(--primary-color);
  font-weight: 700;
}

/* Hero Carousel Banner */
.hero-carousel {
  position: relative;
  min-height: 440px;
  border-radius: 20px;
  padding: 36px 44px;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 60%, #090D16 100%);
  margin: 16px 0 28px 0;
}

.hero-grid-2col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 520px;
}

.hero-badges-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-badge-v-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #E2E8F0;
}
.hero-badge-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Staged 3D Product Composition on Circular Raised Platforms */
.hero-staged-composition {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-large {
  position: absolute;
  bottom: 20px;
  width: 320px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 70%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transform: perspective(400px) rotateX(40deg);
  z-index: 1;
}

.platform-medium {
  position: absolute;
  bottom: 40px;
  width: 240px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(51, 65, 85, 0.7) 0%, rgba(30, 41, 59, 0.9) 70%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  transform: perspective(400px) rotateX(40deg);
  z-index: 2;
}

.platform-glow {
  position: absolute;
  bottom: 48px;
  width: 160px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 24px rgba(255, 62, 0, 0.35);
  transform: perspective(400px) rotateX(40deg);
  z-index: 3;
}

.staged-center {
  position: relative;
  z-index: 5;
  transform: translateY(-10px);
}
.staged-center img {
  width: 240px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.5));
}

.staged-left {
  position: absolute;
  left: 10px;
  bottom: 50px;
  z-index: 6;
  transform: scale(0.85) rotate(-8deg);
}
.staged-left img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.6));
}

.staged-right {
  position: absolute;
  right: 10px;
  bottom: 50px;
  z-index: 6;
  transform: scale(0.85) rotate(8deg);
}
.staged-right img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.6));
}

.floating-quality-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  backdrop-filter: blur(6px);
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
}

/* Category Quick Tiles Grid */
.hero-category-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.category-tile-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 200ms ease;
  box-shadow: var(--shadow-card);
}
.category-tile-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}

.tile-img-box {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.tile-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Section Headers & Carousel Controls */
.section-header-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  text-align: center;
}

.section-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 62, 0, 0.1);
  color: var(--primary-color);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.section-carousel-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 150ms ease;
}
.carousel-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: scale(1.05);
}

/* Category Pill Tabs */
.category-pill-tab-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 8px 18px 8px;
  max-width: 100%;
  width: max-content;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-pill-tab-bar::-webkit-scrollbar {
  display: none;
}

.category-pill-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 180ms ease;
}
.category-pill-tab:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}
.category-pill-tab.active {
  background-color: var(--primary-color);
  color: #FFFFFF !important;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(255, 62, 0, 0.25);
}

/* Product Card Anatomy & Grid */
.product-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(255, 62, 0, 0.3);
}

.product-img-wrapper {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 12px;
  cursor: pointer;
}
.product-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 200ms ease;
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.04);
}

.product-brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.product-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  margin-bottom: 8px;
}

.product-price-strikethrough {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-family: var(--font-mono);
  font-weight: 600;
}

.product-price-current {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.product-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-green);
  background-color: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
  font-family: var(--font-mono);
}

/* Floating Bottom Notification Bar */
.floating-bottom-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: calc(100vw - 32px);
  animation: slideUpFloat 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUpFloat {
  from {
    transform: translate(-50%, 20px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

/* PC Builder Step Wizard */
.builder-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background-color: var(--bg-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.watt-meter-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-base);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
}

/* Customizer Drawer (Live In-Browser CMS) */
.customizer-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  z-index: 4000;
  transition: right 300ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.customizer-drawer.open {
  right: 0;
}

/* Cart Overlay & Drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: none;
  justify-content: flex-end;
}
.cart-overlay.open {
  display: flex;
}
.cart-drawer {
  width: 390px;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   PREVIEW SHOWCASE ENHANCEMENTS & CMS STYLING
   ========================================================================== */

/* Dual-Pane Hero Container */
.hero-dual-pane {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  margin: 16px 0 24px 0;
  align-items: stretch;
}

/* Hero Left Category PRO Sidebar */
.hero-cat-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-cat-sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 8px;
}
.hero-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.hero-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 150ms ease;
}
.hero-cat-item:hover {
  background: rgba(255, 62, 0, 0.08);
  color: var(--primary-color);
  transform: translateX(4px);
}
.cat-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-icon {
  font-size: 15px;
}
.cat-count-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-base);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
}
.hero-cat-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
  cursor: pointer;
}
.hero-cat-footer:hover {
  text-decoration: underline;
}

/* Right Main Promotional Banner */
.hero-main-banner {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-card);
  padding: 32px 36px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 60%, #090D16 100%);
}
.hero-banner-content {
  position: relative;
  z-index: 2;
}

/* 6 Pastel Category Pill Cards Strip */
.hero-pastel-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 20px 0 24px 0;
}
.pastel-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  border: 1px solid transparent;
}
.pastel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.pastel-blue {
  background: #F0F9FF;
  border-color: #BAE6FD;
}
.pastel-amber {
  background: #FFFBEB;
  border-color: #FDE68A;
}
.pastel-green {
  background: #F0FDF4;
  border-color: #BBF7D0;
}
.pastel-purple {
  background: #FAF5FF;
  border-color: #E9D5FF;
}
.pastel-teal {
  background: #F0FDFA;
  border-color: #99F6E4;
}
.pastel-rose {
  background: #FFF1F2;
  border-color: #FECDD3;
}
[data-theme="dark"] .pastel-blue { background: rgba(2, 132, 199, 0.12); border-color: rgba(2, 132, 199, 0.3); }
[data-theme="dark"] .pastel-amber { background: rgba(217, 119, 6, 0.12); border-color: rgba(217, 119, 6, 0.3); }
[data-theme="dark"] .pastel-green { background: rgba(22, 163, 74, 0.12); border-color: rgba(22, 163, 74, 0.3); }
[data-theme="dark"] .pastel-purple { background: rgba(147, 51, 234, 0.12); border-color: rgba(147, 51, 234, 0.3); }
[data-theme="dark"] .pastel-teal { background: rgba(13, 148, 136, 0.12); border-color: rgba(13, 148, 136, 0.3); }
[data-theme="dark"] .pastel-rose { background: rgba(225, 29, 72, 0.12); border-color: rgba(225, 29, 72, 0.3); }

.pastel-icon-box {
  font-size: 22px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  flex-shrink: 0;
}
[data-theme="dark"] .pastel-icon-box {
  background: rgba(0, 0, 0, 0.35);
}
.pastel-info {
  display: flex;
  flex-direction: column;
}
.pastel-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  color: var(--text-muted);
}
.pastel-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

/* 4 Trust Badges Strip */
.trust-badges-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  margin-bottom: 28px;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 62, 0, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.trust-badge-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.trust-badge-desc {
  font-size: 11px;
  color: var(--text-secondary);
}

/* 3-Column PC Builder Architecture */
.builder-3col-grid {
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

/* Builder Stepper Sidebar (Col 1) */
.builder-stepper-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.stepper-sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}
.builder-stepper-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stepper-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-base);
  cursor: pointer;
  transition: all 150ms ease;
}
.stepper-item:hover {
  border-color: var(--primary-color);
}
.stepper-item.active {
  border-color: var(--primary-color);
  background: rgba(255, 62, 0, 0.06);
}
.stepper-item.completed {
  border-color: var(--accent-green);
}
.stepper-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stepper-item.active .stepper-num {
  background: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
}
.stepper-item.completed .stepper-num {
  background: var(--accent-green);
  color: #FFFFFF;
  border-color: var(--accent-green);
}
.stepper-meta {
  flex: 1;
  min-width: 0;
}
.stepper-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stepper-status {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stepper-item.completed .stepper-status {
  color: var(--accent-green);
  font-weight: 600;
}

/* Builder Selection Center Column (Col 2) */
.builder-selection-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.builder-step-instructions {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 16px 20px;
}
.builder-step-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.builder-components-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.builder-component-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 18px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.builder-component-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}
.builder-component-card.selected {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px var(--accent-green);
}
/* Signature Green Status Line */
.builder-green-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
}

/* Builder Sticky HUD (Col 3) */
.builder-sticky-hud {
  position: sticky;
  top: 110px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hud-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.hud-socket-box {
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 12px;
}
.hud-socket-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-green);
  margin: 3px 0;
}
.hud-socket-status {
  font-size: 10px;
  color: var(--text-muted);
}
.hud-power-gauge {
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
}
.hud-gauge-bar-track {
  width: 100%;
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}
.hud-gauge-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #F59E0B 75%, #EF4444 100%);
  border-radius: 4px;
  transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hud-summary-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
}
.hud-slot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  padding: 6px 8px;
  background: var(--bg-base);
  border-radius: 6px;
}
.hud-slot-key {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  width: 60px;
}
.hud-slot-name {
  flex: 1;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 6px;
}
.hud-slot-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-primary);
}
.hud-footer {
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   ADMIN CMS DASHBOARD STYLING
   ========================================================================== */
.admin-dashboard-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 85vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 16px 0 40px 0;
  box-shadow: var(--shadow-card);
}
.admin-sidebar {
  background: #0B0F17;
  color: #F8FAFC;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #1E293B;
}
.admin-sidebar-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #1E293B;
}
.admin-status-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}
.admin-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  flex: 1;
}
.admin-nav-section-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #64748B;
  margin-bottom: 4px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 150ms ease;
  width: 100%;
}
.admin-nav-item:hover {
  background: #1E293B;
  color: #FFFFFF;
}
.admin-nav-item.active {
  background: #1E293B;
  color: var(--primary-color);
  font-weight: 700;
}
.admin-sidebar-footer {
  padding-top: 16px;
  border-top: 1px solid #1E293B;
}

/* Admin Main Area */
.admin-main-area {
  padding: 24px;
  background: var(--bg-base);
  overflow-y: auto;
}
.admin-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.admin-top-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  width: 380px;
  max-width: 100%;
}
.admin-top-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  color: var(--text-primary);
}
.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-notif-wrapper {
  position: relative;
}
.admin-notif-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
}
.admin-notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--primary-color);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}
.admin-notif-tray {
  display: none;
  position: absolute;
  top: 44px;
  right: 0;
  width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  z-index: 100;
}
.admin-notif-tray.open {
  display: block;
}
.notif-tray-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notif-tray-list {
  display: flex;
  flex-direction: column;
  max-height: 280px;
  overflow-y: auto;
}
.notif-tray-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
}
.notif-tray-item:hover {
  background: var(--bg-base);
}
.notif-tray-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  margin-top: 4px;
  flex-shrink: 0;
}

/* KPI Cards Grid */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.admin-kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.kpi-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.kpi-icon-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.kpi-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}
.kpi-subtitle {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Admin Section Cards & Cat Distribution */
.admin-section-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.admin-cat-dist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-progress-track {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}
.cat-progress-fill {
  height: 100%;
  border-radius: 3px;
}

/* Admin Inventory Table */
.admin-table-wrapper {
  width: 100%;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.admin-table th {
  background: var(--bg-base);
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-color);
}
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
.admin-table tr:hover td {
  background: var(--bg-base);
}
.table-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.table-stock-badge.in-stock {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}
.table-stock-badge.low-stock {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
}
.table-stock-badge.out-stock {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
}
.status-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}
.table-action-btn {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  margin-left: 4px;
}
.table-action-btn:hover {
  background: var(--bg-base);
  border-color: var(--primary-color);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1280px) {
  .hero-dual-pane {
    grid-template-columns: 220px 1fr;
  }
  .hero-pastel-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .builder-3col-grid {
    grid-template-columns: 240px 1fr 300px;
  }
}

@media (max-width: 1024px) {
  .hero-dual-pane {
    grid-template-columns: 1fr;
  }
  .hero-cat-sidebar {
    display: none;
  }
  .hero-main-banner {
    grid-template-columns: 1fr;
  }
  .hero-staged-composition {
    display: none;
  }
  .product-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .builder-3col-grid {
    grid-template-columns: 1fr;
  }
  .builder-sticky-hud {
    position: static;
  }
  .admin-dashboard-container {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    display: none;
  }
  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }
  .admin-cat-dist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .builder-components-grid {
    grid-template-columns: 1fr;
  }
  .trust-badges-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-pastel-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-main-flex {
    flex-wrap: wrap;
  }
  .search-wrapper {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .product-grid-4 {
    grid-template-columns: 1fr;
  }
  .hero-main-banner {
    padding: 24px 16px;
  }
  .hero-title {
    font-size: 22px;
  }
  .trust-badges-strip {
    grid-template-columns: 1fr;
  }
  .hero-pastel-strip {
    grid-template-columns: 1fr;
  }
  .admin-cat-dist-grid {
    grid-template-columns: 1fr;
  }
}

