:root {
  --bg: #0d0d0d;
  --bg-2: #161616;
  --card: #1a1a1a;
  --line: #2a2a2a;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --accent: #c6ff00;
  --accent-ink: #111;
  --radius: 12px;
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.accent { color: var(--accent); }

/* ---------- Encabezado ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 13, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 2px; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 28px; font-size: .95rem; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  font-weight: 500; font-size: .95rem; transition: .2s;
}
.btn:hover { border-color: var(--text); }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover { filter: brightness(1.08); border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--accent); letter-spacing: 3px; text-transform: uppercase; font-size: .8rem; font-weight: 700; margin: 0 0 12px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3rem, 8vw, 6.2rem); line-height: .95; margin: 0;
}
.hero__sub { color: var(--muted); font-size: 1.1rem; max-width: 460px; margin: 20px 0 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__visual { position: relative; }
.hero__shoe {
  aspect-ratio: 4 / 3; border-radius: 24px;
  background: var(--bg-2); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--accent);
}
.shoe-icon { width: 70%; transform: rotate(-12deg); }
.hero__tag {
  position: absolute; left: -12px; bottom: 24px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 1px;
  padding: 8px 16px; border-radius: 8px;
}

/* ---------- Secciones ---------- */
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3rem); letter-spacing: 1px; margin: 0 0 28px;
}

/* Género */
.gender-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gender-card {
  min-height: 220px; padding: 24px; text-align: left;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.gender-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.gender-card__title { font-family: var(--font-display); font-size: 2.6rem; text-transform: uppercase; line-height: 1; }
.gender-card__link { color: var(--accent); font-weight: 500; }

/* Marcas */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-card {
  padding: 36px 16px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.brand-card:hover, .brand-card.is-active { border-color: var(--accent); transform: translateY(-3px); }
.brand-card__name { display: block; font-family: var(--font-display); font-size: 2rem; letter-spacing: 2px; text-transform: uppercase; }
.brand-card__count { color: var(--muted); font-size: .85rem; }

/* Filtros */
.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { color: var(--muted); font-size: .9rem; margin-right: 4px; }
.pill {
  padding: 8px 16px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: #ccc;
  font-size: .9rem; transition: .2s;
}
.pill:hover { border-color: var(--text); color: var(--text); }
.pill.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }
.filter-group--sizes .pill { min-width: 46px; padding: 8px 10px; }
.results { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }

/* Productos */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.product {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; display: flex; flex-direction: column; transition: border-color .2s;
}
.product:hover { border-color: #444; }
.product__img {
  aspect-ratio: 1 / 1; border-radius: 8px; background: var(--bg-2);
  display: grid; place-items: center; color: #3a3a3a; overflow: hidden; margin-bottom: 12px;
}
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__img svg { width: 60%; transform: rotate(-12deg); }
.product__meta { color: var(--muted); font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; margin: 0; }
.product__name { font-size: 1.05rem; font-weight: 500; margin: 4px 0; }
.product__price { color: var(--accent); font-weight: 700; font-size: 1.15rem; margin: 0 0 10px; }
.product__sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; }
.size {
  font-size: .75rem; padding: 3px 7px; border-radius: 4px;
  border: 1px solid var(--line); color: var(--muted);
}
.size.is-match { border-color: var(--accent); color: var(--accent); }

.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty__title { color: var(--text); font-size: 1.2rem; font-weight: 500; margin: 0 0 4px; }
.empty .btn { margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 24px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer__note { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.footer__social { display: flex; gap: 20px; color: var(--muted); }
.footer__social a:hover { color: var(--accent); }
.footer__copy { color: #666; font-size: .8rem; margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; }
  .hero__tag { left: 12px; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .nav.is-open { max-height: 300px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 48px 0 64px; }
  .section { padding: 56px 0; }
  .gender-grid { grid-template-columns: 1fr; }
  .gender-card { min-height: 150px; }
  .brand-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
