/* =====================================================================
   Pro100Technika — Tech Dark Stylesheet
   Pure CSS port from Next.js + Tailwind version
   ===================================================================== */

/* ============== Reset & Base ============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #0B132B;
  color: #E8EEF4;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: #E8EEF4; }

/* ============== Variables ============== */
:root {
  --bg-base: #0B132B;
  --bg-surface: #0F2A3F;
  --bg-elevated: #163B53;
  --text-primary: #E8EEF4;
  --text-muted: #94A3B8;
  --teal: #0E7C66;
  --teal-bright: #14B8A6;
  --teal-soft: rgba(14, 124, 102, 0.15);
  --border: rgba(232, 238, 244, 0.1);
  --border-strong: rgba(232, 238, 244, 0.2);
  --danger: #EF4444;
  --warning: #F59E0B;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-glow: 0 0 24px 0 rgba(20, 184, 166, 0.45);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* ============== Typography helpers ============== */
.tech-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.muted { color: var(--text-muted); }
.center { text-align: center; }

/* ============== Layout helpers ============== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section { padding: 4rem 0; }
@media (min-width: 1024px) { .section { padding: 5rem 0; } }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.section-subtitle {
  max-width: 42rem;
  margin: 0.75rem auto 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.25;
}
.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4);
}
.btn-primary:hover {
  background: var(--teal-bright);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.btn-outline {
  background: transparent;
  border-color: rgba(20, 184, 166, 0.4);
  color: var(--teal-bright);
}
.btn-outline:hover {
  background: rgba(20, 184, 166, 0.1);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}
.btn-secondary:hover {
  border-color: rgba(20, 184, 166, 0.4);
  color: var(--teal-bright);
}
.btn-danger {
  background: var(--danger);
  color: white;
}
.btn-danger:hover { background: #DC2626; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.75rem; }
.btn-block { width: 100%; }
.btn-icon {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}
.btn-icon:hover { border-color: rgba(20, 184, 166, 0.4); color: var(--teal-bright); }

/* ============== Badges ============== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}
.badge-teal { background: var(--teal); color: white; }
.badge-soft-teal { background: rgba(20, 184, 166, 0.15); color: var(--teal-bright); }
.badge-outline { border: 1px solid rgba(20, 184, 166, 0.4); color: var(--teal-bright); background: transparent; }
.badge-amber { background: var(--warning); color: white; }
.badge-red { background: var(--danger); color: white; }
.badge-muted { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); }

/* ============== Header ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo { display: flex; align-items: center; gap: 0.625rem; }
.logo-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
  color: white;
}
.logo-icon svg { width: 1.25rem; height: 1.25rem; }
.logo-text { line-height: 1.1; }
.logo-text strong { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-primary); }
.logo-text strong span { color: var(--teal-bright); }
.logo-text small {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.main-nav { display: none; gap: 1.75rem; }
@media (min-width: 768px) { .main-nav { display: flex; } }
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--teal-bright); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-match-toggle { display: none; }
@media (min-width: 768px) { .btn-match-toggle { display: inline-flex; } }

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  transition: all 0.2s;
}
.cart-btn:hover { border-color: rgba(20, 184, 166, 0.4); color: var(--teal-bright); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 4px;
  border-radius: 9999px;
  background: var(--teal-bright);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.4);
}

.mobile-menu-btn { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: rgba(255, 255, 255, 0.05); color: var(--text-primary); }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

.mobile-nav { display: none; padding: 1rem; border-top: 1px solid var(--border); background: var(--bg-base); }
.mobile-nav.open { display: block; }
@media (min-width: 768px) { .mobile-nav { display: none !important; } }
.mobile-nav a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.mobile-nav a:hover { background: rgba(255, 255, 255, 0.05); color: var(--teal-bright); }

/* ============== Hero ============== */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #163B53 0%, #0B132B 60%);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
  pointer-events: none;
}
.hero-glow-1, .hero-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 { top: -8rem; right: 0; width: 24rem; height: 24rem; background: rgba(14, 124, 102, 0.2); }
.hero-glow-2 { bottom: -8rem; left: -8rem; width: 24rem; height: 24rem; background: rgba(20, 184, 166, 0.1); }

.hero .container {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) { .hero .container { padding-top: 6rem; padding-bottom: 6rem; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 2fr 1fr; } }

/* Mobile: center the left column */
.hero-grid > div:first-child { text-align: center; }

/* On desktop, left column is left-aligned */
@media (min-width: 1024px) {
  .hero-grid > div:first-child { text-align: left; }
  .hero-grid > div:first-child .hero-lead { margin-left: 0; margin-right: 0; }
  .hero-grid > div:first-child .hero-ctas { justify-content: flex-start; }
  .hero-grid > div:first-child .hero-trust-row { justify-content: flex-start; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(20, 184, 166, 0.3);
  background: rgba(20, 184, 166, 0.1);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal-bright);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero h1 .gradient {
  background: linear-gradient(to right, var(--teal-bright), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 36rem;
  margin: 1.25rem auto 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
@media (min-width: 1024px) { .hero-lead { margin-left: 0; margin-right: 0; font-size: 1.125rem; } }

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; align-items: flex-start; } }

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
@media (min-width: 1024px) { .hero-trust-row { justify-content: flex-start; } }
.hero-trust-row > * { display: inline-flex; align-items: center; gap: 0.375rem; }
.hero-trust-row svg { color: var(--teal); }

/* ===== Hero illustration (right side) ===== */
.hero-illustration { display: none; position: relative; }
@media (min-width: 1024px) { .hero-illustration { display: block; } }

.hero-illustration-inner {
  position: relative;
  aspect-ratio: 1;
  max-width: 28rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

/* Decorative concentric rings */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  pointer-events: none;
}
.hero-ring-1 {
  inset: 0;
  border-color: rgba(20, 184, 166, 0.2);
  animation: hero-rotate 30s linear infinite;
}
.hero-ring-2 {
  inset: 8%;
  border-color: rgba(20, 184, 166, 0.15);
  animation: hero-rotate 24s linear infinite reverse;
}
.hero-ring-3 {
  inset: 16%;
  border-color: rgba(20, 184, 166, 0.1);
  animation: hero-rotate 18s linear infinite;
}
@keyframes hero-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Center charger SVG */
.hero-charger-svg {
  position: relative;
  width: 65%;
  height: 65%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  animation: hero-float 4s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Floating tech labels around the illustration */
.hero-label {
  position: absolute;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(20, 184, 166, 0.3);
  background: var(--bg-surface);
  font-size: 0.75rem;
  color: var(--teal-bright);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: hero-float 5s ease-in-out infinite;
  white-space: nowrap;
}
.hero-label-tech { font-family: var(--font-mono); font-weight: 700; }

.hero-label-1 { top: 22%; left: -2%; animation-delay: 0s; }
.hero-label-2 { top: 32%; right: -3%; animation-delay: 0.8s; }
.hero-label-3 { bottom: 24%; left: -2%; animation-delay: 1.6s; }
.hero-label-4 { bottom: 32%; right: -4%; animation-delay: 2.4s; }

/* ============== Features ============== */
.features-section { background: var(--bg-surface); border-bottom: 1px solid var(--border); }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-base);
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: rgba(20, 184, 166, 0.4);
  background: var(--bg-elevated);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: -2rem; right: -2rem;
  width: 6rem; height: 6rem;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 50%;
  filter: blur(2rem);
  transition: background 0.3s;
}
.feature-card:hover::before { background: rgba(20, 184, 166, 0.2); }

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-bright);
  margin-bottom: 1rem;
  position: relative;
  border: 1px solid rgba(20, 184, 166, 0.3);
}
.feature-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; position: relative; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; position: relative; }

/* ============== Product Cards ============== */
.popular-section, .catalog-section { background: var(--bg-base); border-bottom: 1px solid var(--border); }

.section-header-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .section-header-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: all 0.3s;
}
.product-card:hover {
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.05);
}

.product-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-base));
  cursor: pointer;
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-image-wrap img { transform: scale(1.03); }

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  z-index: 2;
}

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

.product-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.product-name:hover { color: var(--teal-bright); }

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.product-specs > * { display: inline-flex; align-items: center; gap: 0.25rem; }
.product-specs svg { color: var(--teal); }

.product-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}
.product-price-wrap { display: flex; flex-direction: column; }
.product-old-price { font-size: 0.75rem; color: var(--text-muted); text-decoration: line-through; }
.product-price { font-family: var(--font-mono); font-size: 1.125rem; font-weight: 700; color: var(--text-primary); }
.product-actions { display: flex; gap: 0.375rem; }

/* ============== About Section ============== */
.about-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 2fr 1fr; } }

.about-text p { font-size: 0.875rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 1rem; }
.about-text p strong { color: var(--text-primary); }
.about-text p .accent { color: var(--teal-bright); font-weight: 600; }

.about-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.stat-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-base);
}
.stat-card.highlight {
  border-color: rgba(20, 184, 166, 0.4);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(20, 184, 166, 0.05));
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.stat-card.highlight .stat-value { color: var(--teal-bright); }
@media (min-width: 1024px) { .stat-value { font-size: 3rem; } }
.stat-label { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); margin-top: 0.5rem; }
.stat-sublabel { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.125rem; }

/* ============== Catalog with filters ============== */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .catalog-grid { grid-template-columns: 260px 1fr; } }

.filters-toggle { display: block; }
@media (min-width: 1024px) { .filters-toggle { display: none; } }

.filters-panel {
  position: sticky;
  top: 5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 1.25rem;
}
.filters-toggle + .filters-panel { display: none; margin-top: 1rem; }
.filters-toggle.open + .filters-panel { display: block; }
@media (min-width: 1024px) { .filters-toggle + .filters-panel { display: block; margin-top: 0; } }

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.filters-header h3 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.filters-clear { font-size: 0.75rem; color: var(--teal-bright); background: none; border: none; cursor: pointer; }
.filters-clear:hover { text-decoration: underline; }

.filter-group { margin-bottom: 1.5rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h4 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}

.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-item:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); }
.filter-item.active { background: rgba(20, 184, 166, 0.2); color: var(--teal-bright); }
.filter-item-count { font-size: 0.75rem; color: rgba(148, 163, 184, 0.7); }

.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-chip {
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-chip:hover { border-color: rgba(20, 184, 166, 0.4); color: var(--text-primary); }
.filter-chip.active { border-color: var(--teal); background: rgba(20, 184, 166, 0.2); color: var(--teal-bright); }

.catalog-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.catalog-empty {
  display: grid;
  place-items: center;
  padding: 4rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  text-align: center;
}
.catalog-empty h3 { font-size: 1rem; margin: 1rem 0 0.5rem; }
.catalog-empty p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; }

/* ============== Delivery section ============== */
.delivery-section { background: var(--bg-surface); border-bottom: 1px solid var(--border); }

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .delivery-grid { grid-template-columns: repeat(3, 1fr); } }

.delivery-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-base);
  transition: border-color 0.3s;
}
.delivery-card:hover { border-color: rgba(20, 184, 166, 0.4); }
.delivery-card::before {
  content: '';
  position: absolute;
  top: -2rem; right: -2rem;
  width: 6rem; height: 6rem;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 50%;
  filter: blur(2rem);
}

.delivery-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-bright);
  margin-bottom: 1rem;
  position: relative;
  border: 1px solid rgba(20, 184, 166, 0.3);
}
.delivery-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  position: relative;
}
.delivery-time {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: rgba(20, 184, 166, 0.2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--teal-bright);
  margin-bottom: 0.5rem;
}
.delivery-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
}

.warranty-block {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20, 184, 166, 0.3);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), transparent);
}
@media (min-width: 1024px) { .warranty-block { padding: 2rem; } }
.warranty-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.warranty-header svg { color: var(--teal-bright); }
.warranty-header h3 { font-size: 1.5rem; }
@media (min-width: 640px) { .warranty-header h3 { font-size: 1.5rem; } }

.warranty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .warranty-grid { grid-template-columns: repeat(3, 1fr); } }
.warranty-item {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(11, 19, 43, 0.6);
}
.warranty-item-icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-bright);
  margin-bottom: 0.75rem;
}
.warranty-item h4 { font-size: 0.875rem; margin-bottom: 0.375rem; }
.warranty-item p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }

/* ============== Match Form section ============== */
.match-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
}
.match-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}

.match-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}
@media (min-width: 1024px) { .match-grid { grid-template-columns: 1fr 1fr; } }

.match-pitch h2 { font-size: 1.875rem; line-height: 1.2; margin-bottom: 0.75rem; }
@media (min-width: 640px) { .match-pitch h2 { font-size: 2.25rem; } }
.match-pitch p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.match-pitch p .accent { color: var(--teal-bright); font-weight: 600; }
.match-pitch ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; color: var(--text-muted); }
.match-pitch li { display: flex; align-items: flex-start; gap: 0.5rem; }
.match-pitch li svg { color: var(--teal); flex-shrink: 0; margin-top: 0.125rem; }

.match-form-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
}
@media (min-width: 1024px) { .match-form-card { padding: 2rem; } }
.match-form-card h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.match-form-card > p { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1rem; }

/* ============== Forms ============== */
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.form-label .required { color: var(--teal-bright); }
.form-control {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: border-color 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}
.form-control::placeholder { color: rgba(148, 163, 184, 0.6); }
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}
.form-success-icon {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.2);
  color: var(--teal-bright);
  margin-bottom: 1rem;
}
.form-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); font-size: 0.875rem; max-width: 24rem; margin: 0 auto; }

/* ============== Contacts section ============== */
.contacts-section { background: var(--bg-surface); border-bottom: 1px solid var(--border); }
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .contacts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contacts-grid { grid-template-columns: repeat(4, 1fr); } }

.contact-card {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-base);
  transition: all 0.3s;
}
.contact-card:hover { border-color: rgba(20, 184, 166, 0.4); background: var(--bg-elevated); }
.contact-card::before {
  content: '';
  position: absolute;
  top: -1.5rem; right: -1.5rem;
  width: 5rem; height: 5rem;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 50%;
  filter: blur(2rem);
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-bright);
  margin-bottom: 0.75rem;
  position: relative;
  border: 1px solid rgba(20, 184, 166, 0.3);
}
.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.contact-value { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); margin-top: 0.25rem; }
.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal-bright);
  margin-top: 0.75rem;
}

.contact-info-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .contact-info-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-info-card {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-base);
}
.contact-info-card svg { color: var(--teal-bright); flex-shrink: 0; margin-top: 0.125rem; }
.contact-info-card h4 { font-size: 0.875rem; margin-bottom: 0.25rem; }
.contact-info-card p { font-size: 0.875rem; color: var(--text-muted); }
.contact-info-card .accent { color: var(--teal-bright); font-size: 0.75rem; margin-top: 0.5rem; }

/* ============== Footer ============== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-base);
}
.site-footer .container { padding-top: 3rem; padding-bottom: 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand p { font-size: 0.875rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.6; max-width: 28rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.footer-col h3 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; }
.footer-col a { color: var(--text-muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--teal-bright); }
.footer-col li { display: flex; align-items: flex-start; gap: 0.5rem; color: var(--text-muted); }
.footer-col li svg { color: var(--teal-bright); flex-shrink: 0; margin-top: 0.125rem; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ============== Cart Drawer ============== */
.cart-overlay, .modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 51;
  width: 100%;
  max-width: 28rem;
  height: 100%;
  background: var(--bg-surface);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  /* Hidden by default — slides in when .open is added */
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  visibility: hidden;
  pointer-events: none;
}
.cart-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  animation: slideInRight 0.3s ease-out;
}
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }

.cart-header, .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.cart-header h2, .modal-header h2 { font-size: 1.125rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.cart-header h2 svg, .modal-header h2 svg { color: var(--teal-bright); }
.cart-count-badge {
  display: inline-grid;
  place-items: center;
  padding: 0 0.5rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: rgba(20, 184, 166, 0.2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--teal-bright);
  margin-left: 0.5rem;
}

.close-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
}
.close-btn:hover { color: var(--text-primary); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  gap: 0.75rem;
}
.cart-empty-icon {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(148, 163, 184, 0.5);
}

.cart-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 0.75rem;
}
.cart-item-img {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 4rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-base));
  text-align: center;
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-img-text { font-size: 0.75rem; color: var(--teal-bright); font-weight: 700; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cart-item-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-spec { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.qty-control { display: flex; align-items: center; gap: 0.375rem; }
.qty-btn {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
}
.qty-btn:hover { color: var(--text-primary); }
.qty-value {
  width: 2rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-primary);
}
.cart-item-price { font-family: var(--font-mono); font-size: 0.875rem; font-weight: 700; color: var(--text-primary); }
.cart-item-remove {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-sm);
  color: #F87171;
  background: transparent;
  cursor: pointer;
}
.cart-item-remove:hover { background: rgba(239, 68, 68, 0.1); }

.cart-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-base);
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.cart-total-row span:first-child { font-size: 0.875rem; color: var(--text-muted); }
.cart-total-row .total-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}
.cart-footer-note {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============== Modals ============== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}
.modal-box {
  position: relative;
  z-index: 10;
  margin: 1rem 0;
  width: 100%;
  max-width: 56rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.3s ease-out;
}
.modal-box.small { max-width: 36rem; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.modal-close-float {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(15, 42, 63, 0.8);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  cursor: pointer;
}
.modal-close-float:hover { color: var(--text-primary); }

/* Product modal */
.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .product-modal-grid { grid-template-columns: 1fr 1fr; } }

.product-modal-image { padding: 1.5rem; }
@media (min-width: 1024px) { .product-modal-image { padding: 2rem; } }
.product-modal-image .main-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-base));
}

.product-modal-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.product-modal-thumb {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--bg-base);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.product-modal-thumb.active, .product-modal-thumb:hover { border-color: var(--teal-bright); }
.product-modal-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-modal-info { padding: 1.5rem; display: flex; flex-direction: column; }
@media (min-width: 1024px) { .product-modal-info { padding: 2rem; } }
.product-modal-info h1 { font-size: 1.5rem; line-height: 1.3; margin: 0.75rem 0; }
.product-modal-info > p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.safety-block {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--teal);
  background: rgba(20, 184, 166, 0.1);
}
.safety-block h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--teal-bright);
  margin-bottom: 0.375rem;
}
.safety-block p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }

.price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.price-old { font-size: 0.875rem; color: var(--text-muted); text-decoration: line-through; }
.price-current {
  font-family: var(--font-mono);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-modal-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}
@media (min-width: 1024px) { .product-modal-bottom { padding: 2rem; } }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  font-size: 0.875rem;
}
.specs-table tr:nth-child(even) { background: rgba(255, 255, 255, 0.05); }
.specs-table td { padding: 0.625rem 1rem; border-bottom: 1px solid rgba(232, 238, 244, 0.05); }
.specs-table td:first-child { color: var(--text-muted); width: 40%; }
.specs-table td:last-child { color: var(--text-primary); font-weight: 500; font-family: var(--font-mono); }

.compat-list { display: flex; flex-direction: column; gap: 0.375rem; max-height: 18rem; overflow-y: auto; padding-right: 0.5rem; }
.compat-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.compat-list li svg { color: var(--teal); flex-shrink: 0; margin-top: 0.125rem; }

.part-numbers-list { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.5rem; }
.part-numbers-list .badge { font-family: var(--font-mono); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-strong); color: var(--text-primary); }

.modal-cta-bar {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) { .modal-cta-bar { flex-direction: row; align-items: center; justify-content: space-between; } }
.modal-cta-bar p { font-size: 0.875rem; color: var(--text-muted); }
.modal-cta-bar p strong { color: var(--text-primary); }

/* ============== Toasts ============== */
.toast-container {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: var(--text-primary);
  font-size: 0.875rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  max-width: 24rem;
  pointer-events: auto;
  animation: toastIn 0.3s ease-out;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.toast.removing { animation: toastOut 0.3s ease-out forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateY(20px); } }
.toast-icon { color: var(--teal-bright); flex-shrink: 0; }
.toast-icon.error { color: var(--danger); }
.toast-body strong { display: block; margin-bottom: 0.125rem; }
.toast-body small { color: var(--text-muted); font-size: 0.75rem; }

/* ============== Admin Panel ============== */
.admin-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
}
.admin-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.admin-nav a {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-bright);
  border-color: rgba(20, 184, 166, 0.4);
}
.admin-user-info {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; color: var(--text-muted);
}
.admin-logout {
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  font-size: 0.75rem;
  border: 1px solid rgba(239, 68, 68, 0.3);
  text-decoration: none;
}
.admin-logout:hover { background: rgba(239, 68, 68, 0.25); }

.admin-main { padding: 2rem 0; }

.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-page-header h1 { font-size: 1.5rem; }
.admin-page-header .subtitle { color: var(--text-muted); font-size: 0.875rem; margin-top: 0.25rem; }

.admin-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .admin-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .admin-stats { grid-template-columns: repeat(4, 1fr); } }
.admin-stat {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}
.admin-stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.admin-stat-value {
  font-family: var(--font-mono);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.25rem;
}
.admin-stat-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.admin-stat-link { font-size: 0.75rem; color: var(--teal-bright); margin-top: 0.5rem; display: inline-block; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-size: 0.875rem;
}
.admin-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255, 255, 255, 0.03); }
.admin-table .actions { display: flex; gap: 0.375rem; }
.admin-table img.thumb {
  width: 3rem; height: 2.25rem; object-fit: cover; border-radius: var(--radius-sm);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.status-new { background: rgba(59, 130, 246, 0.2); color: #60A5FA; }
.status-confirmed { background: rgba(20, 184, 166, 0.2); color: var(--teal-bright); }
.status-shipped { background: rgba(245, 158, 11, 0.2); color: var(--warning); }
.status-delivered { background: rgba(34, 197, 94, 0.2); color: #4ADE80; }
.status-cancelled { background: rgba(239, 68, 68, 0.2); color: #F87171; }

.admin-form-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  max-width: 56rem;
}
.admin-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .admin-form-row.two-col { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .admin-form-row.three-col { grid-template-columns: 1fr 1fr 1fr; } }

.admin-login-card {
  max-width: 24rem;
  margin: 4rem auto;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  text-align: center;
}
.admin-login-card .logo { justify-content: center; margin-bottom: 1.5rem; }
.admin-login-card h1 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.admin-login-card p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.admin-login-error {
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* ============== Utilities ============== */
.hidden { display: none !important; }
.text-center { text-align: center; }
.flex-row { display: flex; align-items: center; gap: 0.5rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--teal-bright); }
.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 700; }
.no-data {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }
