:root {
  --bg: #0b1117;
  --card: #111a24;
  --card-2: #162231;
  --text: #f4f7fb;
  --muted: #9fb0c3;
  --accent: #4da3ff;
  --success: #32d583;
  --warning: #fdb022;
  --danger: #f97066;
  --border: rgba(255,255,255,0.1);
  --shadow: 0 18px 60px rgba(0,0,0,0.32);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 17, 23, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  outline: none;
}

.nav-toggle {
  display: none;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.icon-button svg,
.button svg,
.info-block svg,
.input-icon svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 48px 0 72px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: 1.1rem;
}

.lede {
  margin: 16px 0 12px;
  color: var(--text);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 700;
}

.hero-copy p:not(.eyebrow):not(.lede),
.page-title p,
.info-block p,
.site-footer p,
.product-copy p,
.empty-state p {
  color: var(--muted);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  background: var(--card-2);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(77, 163, 255, 0.7);
  outline: none;
}

.button.primary {
  border-color: rgba(77, 163, 255, 0.8);
  background: var(--accent);
  color: #07111f;
}

.button.ghost {
  background: transparent;
}

.button.disabled,
.button:disabled {
  border-color: var(--border);
  background: rgba(255,255,255,0.05);
  color: #7c8795;
  cursor: not-allowed;
  transform: none;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.metric {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(17, 26, 36, 0.74);
  box-shadow: var(--shadow);
}

.metric span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
}

.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.text-link {
  color: var(--accent);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.product-card.is-sold {
  opacity: 0.62;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a1018;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 850;
}

.product-media .badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.badge.in-stock {
  background: rgba(50, 213, 131, 0.14);
  border-color: rgba(50, 213, 131, 0.45);
  color: var(--success);
}

.badge.reserved {
  background: rgba(253, 176, 34, 0.16);
  border-color: rgba(253, 176, 34, 0.45);
  color: var(--warning);
}

.badge.sold {
  background: rgba(249, 112, 102, 0.12);
  border-color: rgba(249, 112, 102, 0.35);
  color: #d6dce4;
}

.badge.coming-soon {
  background: rgba(77, 163, 255, 0.14);
  border-color: rgba(77, 163, 255, 0.45);
  color: #8ec6ff;
}

.badge.tbd {
  background: rgba(159, 176, 195, 0.12);
  border-color: rgba(159, 176, 195, 0.35);
  color: var(--muted);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.product-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.product-title {
  font-size: 1.14rem;
}

.price-list {
  display: grid;
  gap: 3px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-row strong {
  color: var(--text);
}

.product-desc {
  color: var(--muted);
  font-size: 0.95rem;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.card-actions .button {
  min-width: 0;
  padding-inline: 10px;
}

.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.info-block {
  min-width: 0;
  padding: 6px 0;
}

.info-block svg {
  margin-bottom: 16px;
  color: var(--accent);
}

.page-title {
  padding: 56px 0 28px;
}

.page-title h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.page-title p {
  max-width: 720px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 72px;
}

.filters {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(17, 26, 36, 0.82);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0d151f;
  color: var(--text);
  padding: 10px 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(77, 163, 255, 0.8);
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.input-icon {
  position: relative;
}

.input-icon svg {
  position: absolute;
  top: 13px;
  left: 12px;
  color: var(--muted);
  pointer-events: none;
}

.input-icon input {
  padding-left: 40px;
}

.catalog-main {
  min-width: 0;
}

.catalog-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 750;
}

.loading-card,
.empty-state,
.error-state {
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card);
  color: var(--muted);
}

.error-state {
  border-color: rgba(249, 112, 102, 0.45);
  color: #ffd2cf;
}

.product-detail {
  padding: 56px 0 80px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 32px;
  align-items: start;
}

.gallery {
  display: grid;
  gap: 12px;
}

.gallery-main {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.gallery-main img,
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer;
}

.thumb.active {
  border-color: var(--accent);
}

.product-copy {
  min-width: 0;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.detail-price {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}

.detail-price .price-row {
  max-width: 420px;
  font-size: 1rem;
}

.spec-table,
.notes-panel {
  width: 100%;
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(17, 26, 36, 0.72);
}

.spec-table table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--border);
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 34%;
  color: var(--muted);
  font-weight: 800;
}

.notes-panel {
  padding: 16px;
}

.request-layout {
  padding-bottom: 80px;
}

.request-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--card);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-wide {
  grid-column: 1 / -1;
}

.notice {
  margin-top: 18px;
  border: 1px solid rgba(77, 163, 255, 0.32);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(77, 163, 255, 0.08);
  color: var(--muted);
}

.content-page {
  padding-bottom: 80px;
}

.content-panel {
  max-width: 860px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--card);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.content-panel h2 {
  margin-top: 28px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.content-panel h2:first-child {
  margin-top: 0;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
}

.content-panel ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: #080d13;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  margin: 6px 0 0;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.footer-grid a + a {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .hero-grid,
  .detail-grid,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .filters {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    inset: 76px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    background: #0b1117;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
  }

  .hero {
    padding: 40px 0 54px;
  }

  .hero-grid {
    gap: 28px;
  }

  .action-row,
  .section-head,
  .catalog-summary,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .action-row .button {
    width: 100%;
  }

  .product-grid,
  .info-grid,
  .filters,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .thumb-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
