:root {
  --bg: #070101;
  --card: rgba(12, 3, 3, .78);
  --line: rgba(255, 48, 48, .38);
  --text: #fff7f7;
  --muted: #c9a0a0;
  --red: #e11d2e;
  --red-2: #ff4d5a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Sora, sans-serif;
  background: #070101;
  color: var(--text);
  min-height: 100vh;
}
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #070101 0%, #070101 38%, rgba(7,1,1,.45) 58%, rgba(7,1,1,.12) 100%),
    url("assets/fondo-circuito.svg") right top / cover no-repeat,
    #070101;
}
.grid-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(225,29,46,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225,29,46,.07) 1px, transparent 1px);
  background-size: 36px 36px;
}
.grid-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0,0,0,.16) 3px 4px);
  opacity: .25;
}
.top, .hero, .store, .help, .foot { position: relative; z-index: 1; }
.top {
  display: flex; align-items: center; gap: 16px;
  margin: 14px 4vw 0;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10,2,2,.72);
  backdrop-filter: blur(16px);
  position: sticky; top: 12px; z-index: 5;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.mark {
  width: 48px; height: 48px; border-radius: 12px;
  object-fit: cover; display: block;
  box-shadow: 0 0 0 1px rgba(225,29,46,.55), 0 0 20px rgba(225,29,46,.35);
}
.brand small { display: block; color: var(--muted); font-size: 11px; }
nav { margin-left: auto; display: flex; gap: 18px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.cart-btn, .cat, .wa {
  border: 1px solid var(--line);
  background: rgba(40,8,8,.7);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
}
.cart-btn b {
  background: var(--red); color: #fff;
  border-radius: 99px; padding: 0 7px; margin-left: 6px;
}
.hero { padding: 42px 6vw 18px; max-width: 760px; }
.kicker {
  color: var(--red-2);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
}
.kicker::before { content: "● "; color: #25d366; }
h1 { font-size: clamp(34px, 6vw, 58px); margin: 10px 0 12px; line-height: 1.05; }
h1 em { font-style: normal; color: var(--red); }
.hero p { color: #ead4d4; max-width: 520px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.pills span {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: 12px; color: #ffd6d9;
  background: rgba(0,0,0,.35);
}
.hero-wa {
  display: inline-flex; text-decoration: none;
  background: #25D366; border: 0; color: #04210d; font-weight: 700;
}
.store { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 6vw 56px; }
aside h2 { font-size: 12px; color: var(--muted); margin-bottom: 10px; letter-spacing: .12em; text-transform: uppercase; }
.cat { display: block; width: 100%; text-align: left; margin-bottom: 8px; border-radius: 12px; }
.cat.is-on {
  border-color: var(--red);
  background: rgba(225,29,46,.2);
  box-shadow: 0 0 18px rgba(225,29,46,.2);
}
.toolbar { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; align-items: center; }
.toolbar input {
  flex: 1; max-width: 280px;
  background: rgba(0,0,0,.45); border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 10px 12px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  backdrop-filter: blur(12px);
}
.thumb {
  height: 92px;
  display: grid; place-items: center;
  font-size: 28px;
  color: var(--red-2);
  background:
    radial-gradient(circle at 50% 30%, rgba(225,29,46,.35), transparent 60%),
    linear-gradient(180deg, rgba(40,6,6,.4), rgba(8,1,1,.7));
  border-bottom: 1px solid rgba(225,29,46,.2);
}
.card .body { padding: 14px; display: grid; gap: 8px; }
.card small { color: var(--red-2); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.card h3 { font-size: 16px; }
.price { font-weight: 700; }
.card button {
  border: 0; border-radius: 10px; padding: 9px;
  background: linear-gradient(90deg, #9b111e, #e11d2e);
  color: #fff; font-weight: 700; cursor: pointer;
}
.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 6vw 48px; }
.help article {
  border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  background: rgba(8,1,1,.7);
}
.help p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.foot { padding: 24px 6vw 80px; color: var(--muted); font-size: 13px; }
.foot a { color: var(--red-2); }
.drawer {
  position: fixed; inset: 0; background: rgba(0,0,0,.62);
  display: grid; justify-items: end; z-index: 10;
}
.drawer[hidden] { display: none; }
.drawer-card {
  width: min(380px, 100%); height: 100%;
  background: #120404; border-left: 1px solid var(--line);
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.drawer-card header { display: flex; justify-content: space-between; align-items: center; }
#cartList { flex: 1; overflow: auto; display: grid; gap: 10px; align-content: start; }
.line { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.total { font-size: 18px; }
.wa { text-decoration: none; text-align: center; background: #25D366; color: #04210d; font-weight: 700; border: 0; }
@media (max-width: 800px) {
  .store, .help { grid-template-columns: 1fr; }
  nav { display: none; }
  .top { margin: 8px 3vw 0; }
}
