:root {
  --bg: #0b0b0d;
  --bg-2: #121216;
  --bg-3: #1a1a20;
  --card: #16161c;
  --line: #2a2a33;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --red: #e11d2e;
  --red-2: #ff3b4d;
  --white: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.topbar {
  background: #000;
  color: #ddd;
  font-size: 12px;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  padding: 8px 16px;
}
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11,11,13,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner, .nav, .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.header-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 20px;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 0;
}
.logo span { color: var(--red); }
.search {
  display: flex;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.search input {
  flex: 1;
  border: 0;
  padding: 10px 14px;
  color: #111;
  outline: none;
}
.search button {
  background: #111;
  color: #fff;
  border: 0;
  padding: 0 16px;
  cursor: pointer;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}
.cart-btn { position: relative; cursor: pointer; }
.cart-count {
  position: absolute; top: -8px; right: -10px;
  background: var(--red);
  color: #fff;
  border-radius: 99px;
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}
.nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.nav a, .nav .shop-all {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  color: #cfcfd4;
}
.nav a:hover { color: #fff; }
.shop-all {
  background: #111;
  color: #fff !important;
  border: 1px solid #333;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.78)),
    url("https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}
.hero-copy { max-width: 1280px; margin: 0 auto; padding: 80px 24px 72px; }
.kicker { letter-spacing: .22em; font-size: 12px; color: #ddd; margin-bottom: 14px; }
.hero h1 {
  font-size: clamp(42px, 8vw, 92px);
  line-height: .9;
  letter-spacing: -0.05em;
  font-weight: 800;
  max-width: 900px;
}
.hero p { max-width: 520px; margin: 22px 0 28px; color: #ddd; }
.btn {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 13px 22px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 0;
  cursor: pointer;
}
.btn-red { background: var(--red); }
.btn:hover { filter: brightness(1.08); }

.section { padding: 72px 0; }
.section h2 { font-size: 32px; letter-spacing: -.03em; margin-bottom: 8px; }
.sub { color: var(--muted); margin-bottom: 28px; }
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #222;
}
.cat img { width: 100%; height: 220px; object-fit: cover; filter: brightness(.7); }
.cat span {
  position: absolute; left: 18px; bottom: 18px;
  font-weight: 800; font-size: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0 0 16px;
  position: relative;
}
.card img { height: 220px; width: 100%; object-fit: cover; background: #0e0e12; }
.badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
}
.card .meta { padding: 14px 14px 0; }
.card small { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.card h3 { font-size: 16px; margin: 6px 0 8px; }
.price { display: flex; gap: 8px; align-items: baseline; margin-bottom: 12px; }
.price b { font-size: 18px; }
.price s { color: #777; font-size: 13px; }
.add {
  width: calc(100% - 28px);
  margin: 0 14px;
  background: #fff;
  color: #111;
  border: 0;
  padding: 10px;
  font-weight: 700;
  cursor: pointer;
}
.add:hover { background: var(--red); color: #fff; }

.band {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  min-height: 380px;
}
.band-text {
  background: #0a0a0c;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.band img { width: 100%; height: 100%; object-fit: cover; }
.checks { margin: 16px 0 24px; color: #ccc; }
.checks div { margin: 6px 0; }

.promise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.promise article {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 24px;
}
.promise h3 { margin: 8px 0; }

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 24px 28px;
  color: #aaa;
  font-size: 14px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.footer a { display: block; margin: 6px 0; color: #bbb; }
.footer a:hover { color: #fff; }
.copy { max-width: 1280px; margin: 28px auto 0; padding-top: 18px; border-top: 1px solid var(--line); color: #777; }

.page-hero {
  padding: 56px 24px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.form {
  max-width: 560px;
  display: grid;
  gap: 12px;
}
.form input, .form textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: #fff;
  padding: 12px;
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(380px, 100%);
  background: #111;
  border-left: 1px solid var(--line);
  transform: translateX(110%);
  transition: .25s ease;
  z-index: 60;
  padding: 20px;
  overflow: auto;
}
.cart-drawer.open { transform: none; }
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: none; z-index: 50;
}
.overlay.open { display: block; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .search { display: none; }
  .cats, .grid, .promise, .band, .footer-grid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cats, .grid, .promise, .footer-grid { grid-template-columns: 1fr; }
}
