/* ==========================================================================
   SURPLUS SUPPLY (surplussupply.shop) - Modern Electronics Design System
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-dark: #090c13;
  --bg-surface-1: #0f1422;
  --bg-surface-2: #161e32;
  --bg-surface-3: #1e2842;
  --bg-glass: rgba(18, 25, 43, 0.75);
  --bg-glass-card: rgba(22, 31, 53, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.3);

  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.25);
  --accent-blue: #3d7eff;
  --accent-purple: #7928ca;
  --accent-green: #00f59b;
  --accent-amber: #ff9e00;
  --accent-red: #ff3366;

  --text-main: #f3f6fc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-dark: #090c13;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00e5ff 0%, #3d7eff 50%, #7928ca 100%);
  --grad-accent: linear-gradient(135deg, #00f59b 0%, #00e5ff 100%);
  --grad-fire: linear-gradient(135deg, #ff9e00 0%, #ff3366 100%);
  --grad-dark: linear-gradient(180deg, #0f1422 0%, #090c13 100%);
  --grad-card: linear-gradient(145deg, rgba(26, 37, 63, 0.7) 0%, rgba(15, 20, 34, 0.8) 100%);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.6);
  --shadow-cyan: 0 0 25px rgba(0, 229, 255, 0.25);
  --shadow-glow: 0 0 35px rgba(61, 126, 255, 0.25);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

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

/* Selection & Scrollbar */
::selection {
  background: var(--accent-cyan);
  color: var(--bg-dark);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-3);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

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

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

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

button {
  cursor: pointer;
}

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

/* Utility Badges & Gradient Text */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

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

/* Common Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 229, 255, 0.5);
  color: #fff;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.btn-glow:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-glass {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}

.btn-glass:hover {
  background: var(--bg-surface-2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #090c13 0%, #111a2f 50%, #090c13 100%);
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  position: relative;
  z-index: 110;
}

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

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.announcement-item i {
  color: var(--accent-cyan);
}

.announcement-item a {
  color: var(--accent-cyan);
  font-weight: 600;
}

.announcement-item a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Header & Navigation (Logo Image ONLY - No Text Beside It)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 12, 19, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

/* Image Logo without text */
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-image {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .logo-image {
  transform: scale(1.06);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.6);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--grad-primary);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-full);
}

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

.badge-hot {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--grad-fire);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  line-height: 1;
}

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

.action-btn {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.action-btn:hover {
  background: var(--bg-surface-3);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.cart-btn {
  width: auto;
  padding: 0 1rem;
  gap: 0.6rem;
}

.action-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent-cyan);
  color: var(--bg-dark);
  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 3px;
  box-shadow: 0 2px 8px rgba(0, 229, 255, 0.4);
}

.cart-total-peek {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-green);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Quick Search Dropdown */
.search-bar-dropdown {
  display: none;
  background: var(--bg-surface-1);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 0;
  animation: slideDown 0.25s ease-out;
}

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

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 0 1rem;
}

.search-input-wrapper .search-icon {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  margin-right: 0.75rem;
}

.search-input-wrapper input {
  width: 100%;
  padding: 0.85rem 0;
  background: transparent;
  color: var(--text-main);
  font-size: 1rem;
}

.search-input-wrapper input::placeholder {
  color: var(--text-dim);
}

.clear-search-btn {
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 0.4rem;
}

.clear-search-btn:hover {
  color: var(--accent-red);
}

.search-quick-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.tag-pill {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  transition: all var(--transition-fast);
}

.tag-pill:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

.blob-1 {
  width: 480px;
  height: 480px;
  background: #00e5ff;
  top: -10%;
  left: -10%;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: #7928ca;
  bottom: 0%;
  right: -5%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(22, 31, 53, 0.85);
  border: 1px solid var(--border-glow);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseAnimation 2s infinite;
}

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

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.65;
}

/* Flash Deal Countdown Card */
.flash-countdown-card {
  background: var(--grad-card);
  border: 1px solid rgba(255, 158, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.countdown-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flash-icon {
  width: 44px;
  height: 44px;
  background: var(--grad-fire);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
}

.countdown-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.04em;
}

.countdown-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.promo-code-badge {
  background: rgba(255, 158, 0, 0.2);
  color: var(--accent-amber);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--accent-amber);
  cursor: pointer;
}

.timer-boxes {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.timer-box {
  background: var(--bg-dark);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  min-width: 52px;
  padding: 0.4rem 0.2rem;
  text-align: center;
}

.timer-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
}

.timer-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.timer-divider {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

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

/* Trust Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border-glass);
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--bg-surface-1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), var(--shadow-cyan);
  transition: transform var(--transition-slow);
}

.visual-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(9, 12, 19, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glow);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  animation: floatAnim 4s ease-in-out infinite;
}

.floating-badge i {
  font-size: 1.3rem;
  color: var(--accent-cyan);
}

.floating-badge small {
  display: block;
  color: var(--text-dim);
  font-size: 0.72rem;
}

.badge-top-right {
  top: 1.5rem;
  right: 1.5rem;
}

.badge-bottom-left {
  bottom: 1.5rem;
  left: 1.5rem;
  animation-delay: 2s;
}

.why-us-section {
  padding: 5rem 0;
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

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

.prop-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.prop-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

.prop-icon {
  width: 46px;
  height: 46px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.prop-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.prop-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.prop-info a {
  color: var(--accent-cyan);
  font-weight: 600;
}

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

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

.category-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.category-card:hover {
  background: var(--bg-surface-2);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-cyan);
}

.category-card:hover::before {
  opacity: 1;
}

.cat-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(61, 126, 255, 0.12);
  border: 1px solid rgba(61, 126, 255, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.category-card:hover .cat-icon-wrap {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  border-color: var(--accent-cyan);
}

.cat-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.cat-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.cat-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.cat-arrow {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.category-card:hover .cat-arrow {
  transform: translateX(4px);
  color: var(--accent-cyan);
}

/* ==========================================================================
   Live Product Catalog & Cards
   ========================================================================== */
.products-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d121e 50%, var(--bg-dark) 100%);
  position: relative;
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface-1);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  overflow-x: auto;
}

.filter-tab {
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-tab:hover {
  color: var(--text-main);
}

.filter-tab.active {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  box-shadow: 0 2px 10px rgba(0, 229, 255, 0.4);
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sort-select {
  background: transparent;
  color: var(--text-main);
  font-size: 0.85rem;
  cursor: pointer;
}

.sort-select option {
  background: var(--bg-surface-2);
  color: var(--text-main);
}

/* Condition Filter Chips Bar */
.condition-chips-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.chips-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.condition-chip {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.condition-chip:hover {
  border-color: var(--accent-blue);
  color: var(--text-main);
}

.condition-chip.active {
  background: rgba(61, 126, 255, 0.2);
  border-color: var(--accent-blue);
  color: #fff;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Product Card Styling */
.product-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
}

.product-card:hover {
  background: var(--bg-surface-2);
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-media {
  position: relative;
  background: #06080d;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

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

.badge-discount {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--grad-fire);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.badge-condition {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.condition-new {
  background: rgba(0, 245, 155, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(0, 245, 155, 0.3);
}

.condition-openbox {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.condition-refurb {
  background: rgba(255, 158, 0, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(255, 158, 0, 0.3);
}

.card-quick-actions {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.product-card:hover .card-quick-actions {
  opacity: 1;
  transform: translateY(0);
}

.quick-action-btn {
  background: rgba(9, 12, 19, 0.9);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(8px);
}

.quick-action-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-dark);
}

/* Product Info */
.product-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--accent-amber);
  margin-bottom: 0.85rem;
}

.rating-count {
  color: var(--text-dim);
}

.product-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.spec-pill {
  font-size: 0.7rem;
  background: var(--bg-surface-3);
  color: var(--text-muted);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.product-pricing {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.current-price {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

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

.stock-indicator {
  font-size: 0.72rem;
  margin-left: auto;
  color: var(--accent-green);
  font-weight: 600;
}

.add-cart-btn {
  width: 100%;
  background: var(--bg-surface-3);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.add-cart-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
}

.add-cart-btn.added {
  background: var(--accent-green);
  color: var(--bg-dark);
}

/* Empty State */
.empty-products {
  text-align: center;
  padding: 4rem 1rem;
  background: var(--bg-surface-1);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-glass);
}

.empty-products i {
  font-size: 3.5rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.empty-products h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.empty-products p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Grading Explainer Section
   ========================================================================== */
.grading-section {
  padding: 4rem 0;
}

.grading-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.grading-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.grading-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.grading-header p {
  color: var(--text-muted);
}

.grading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grade-col {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.grade-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.grade-new {
  background: rgba(0, 245, 155, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(0, 245, 155, 0.3);
}

.grade-openbox {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.grade-refurb {
  background: rgba(255, 158, 0, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(255, 158, 0, 0.3);
}

.grade-col h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.grade-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Order Tracking Section
   ========================================================================== */
.tracking-section {
  padding: 4.5rem 0;
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.tracking-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-cyan);
}

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

.tracking-content h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.tracking-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.98rem;
}

.tracking-form {
  margin-bottom: 2rem;
}

.tracking-input-group {
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.tracking-input-group i {
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.tracking-input-group input {
  flex-grow: 1;
  background: transparent;
  color: var(--text-main);
  font-size: 1rem;
}

/* Tracking Result Card */
.tracking-result {
  background: var(--bg-dark);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: left;
  animation: fadeIn 0.3s ease;
}

.tracking-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tracking-tag {
  display: inline-block;
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.25rem;
}

.carrier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--accent-green);
  font-weight: 600;
}

.timeline-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-3);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
  transition: all var(--transition-fast);
}

.timeline-step.completed .step-icon {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: var(--bg-dark);
}

.timeline-step.active .step-icon {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-dark);
  box-shadow: 0 0 15px var(--accent-cyan);
}

.step-info strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.step-info small {
  color: var(--text-dim);
  font-size: 0.72rem;
}

/* ==========================================================================
   Customer Reviews
   ========================================================================== */
.reviews-section {
  padding: 5rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

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

.review-stars {
  color: var(--accent-amber);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.reviewer-info strong {
  display: block;
  font-size: 0.9rem;
}

.reviewer-info small {
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background: var(--bg-surface-1);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-cyan);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
}

.faq-icon {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
  transition: max-height 0.3s ease-in-out;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-answer a {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Contact & Location Section (Exact User Credentials)
   ========================================================================== */
.contact-section {
  padding: 5rem 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cred-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.cred-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.cred-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.cred-value a {
  color: var(--accent-cyan);
}

.cred-value a:hover {
  text-decoration: underline;
}

.hours-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.hours-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.contact-form-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-dark);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent-cyan);
}

/* ==========================================================================
   Sliding Cart Drawer & Modal Systems
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-surface-1);
  border-left: 1px solid var(--border-glass);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
}

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

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

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.cart-drawer-count {
  color: var(--accent-cyan);
}

.close-drawer-btn {
  background: transparent;
  color: var(--text-muted);
  font-size: 1.25rem;
}

.close-drawer-btn:hover {
  color: var(--accent-red);
}

.shipping-progress-wrap {
  padding: 0.85rem 1.5rem;
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border-glass);
}

.shipping-progress-text {
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.shipping-progress-text strong {
  color: var(--accent-green);
}

.progress-track {
  height: 6px;
  background: var(--bg-dark);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--grad-accent);
  transition: width 0.4s ease;
}

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

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  padding: 0.85rem;
  border-radius: var(--radius-md);
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  flex-shrink: 0;
}

.cart-item-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  background: var(--bg-dark);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.qty-btn:hover {
  background: var(--bg-surface-3);
  color: var(--text-main);
}

.qty-val {
  padding: 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-item-remove {
  background: transparent;
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 0.35rem;
}

.cart-item-remove:hover {
  color: var(--accent-red);
}

.cart-drawer-footer {
  padding: 1.5rem;
  background: var(--bg-surface-2);
  border-top: 1px solid var(--border-glass);
}

.promo-code-box {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.promo-code-box input {
  flex-grow: 1;
  background: var(--bg-dark);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.btn-coupon {
  background: var(--bg-surface-3);
  color: var(--accent-cyan);
  border: 1px solid var(--border-glass);
  padding: 0 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.btn-coupon:hover {
  background: var(--accent-cyan);
  color: var(--bg-dark);
}

.cart-summary-table {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.summary-line {
  display: flex;
  justify-content: space-between;
}

.summary-line.total-line {
  border-top: 1px solid var(--border-glass);
  padding-top: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.summary-line.total-line span:last-child {
  color: var(--accent-cyan);
}

.discount-val {
  color: var(--accent-green);
  font-weight: 700;
}

.checkout-btn {
  padding: 0.95rem;
}

.cart-guarantee-note {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  max-width: 840px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--transition-fast);
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-surface-3);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--accent-red);
  color: #fff;
}

/* Quick View Inner Grid */
.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  padding: 2.5rem;
}

.qv-media {
  background: #06080d;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
}

.qv-media img {
  max-height: 280px;
  object-fit: contain;
}

.qv-info h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.qv-specs-table {
  width: 100%;
  margin: 1.25rem 0;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.qv-specs-table td {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-glass);
}

.qv-specs-table td:first-child {
  color: var(--text-dim);
  width: 40%;
}

.qv-specs-table td:last-child {
  color: var(--text-main);
  font-weight: 600;
}

/* Checkout Success Modal */
.checkout-modal-card {
  max-width: 540px;
  padding: 3rem 2.5rem;
  text-align: center;
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(0, 245, 155, 0.15);
  border: 2px solid var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  font-size: 2.2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 25px rgba(0, 245, 155, 0.3);
}

.success-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.order-receipt-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  text-align: left;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.35rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.receipt-row.total-receipt {
  border-bottom: none;
  font-size: 1.05rem;
  color: var(--text-main);
  padding-top: 0.6rem;
}

.receipt-row.total-receipt strong {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: rgba(15, 20, 34, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  pointer-events: auto;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast i {
  font-size: 1.15rem;
  color: var(--accent-cyan);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 2rem;
}

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

/* Brand col with standalone image logo */
.brand-col .footer-logo-link {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-social-links a:hover {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  border-color: var(--accent-cyan);
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-cyan);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
  display: inline-block;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-list i {
  color: var(--accent-cyan);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: var(--text-main);
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.5rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */
@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-subtitle {
    margin: 0 auto 2rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .announcement-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--bg-surface-1);
    border-bottom: 1px solid var(--border-glass);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .mobile-toggle {
    display: flex;
  }
  .cart-total-peek {
    display: none;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grading-grid, .reviews-grid, .timeline-stepper {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .quick-view-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

@media (max-width: 520px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .value-props-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  .stat-divider {
    display: none;
  }
  .flash-countdown-card {
    flex-direction: column;
    text-align: center;
  }
}
