:root {
  --bg: #0b1120;
  --panel: #0f172a;
  --line: #1f2937;
  --t: #e5e7eb;
  --mut: #94a3b8;
  --brand: #22c55e;
  --link: #93c5fd;
  --focus: #60a5fa;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--t);
  font: 16px/1.55 Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip:focus {
  left: 12px; top: 12px; width: auto; height: auto; background: #111827;
  padding: 8px 12px; border-radius: 8px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11,17,32,.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 0; }

.brand {
  display: inline-flex; gap: 8px; align-items: center;
}
.brand img {
  width: 48px;
  height: auto;
  display: block;
  background: transparent;
}

.language-switcher {
  display: flex;
  gap: 8px;
  margin-left: 16px;
}
.language-switcher button {
  background: var(--panel);
  color: var(--t);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.18s, color 0.18s;
}
.language-switcher button:active,
.language-switcher button:focus {
  background: var(--brand);
  color: #05240f;
  font-weight: bold;
}

.primary-nav a {
  padding: 8px 10px; border-radius: 8px; display: inline-block;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: #111827; text-decoration: none;
}
.primary-nav .active { background: #111827; }

.hero {
  padding: 40px 0;
  background: linear-gradient(180deg, rgba(34,197,94,.08), transparent);
}
.lead { color: var(--mut); }

.btn {
  background: var(--brand); color: #05240f; border: 0;
  border-radius: 10px; padding: 10px 14px; cursor: pointer;
  min-width: 44px; min-height: 44px;
}
.btn.alt { background: #1f2937; color: var(--t); }

.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.badge { border: 1px solid var(--line); background: #0b1427; color: #cbd5e1; padding: 6px 8px; border-radius: 999px; font-size: 12px; }

.section { padding: 28px 0; }

.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.cards .card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
}
.thumb { aspect-ratio: 16/10; object-fit: cover; background: #0b1427; }
.card h3 { font-size: 16px; margin: 10px 12px 6px; }
.card p { font-size: 14px; color: #cbd5e1; margin: 0 12px 10px; }

.kv {
  display: flex; justify-content: space-between;
  color: #cbd5e1; padding: 8px 12px;
  border-top: 1px dashed var(--line); font-size: 13px;
}
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 12px 12px; }
.tag { font-size: 11px; border: 1px solid var(--line); padding: 4px 6px; border-radius: 6px; background: #0b172e; }
.card-actions { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }

.two-col { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.form label, .finder label { display: block; margin: 10px 0 4px; }
.form input, .finder input, textarea { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid var(--line); background: #0b1427; color: var(--t); }
.small { color: #9ca3af; font-size: 12px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0; margin-top: 24px; color: #a1a1aa;
}
.compare {
  position: sticky; bottom: 0; background: #0b1425;
  border-top: 1px solid var(--line); padding: 8px 0;
}

.cart {
  position: fixed; top: 0; right: 0; width: min(420px,100%);
  height: 100%; background: #0b1425; border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .25s ease;
  z-index: 60; display: flex; flex-direction: column;
}
.cart.open { transform: none; }
.cart header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px; border-bottom: 1px solid var(--line);
}
.cart-body { padding: 12px; overflow: auto; flex: 1; }
.cart-foot { padding: 12px; border-top: 1px solid var(--line); }

.breadcrumbs { margin: 16px 0; color: #cbd5e1; }
.product { display: grid; gap: 24px; }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; } }

.specs { width: 100%; border-collapse: collapse; margin: 10px 0; }
.specs th, .specs td { border: 1px solid var(--line); padding: 8px; text-align: left; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
