:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6878;
  --line: #d9dee8;
  --panel: #ffffff;
  --soft: #f5f7fb;
  --red: #f97316;
  --red-dark: #ea6c0a;
  --amber: #f2b544;
  --green: #27745e;
  --blue: #164b75;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.top-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  padding: 8px 18px;
  background: #0a1628;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 850;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

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

nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  color: #273142;
  font-size: 0.92rem;
  font-weight: 750;
}

nav a span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
}

nav a:hover {
  color: var(--red);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  min-height: 280px;
  padding: clamp(24px, 4vw, 42px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(10, 22, 40, 0.9), rgba(10, 22, 40, 0.72)),
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.42), transparent 35%),
    repeating-linear-gradient(135deg, #0a1628 0 12px, #111827 12px 24px);
  color: #fff;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd0ad;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.4vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.small-lead {
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions,
.drawer-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--red);
}

.button.small {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.hero-panel {
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.panel-top strong {
  color: #fff;
}

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

.signal-grid span {
  min-height: 52px;
  display: grid;
  align-items: end;
  padding: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.store-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.store-stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
}

.store-stats strong {
  color: #fff;
}

.notice {
  margin: 0;
  padding: 16px clamp(18px, 5vw, 72px);
  background: #fff7e6;
  border-top: 1px solid #f1d28f;
  border-bottom: 1px solid #f1d28f;
  color: #553b00;
}

.fitment-guide {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) repeat(4, minmax(150px, 0.65fr)) auto;
  gap: 14px;
  align-items: end;
  padding: 18px clamp(18px, 5vw, 72px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.fitment-guide h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 2.2rem);
}

.category-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px clamp(18px, 5vw, 72px);
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.category-rail button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.category-rail button:hover {
  border-color: var(--red);
  color: var(--red);
}

.toolbar {
  position: sticky;
  top: 69px;
  z-index: 15;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(160px, 0.7fr));
  gap: 12px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(247, 248, 251, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

label {
  display: grid;
  gap: 6px;
}

label span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.28);
  outline-offset: 2px;
}

.content-band {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-weight: 800;
}

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

.store-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.store-sidebar {
  position: sticky;
  top: 166px;
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.05);
}

.store-sidebar h3 {
  margin-bottom: 4px;
}

.store-sidebar a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-weight: 850;
}

.store-sidebar a:hover {
  border-color: var(--red);
  color: var(--red);
}

.sidebar-note {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  padding: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
}

.sidebar-note span {
  color: #7c2d12;
  font-size: 0.88rem;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 446px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
}

.card-art {
  min-height: 112px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.94), rgba(10, 22, 40, 0.94)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0 8px, transparent 8px 16px);
  color: #fff;
}

.card-art span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  font-weight: 950;
  font-size: 1.3rem;
}

.card-body {
  padding: 16px;
}

.card-meta,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-meta {
  margin-bottom: 12px;
}

.card-meta span,
.tags span {
  padding: 4px 8px;
  background: var(--soft);
  color: #3c4554;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
}

.sku-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.sku-row strong {
  color: var(--green);
}

.card-body p {
  color: var(--muted);
  font-size: 0.94rem;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  margin: 14px 0 0;
  padding: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.price-row strong {
  color: #9a3412;
  font-size: 0.92rem;
}

.price-row span {
  color: #7c2d12;
  font-size: 0.78rem;
  font-weight: 850;
}

.tags {
  margin-top: 14px;
}

.card-actions {
  justify-content: space-between;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}

.card-actions .primary {
  flex: 1;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  background: #fff;
  border-top: 1px solid var(--line);
}

.split p {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.cart-row strong,
.cart-row span {
  min-width: 0;
}

.cart-row span {
  grid-column: 1;
  color: var(--muted);
}

.cart-row button {
  grid-row: 1 / span 2;
  grid-column: 2;
}

.steps span {
  color: var(--muted);
}

.install-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.install-option input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--red);
}

.install-option span {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 850;
  text-transform: none;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

footer a {
  color: #fff;
  font-weight: 850;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(17, 24, 39, 0.64);
}

.drawer[aria-hidden="false"] {
  display: grid;
  justify-items: end;
}

.drawer-panel {
  position: relative;
  width: min(620px, 100%);
  height: 100%;
  overflow: auto;
  padding: 36px;
  background: #fff;
  box-shadow: var(--shadow);
}

.drawer-open {
  overflow: hidden;
}

.icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.spec-list div {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
}

.empty {
  grid-column: 1 / -1;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .toolbar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .fitment-guide {
    grid-template-columns: 1fr 1fr;
  }

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

  .store-layout {
    grid-template-columns: 1fr;
  }

  .store-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  nav a {
    padding-inline: 6px;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .toolbar,
  .fitment-guide,
  .product-grid,
  .steps li,
  .cart-row {
    grid-template-columns: 1fr;
  }

  .cart-row span,
  .cart-row button {
    grid-column: auto;
    grid-row: auto;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .product-card {
    min-height: 0;
  }

  .drawer-panel {
    padding: 48px 20px 24px;
  }
}
