:root {
  --ink: #121416;
  --muted: #5a646f;
  --line: #dfe4e8;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --dark: #15191d;
  --red: #c62032;
  --red-dark: #971524;
  --green: #128c4a;
  --teal: #0f766e;
  --steel: #eef2f4;
  --shadow: 0 18px 42px rgba(18, 20, 22, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; }
.brand small { color: var(--muted); font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: #30363b; font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 240px; }
.icon-button, .cart-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.icon-button svg, .cart-toggle svg, .whatsapp-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}
.cart-toggle { position: relative; }
.cart-toggle span {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(360px,1.1fr);
  min-height: calc(100vh - 74px);
  max-height: 760px;
  background: linear-gradient(105deg,#101316 0%,#1c2227 54%,#f8fafb 54%);
  overflow: hidden;
}
.hero-copy { align-self: center; padding: 64px clamp(18px,5vw,72px); color: #fff; }
.eyebrow { margin: 0 0 10px; color: var(--red); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.hero .eyebrow { color: #ff6b75; }
h1,h2,h3,p { overflow-wrap: anywhere; }
h1 { margin: 0; max-width: 620px; font-size: clamp(42px,7vw,78px); line-height: .96; }
h2 { margin: 0; font-size: clamp(30px,4vw,46px); line-height: 1.05; }
.hero-copy p:not(.eyebrow) { max-width: 560px; margin: 22px 0 0; color: #d8dee3; font-size: 18px; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.primary-action, .secondary-action, .checkout-button, .whatsapp-large, .instagram-large, .add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  text-align: center;
}
.primary-action, .add-button, .checkout-button { color: #fff; background: var(--red); }
.primary-action:hover, .add-button:hover, .checkout-button:hover { background: var(--red-dark); }
.secondary-action { color: #fff; border-color: rgba(255,255,255,.42); }
.hero-media { display: flex; align-items: stretch; min-height: 520px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.trust-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.trust-strip div { padding: 22px clamp(16px,3vw,36px); background: #fff; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-size: 17px; }
.trust-strip span { margin-top: 4px; color: var(--muted); font-size: 14px; }

.section { padding: 72px clamp(16px,4vw,56px); background: var(--soft); }
.section-heading { max-width: 780px; margin-bottom: 28px; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(18,20,22,.07);
}
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.product-body h3 { margin: 0; min-height: 54px; font-size: 20px; line-height: 1.18; }
.product-body p { margin: 10px 0 16px; color: var(--muted); font-size: 14px; }
.price { display: block; margin-top: auto; margin-bottom: 14px; color: var(--teal); font-weight: 900; }
.add-button { width: 100%; }

.compatibility { display: grid; grid-template-columns: minmax(280px,.86fr) minmax(320px,1.14fr); gap: 34px; padding: 76px clamp(16px,4vw,56px); background: #fff; }
.compatibility p:not(.eyebrow) { max-width: 520px; color: var(--muted); font-size: 17px; }
.vehicle-form {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  align-self: start;
  padding: 20px;
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.vehicle-form label { color: #30363b; font-size: 13px; font-weight: 800; }
.vehicle-form input {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #ccd5db;
  border-radius: 8px;
  outline: none;
}
.vehicle-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(198,32,50,.16); }
.vehicle-form button { grid-column: 1 / -1; margin-top: 4px; }

.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 58px clamp(16px,4vw,56px); color: #fff; background: var(--dark); }
.contact-band p { color: #c9d1d8; }
.whatsapp-large { color: #fff; background: var(--green); }
.instagram-large { color: #fff; background: transparent; border-color: rgba(255,255,255,.4); }

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: min(420px,100vw);
  height: 100vh;
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 180ms ease;
}
.cart-panel.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.cart-head h2 { font-size: 28px; }
.close-cart {
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 26px;
  line-height: 1;
}
.cart-items { flex: 1; overflow: auto; padding: 18px 0; }
.empty-cart { color: var(--muted); }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-row strong { font-size: 15px; }
.remove-item { flex: 0 0 auto; min-width: 34px; height: 34px; color: var(--red); background: #fff; border: 1px solid #f0c7cc; border-radius: 8px; font-weight: 900; }
.checkout-button { width: 100%; }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.42); }

@media (max-width: 1020px) {
  .site-header { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; justify-content: center; }
  .header-actions, .brand { min-width: 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; max-height: none; background: var(--dark); }
  .hero-copy { padding-top: 54px; padding-bottom: 34px; }
  .hero-media { min-height: 360px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .site-header { align-items: flex-start; gap: 12px; padding: 10px 14px; }
  .brand { flex: 1 1 100%; }
  .nav-links { justify-content: flex-start; gap: 16px; overflow-x: auto; padding-bottom: 2px; }
  .header-actions { width: 100%; justify-content: flex-start; }
  .whatsapp-link { flex: 1; min-width: 0; }
  .hero-copy { padding: 42px 16px 28px; }
  .hero-copy p:not(.eyebrow) { font-size: 16px; }
  .hero-media { min-height: 280px; }
  .trust-strip, .product-grid, .compatibility { grid-template-columns: 1fr; }
  .section, .compatibility, .contact-band { padding: 48px 16px; }
  .vehicle-form { grid-template-columns: 1fr; padding: 16px; }
  .contact-band { align-items: flex-start; flex-direction: column; }
  .contact-actions, .hero-actions { width: 100%; }
  .contact-actions a, .hero-actions a { flex: 1 1 190px; }
}
@media (max-width: 420px) {
  h1 { font-size: 39px; }
  .brand strong { font-size: 15px; }
  .whatsapp-link span { font-size: 14px; }
  .hero-media { min-height: 230px; }
}
