/* ============================================================
   Lion Smarch Jogger — Stylesheet v1.0
   Paleta: Negro #000 · Violeta #7B2BE6 · Cian #00E5D4 · Blanco #fff
   ============================================================ */

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --violet:  #7B2BE6;
  --cyan:    #00E5D4;
  --black:   #000000;
  --card:    #0f0f0f;
  --card2:   #0a0a0a;
  --border:  #1a1a1a;
  --muted:   #555555;
  --muted2:  #333333;
  --white:   #ffffff;
  --danger:  #e53e3e;
  --success: #00E5D4;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;
  --radius:  12px;
  --radius-lg: 16px;
  --shadow-violet: 0 4px 20px rgba(123,43,230,0.35);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: var(--font-body); }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 4px; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

/* Logo */
.logo { display: flex; align-items: baseline; gap: 0; }
.logo-lion   { font-family: var(--font-display); font-size: 22px; letter-spacing: 3px; color: var(--violet); }
.logo-smarch { font-family: var(--font-display); font-size: 22px; letter-spacing: 3px; color: var(--cyan); }
.logo-sub    { font-size: 11px; color: var(--muted); margin-left: 6px; letter-spacing: 2px; text-transform: uppercase; }

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link { font-size: 13px; color: #aaa; transition: color .2s; white-space: nowrap; }
.nav-link:hover { color: var(--white); }
.nav-link-muted { color: var(--muted); font-size: 12px; }
.user-greeting { font-size: 12px; color: var(--muted); white-space: nowrap; }
.user-greeting strong { color: var(--violet); }

/* Cart button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 4px;
  border: none;
  background: none;
  cursor: pointer;
}
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--violet);
  color: var(--white);
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── Main ─────────────────────────────────────────────────── */
.main-content { min-height: calc(100vh - 56px - 80px); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 48px;
}
.footer-inner { text-align: center; }
.footer-brand { margin-bottom: 8px; }
.footer-text  { font-size: 12px; color: var(--muted2); margin-bottom: 12px; }
.footer-links { display: flex; gap: 20px; justify-content: center; }
.footer-links a { font-size: 11px; color: var(--muted2); }
.footer-links a:hover { color: var(--muted); }

/* ── Botones ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet), #5a1ab3);
  color: var(--white);
  box-shadow: var(--shadow-violet);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 2px;
  padding: 14px 20px;
  width: 100%;
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-primary:disabled { background: #2a2a2a; color: var(--muted); box-shadow: none; cursor: not-allowed; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: #aaa;
}
.btn-outline:hover { border-color: var(--violet); color: var(--white); }

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
  background: rgba(123,43,230,0.15);
  border: 1px solid var(--violet);
  color: var(--white);
  font-weight: 600;
}

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), #00b8a9);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 800;
  width: 100%;
  padding: 14px;
}

/* ── Flash messages ───────────────────────────────────────── */
.flash {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.flash-success { background: rgba(0,229,212,0.08); border: 1px solid rgba(0,229,212,0.3); color: var(--cyan); }
.flash-error   { background: rgba(229,62,62,0.08); border: 1px solid rgba(229,62,62,0.3); color: #fc8181; }
.flash-info    { background: rgba(123,43,230,0.08); border: 1px solid rgba(123,43,230,0.3); color: #b794f4; }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.form-input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--white);
  font-size: 14px;
  transition: border-color .2s;
}
.form-input:focus { outline: none; border-color: var(--violet); }
.form-input.has-icon { padding-left: 42px; }
.form-input.error { border-color: var(--danger); }
.form-input::placeholder { color: #444; }

.input-wrapper { position: relative; }
.input-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: #444;
  pointer-events: none;
  display: flex;
}
.input-toggle {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: #444; cursor: pointer;
  display: flex; padding: 0;
}

.form-error { font-size: 11px; color: var(--danger); margin-top: 5px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 48px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,43,230,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-label {
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-display);
  line-height: 0.88;
  margin-bottom: 12px;
}
.hero-title .line1 { font-size: clamp(60px, 18vw, 80px); color: var(--violet); text-shadow: 0 0 60px rgba(123,43,230,0.5); display: block; }
.hero-title .line2 { font-size: clamp(60px, 18vw, 80px); color: var(--cyan);   text-shadow: 0 0 60px rgba(0,229,212,0.45); display: block; }
.hero-drips { display: flex; justify-content: center; gap: 8px; margin: 14px 0; }
.hero-drips span { width: 3px; border-radius: 0 0 6px 6px; }
.hero-desc { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 260px; margin: 0 auto 20px; }
.hero-promo {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,229,212,0.07);
  border: 1px solid rgba(0,229,212,0.2);
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 12px; color: var(--cyan); font-weight: 600;
}
.hero-auth { margin-top: 16px; display: flex; gap: 10px; justify-content: center; }
.hero-auth .btn-login {
  padding: 7px 16px; border-radius: 20px; border: 1px solid #2a2a2a;
  background: none; color: #888; font-size: 12px; cursor: pointer;
}

/* ── Categorías ───────────────────────────────────────────── */
.categories { padding: 16px 20px 4px; }
.categories-inner { display: flex; gap: 8px; max-width: 520px; margin: 0 auto; }
.cat-pill {
  padding: 7px 16px; border-radius: 20px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--border); color: var(--muted2);
  cursor: not-allowed; line-height: 1;
}
.cat-pill.active {
  border-color: var(--violet);
  background: rgba(123,43,230,0.15);
  color: var(--white);
  cursor: default;
}
.cat-pill small { display: block; font-size: 9px; color: var(--muted2); margin-top: 2px; }

/* ── Productos grid ───────────────────────────────────────── */
.products { padding: 14px 20px 40px; }
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}
.product-card {
  background: var(--card2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: block;
  color: inherit;
}
.product-card:hover {
  border-color: var(--violet);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(123,43,230,0.2);
}
.product-img {
  height: 200px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: #0a0a0a;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .35s ease;
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-img-placeholder { font-size: 48px; opacity: .25; }
.product-badge {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  border-radius: 20px; padding: 2px 9px;
  font-size: 10px; color: var(--cyan); font-weight: 700;
  border: 1px solid rgba(0,229,212,0.25);
}
.product-colors { position: absolute; bottom: 8px; left: 10px; display: flex; gap: 3px; }
.color-dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); }
.color-more { font-size: 9px; color: rgba(255,255,255,0.4); display: flex; align-items: center; }

.product-info { padding: 10px 12px 14px; }
.product-name { font-size: 12px; font-weight: 700; line-height: 1.3; margin-bottom: 5px; }
.product-price { font-family: var(--font-display); font-size: 20px; color: var(--violet); line-height: 1; }
.product-abono { font-size: 11px; color: #444; margin-top: 3px; }

/* ── Detalle producto ─────────────────────────────────────── */
.product-detail { max-width: 520px; margin: 0 auto; padding: 0 20px 80px; }
.product-hero-img {
  height: 300px;
  border-radius: 0 0 24px 24px;
  margin: 0 -20px 24px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  cursor: zoom-in;
  transition: transform .3s ease;
}
.product-hero-img img:hover { transform: scale(1.02); }
.product-hero-img .zoom-hint {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  pointer-events: none;
}
.product-hero-emoji { font-size: 80px; opacity: .2; }

.detail-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.detail-name { font-family: var(--font-display); font-size: 30px; line-height: 1.1; }
.detail-cat  { font-size: 12px; color: var(--muted); margin-top: 4px; }
.detail-price { text-align: right; }
.detail-price-val { font-family: var(--font-display); font-size: 32px; color: var(--violet); }
.detail-price-label { font-size: 11px; color: #444; }
.detail-desc { font-size: 13px; color: #777; line-height: 1.7; margin-bottom: 24px; }

/* Selector de colores */
.selector-label { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.selector-label span { color: var(--violet); font-weight: 400; }
.color-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.color-swatch {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid var(--border); cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.color-swatch:hover { border-color: var(--violet); }
.color-swatch.active {
  border-color: var(--violet);
  box-shadow: 0 0 0 2px rgba(123,43,230,0.35);
}

/* Selector de tallas */
.size-grid { display: flex; gap: 8px; margin-bottom: 24px; }
.size-btn {
  width: 50px; height: 50px; border-radius: 10px;
  border: 2px solid var(--border);
  background: #0d0d0d; color: var(--muted);
  font-weight: 700; font-size: 13px; cursor: pointer;
  transition: all .15s;
}
.size-btn:hover { border-color: var(--violet); color: var(--white); }
.size-btn.active { border-color: var(--violet); background: rgba(123,43,230,0.2); color: var(--white); }

/* Selector de abono */
.abono-grid { display: flex; gap: 8px; margin-bottom: 28px; }
.abono-card {
  flex: 1; border-radius: var(--radius-lg); padding: 14px 10px;
  text-align: center; border: 2px solid var(--border);
  background: var(--card); cursor: pointer;
  transition: all .2s; position: relative;
}
.abono-card:hover { border-color: #4a1a7a; }
.abono-card.active { border-color: var(--violet); background: rgba(123,43,230,0.13); }
.abono-best {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--cyan); color: var(--black);
  font-size: 9px; font-weight: 800;
  padding: 2px 10px; border-radius: 20px;
  letter-spacing: 1px; white-space: nowrap;
}
.abono-pct  { font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--violet); }
.abono-pct.cyan { color: var(--cyan); }
.abono-tipo { font-size: 10px; color: var(--muted); margin-bottom: 10px; }
.abono-monto { font-size: 15px; color: var(--white); font-weight: 700; }
.abono-label { font-size: 10px; color: var(--muted); }
.abono-saldo { font-size: 11px; color: #777; margin-top: 6px; }
.abono-free  { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 11px; color: var(--cyan); margin-top: 6px; }
.abono-tachado { font-size: 10px; color: #555; text-decoration: line-through; }
.abono-dto  { font-size: 10px; color: var(--cyan); margin-left: 4px; }
.abono-wompi { font-size: 10px; color: #444; margin-top: 8px; }
.abono-check {
  position: absolute; top: 8px; right: 8px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--violet);
  display: flex; align-items: center; justify-content: center;
}

/* Auth notice */
.auth-notice {
  background: rgba(123,43,230,0.07);
  border: 1px solid #2a1a4a;
  border-radius: var(--radius); padding: 12px 16px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: #888; line-height: 1.5;
}
.auth-notice a { color: var(--violet); font-weight: 700; }

/* ── Auth pages ───────────────────────────────────────────── */
.auth-page { max-width: 440px; margin: 40px auto; padding: 0 20px 80px; }
.auth-brand { text-align: center; margin-bottom: 28px; }
.auth-brand-title { font-family: var(--font-display); font-size: 32px; letter-spacing: 3px; }
.auth-brand-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }

.auth-tabs { display: flex; background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); padding: 4px; margin-bottom: 28px; gap: 4px; }
.auth-tab {
  flex: 1; padding: 10px; border-radius: 9px; border: none;
  cursor: pointer; font-size: 13px; font-weight: 600;
  background: transparent; color: var(--muted); transition: all .2s;
}
.auth-tab.active { background: var(--violet); color: var(--white); }

/* Password strength */
.pass-strength { margin-bottom: 16px; }
.pass-bars { display: flex; gap: 4px; margin-bottom: 4px; }
.pass-bar { flex: 1; height: 3px; border-radius: 3px; background: var(--border); transition: background .3s; }
.pass-label { font-size: 10px; color: var(--muted); }

/* ── Verify email ─────────────────────────────────────────── */
.verify-page { max-width: 440px; margin: 48px auto; padding: 0 20px 80px; text-align: center; }
.verify-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(123,43,230,0.12); border: 2px solid rgba(123,43,230,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  animation: pulse 2s infinite;
}
.verify-title { font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; margin-bottom: 12px; }
.verify-email { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 12px 20px; display: inline-block; margin-bottom: 28px; }
.verify-email span { color: var(--cyan); font-weight: 600; font-size: 14px; }
.verify-steps { background: var(--card2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 24px; text-align: left; }
.verify-step { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.verify-step:last-child { margin-bottom: 0; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: rgba(123,43,230,0.15); border: 1px solid var(--violet); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 15px; color: var(--violet); }
.step-text { font-size: 13px; color: #888; }

/* ── Carrito ──────────────────────────────────────────────── */
.cart-page { max-width: 520px; margin: 0 auto; padding: 24px 20px 80px; }
.cart-title { font-family: var(--font-display); font-size: 28px; letter-spacing: 2px; margin-bottom: 20px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-empty svg { margin: 0 auto 16px; opacity: .3; }
.cart-empty p { margin-bottom: 20px; }
.cart-item { background: var(--card); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--border); }
.cart-item-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.cart-item-name { font-size: 14px; font-weight: 700; }
.cart-item-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.cart-item-footer { display: flex; justify-content: space-between; align-items: center; }
.cart-item-precio { font-family: var(--font-display); font-size: 20px; color: var(--violet); }
.cart-item-tipo { font-size: 11px; color: var(--muted); }
.cart-remove { background: none; border: none; color: #444; cursor: pointer; padding: 4px; display: flex; }
.cart-remove:hover { color: var(--danger); }
.cart-summary { background: var(--card2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-top: 20px; }
.cart-summary-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.cart-summary-total { font-family: var(--font-display); font-size: 26px; color: var(--white); margin-bottom: 4px; }
.cart-summary-note { font-size: 11px; color: #333; margin-bottom: 20px; }
.cart-wompi-note { text-align: center; font-size: 11px; color: #2a2a2a; margin-top: 12px; }

/* Tip */
.tip-box { background: rgba(123,43,230,0.07); border: 1px solid #1e1425; border-radius: 10px; padding: 10px 14px; font-size: 11px; color: #666; line-height: 1.6; margin-top: 10px; }
.tip-box strong { color: var(--violet); }

/* ── Mis pedidos ──────────────────────────────────────────── */
.pedidos-page { max-width: 520px; margin: 0 auto; padding: 24px 20px 80px; }
.pedido-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 14px; }
.pedido-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.pedido-codigo { font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; color: var(--violet); }
.pedido-fecha  { font-size: 11px; color: var(--muted); }
.estado-badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.estado-pendiente_abono { background: rgba(246,173,85,0.15); color: #f6ad55; border: 1px solid rgba(246,173,85,0.3); }
.estado-abonado         { background: rgba(123,43,230,0.15); color: #b794f4; border: 1px solid rgba(123,43,230,0.3); }
.estado-en_produccion   { background: rgba(0,229,212,0.12); color: var(--cyan); border: 1px solid rgba(0,229,212,0.3); }
.estado-listo           { background: rgba(0,229,212,0.2); color: var(--cyan); border: 1px solid var(--cyan); }
.estado-entregado       { background: rgba(72,187,120,0.15); color: #68d391; border: 1px solid rgba(72,187,120,0.3); }
.estado-cancelado       { background: rgba(229,62,62,0.12); color: #fc8181; border: 1px solid rgba(229,62,62,0.3); }

/* ── Utilidades ───────────────────────────────────────────── */
.text-violet { color: var(--violet); }
.text-cyan   { color: var(--cyan); }
.text-muted  { color: var(--muted); }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0  { margin-bottom: 0; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.gap-8  { gap: 8px; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ── Animaciones ──────────────────────────────────────────── */
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(123,43,230,0.3); }
  50%      { box-shadow: 0 0 0 12px rgba(123,43,230,0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
