:root {
  --navy: #0b1d36;
  --navy-2: #122a4a;
  --red: #d61f26;
  --red-dark: #b0181e;
  --ink: #121826;
  --muted: #5b6577;
  --line: #e6e9ef;
  --bg: #f4f6f9;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(11, 29, 54, 0.08);
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

/* Header */
.topbar {
  background: var(--navy);
  color: #c9d4e5;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 12px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}
.logo span { color: var(--red); }
.search {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  outline: none;
  font-size: 15px;
}
.search button {
  border: 0;
  background: var(--navy);
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 700;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { background: transparent; border: 1px solid var(--line); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.nav {
  background: var(--navy-2);
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  overflow-x: auto;
}
.nav a {
  display: block;
  color: #d7e0ee;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.08); }

/* Hero */
.hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: center;
  color: #fff;
  background: #050b14 center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,16,32,.88) 0%, rgba(7,16,32,.45) 58%, rgba(7,16,32,.2) 100%);
}
.hero-content { position: relative; padding: 64px 0; max-width: 640px; }
.kicker {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.hero p { color: #d5deea; font-size: 18px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
.section { padding: 64px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: 28px;
  letter-spacing: -0.03em;
}
.muted { color: var(--muted); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: .2s ease;
}
.cat-card:hover { transform: translateY(-3px); border-color: #f0c8ca; }
.cat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #fde8e9;
  color: var(--red);
  display: grid; place-items: center;
  margin-bottom: 14px;
  font-size: 22px;
}
.cat-card h3 { font-size: 17px; margin-bottom: 4px; }
.cat-card p { color: var(--muted); font-size: 13px; }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-img {
  height: 190px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 16px;
}
.card-img img { max-height: 160px; width: auto; object-fit: contain; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.badge {
  display: inline-block;
  width: fit-content;
  background: #eef2f8;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 8px;
  border-radius: 999px;
}
.card h3 { font-size: 16px; line-height: 1.3; }
.sku { color: var(--muted); font-size: 12px; }
.price { font-size: 20px; font-weight: 800; color: var(--navy); margin-top: auto; }
.price small { font-size: 12px; color: var(--muted); font-weight: 600; }

.fitment {
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 24px;
  align-items: center;
}
.fit-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fit-form select, .fit-form input, .field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 12px;
  outline: none;
}
.fit-form .full, .field { grid-column: 1 / -1; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.feature strong { display: block; margin-bottom: 4px; }

/* Catalog layout */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 36px 0;
}
.page-hero h1 { font-size: 34px; letter-spacing: -.03em; }
.crumbs { color: #9fb0c8; font-size: 13px; margin-bottom: 8px; }
.crumbs a { color: #fff; }
.crumbs.light { color: var(--muted); }
.crumbs.light a { color: var(--navy); }

.catalog-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 32px 0 64px;
}
.filters {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 92px;
}
.filters h3 { margin: 16px 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.filters label { display: flex; gap: 8px; align-items: center; margin: 8px 0; font-size: 14px; cursor: pointer; }
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}
.toolbar select { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; }

/* Product */
.product-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  padding: 36px 0 64px;
}
.gallery {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  min-height: 420px;
}
.gallery img { max-height: 380px; object-fit: contain; }
.prod-info h1 { font-size: 30px; letter-spacing: -.03em; margin: 8px 0 10px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.prod-price { font-size: 34px; font-weight: 800; color: var(--navy); margin: 10px 0 18px; }
.spec { width: 100%; border-collapse: collapse; margin: 18px 0; }
.spec th, .spec td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec th { color: var(--muted); font-weight: 600; width: 40%; }
.qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}
.qty input { width: 70px; text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }

footer {
  background: var(--navy);
  color: #c5d1e2;
  padding: 48px 0 20px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
footer h4 { color: #fff; margin-bottom: 12px; }
footer ul { list-style: none; }
footer li { margin: 7px 0; }
.copyright { border-top: 1px solid #1e3353; padding-top: 16px; font-size: 13px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: .2s ease;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

.filters-toggle { display: none; }
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .4);
  font-size: 26px;
}

@media (max-width: 980px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .topbar { font-size: 12px; }
  .topbar .container { justify-content: center; text-align: center; }
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 0;
  }
  .logo { font-size: 18px; gap: 8px; min-width: 0; }
  .logo img { height: 36px; }
  .search { grid-column: 1 / -1; order: 3; }
  .search input { min-width: 0; padding: 11px 14px; }
  .header-actions .btn-outline { display: none; }
  .header-actions .btn { padding: 10px 12px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    background: var(--navy);
    border-top: 1px solid #1e3353;
  }
  .nav.open { display: block; }
  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
  }
  .nav a {
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid #1e3353;
  }
  .cat-grid, .prod-grid, .features { grid-template-columns: repeat(2, 1fr); }
  .fitment, .catalog-wrap, .product-wrap, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .filters { position: static; }
  .hero { min-height: 420px; }
  .hero-content { padding: 40px 0 36px; max-width: 100%; }
  .section { padding: 40px 0; }
  .gallery { min-height: 280px; padding: 16px; }
  .gallery img { max-height: 260px; }
  .prod-info h1 { font-size: 24px; }
  .prod-price { font-size: 28px; }
}

@media (max-width: 640px) {
  .topbar .hide-sm { display: none; }
  .logo img { display: none; }
  .cat-grid, .prod-grid, .features { grid-template-columns: 1fr; }
  .hero {
    min-height: auto;
    background-position: 70% center;
  }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .section-head { flex-direction: column; align-items: start; }
  .section-head h2 { font-size: 22px; }
  .fit-form { grid-template-columns: 1fr; }
  .page-hero { padding: 24px 0; }
  .page-hero h1 { font-size: 26px; }
  .catalog-wrap { padding: 16px 0 48px; gap: 14px; }
  .filters-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 700;
    cursor: pointer;
  }
  .filters { display: none; padding: 16px; }
  .filters.open { display: block; }
  .toolbar { flex-wrap: wrap; }
  .toolbar select { flex: 1; min-height: 44px; }
  .card-img { height: 220px; }
  .card-img img { max-height: 190px; }
  .product-wrap { padding: 16px 0 48px; gap: 16px; }
  .panel { padding: 18px; }
  .hero-actions .btn { min-height: 48px; }
  footer { padding: 32px 0 88px; }
  .copyright { padding-bottom: 8px; }
}

@media (max-width: 380px) {
  .logo { font-size: 16px; }
}
