/* ============================================================
   VALKSHIP — CSS (estilos compartidos: landing + tiendas de aliados)
   Sistema "Tinta y Cielo" — coherente con css/dashboard.css

   • Azul cielo (--accent) = acciones (botones, enlaces, foco).
   • Ámbar (--gold)        = solo dinero (precios, ganancias).
   • Tinta (--black*)      = superficies azul-marino profundas.
   Se conservan los nombres de variable originales; solo cambia su valor.
============================================================ */

:root {
  --black:     #0c1220;
  --black-2:   #121a2c;
  --black-3:   #182238;
  --black-4:   #22304d;
  --gold:      #f2b84a;
  --gold-rgb:  242,184,74;
  --gold-2:    #d99a2b;
  --gold-light:#ffd98a;
  --accent:    #3d8bff;
  --accent-rgb:61,139,255;
  --accent-2:  #2f6fd6;
  --accent-light:#8ec1ff;
  --white:     #eef2fb;
  --white-dim: #a3adc7;
  --line:      rgba(163,173,199,0.14);
  --line-strong:rgba(163,173,199,0.26);
  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-accent:  'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --nav-h:     72px;
  --radius:    12px;
  --shadow-md: 0 1px 2px rgba(3,8,20,.35), 0 12px 32px -14px rgba(3,8,20,.7);
  --shadow-lg: 0 2px 6px rgba(3,8,20,.4), 0 28px 70px -24px rgba(3,8,20,.85);
  --shadow-accent: 0 8px 22px -8px rgba(var(--accent-rgb),.55);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 1000px 650px at 12% -8%, rgba(var(--accent-rgb),0.11), transparent 55%),
    radial-gradient(ellipse 700px 500px at 100% 15%, rgba(var(--gold-rgb),0.05), transparent 55%),
    var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(12,18,32,0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo img { width: 34px; height: 34px; object-fit: contain; }

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white-dim);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover,
.nav-link.active { color: var(--white); }

.nav-auth { display: flex; gap: 0.75rem; }

.btn-login {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.btn-login:hover { background: rgba(var(--accent-rgb),.12); border-color: rgba(var(--accent-rgb),.55); }

.btn-register {
  background: var(--accent);
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-register:hover { background: #4f97ff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--black-2);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem;
  gap: 1rem;
  z-index: 999;
  transform: translateY(-110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition), visibility 0s linear var(--transition);
}
.mobile-menu.open { transform: translateY(0); visibility: visible; pointer-events: auto; transition: transform var(--transition); }
.mobile-menu a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
}
.mobile-menu a:hover { color: var(--white); }

/* ============================================================
   PAGES
============================================================ */
.page {
  display: none;
  min-height: 100vh;
  padding-top: var(--nav-h);
  animation: fadeIn 0.4s ease;
}
.page.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO CAROUSEL
============================================================ */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 520px;
  overflow: hidden;
}

.hero-slides { width: 100%; height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 6% 3rem 8%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-content {
  flex: 0 0 48%;
  z-index: 2;
}

/* Etiqueta pequeña: un punto azul + texto en oración, sin mayúsculas ni tracking */
.hero-tag {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--white-dim);
  text-transform: none;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hero-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.18); flex-shrink: 0; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-transform: none;
  color: var(--white);
  margin-bottom: 1.3rem;
  max-width: 13ch;
}

/* Se conserva la clase por compatibilidad, pero ya no "grita" en dorado:
   el título se lee como una frase, no como un eslogan partido. */
.hero-title .gold {
  color: var(--white);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--white-dim);
  max-width: 44ch;
  margin-bottom: 2rem;
  font-style: normal;
  line-height: 1.6;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: var(--shadow-accent);
  clip-path: none;
  text-decoration: none;
}
.btn-primary:hover {
  background: #4f97ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(var(--accent-rgb),0.7);
}

/* ── Mockup del panel del vendedor (el elemento memorable del hero) ──
   Una tarjeta "flotante" que muestra lo que realmente obtiene alguien al
   registrarse: su tienda, sus pedidos llegando y sus ganancias en ámbar. */
.hero-tile-wrap {
  flex: 0 0 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-tile {
  width: min(100%, 440px);
  background: linear-gradient(165deg, var(--black-3), var(--black-2));
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 1.3rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(var(--accent-rgb),.08);
  position: relative;
  transform: rotate(-1.5deg);
  animation: tileFloat 6s ease-in-out infinite;
}
@keyframes tileFloat {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50%      { transform: rotate(-1.5deg) translateY(-10px); }
}
.hero-tile-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.hero-tile-head img { width: 36px; height: 36px; object-fit: contain; }
.hero-tile-head strong { display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--white); letter-spacing: -0.01em; }
.hero-tile-head span { display: block; font-size: 0.74rem; color: var(--white-dim); }
.hero-tile-live { margin-left: auto; font-size: 0.7rem; font-weight: 600; color: #8ee8bd; background: rgba(62,207,142,.12); border: 1px solid rgba(62,207,142,.35); padding: 0.2rem 0.55rem; border-radius: 20px; display: flex; align-items: center; gap: 0.35rem; }
.hero-tile-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #3ecf8e; }
.hero-tile-earn { background: rgba(var(--gold-rgb),.08); border: 1px solid rgba(var(--gold-rgb),.28); border-radius: 12px; padding: 0.9rem 1rem; margin-bottom: 0.9rem; }
.hero-tile-earn small { display: block; font-size: 0.74rem; color: var(--white-dim); margin-bottom: 0.2rem; }
.hero-tile-earn b { display: block; font-family: var(--font-mono); font-size: 1.75rem; color: var(--gold-light); letter-spacing: -0.02em; line-height: 1.1; }
.hero-tile-earn i { font-style: normal; font-size: 0.74rem; color: #8ee8bd; }
.hero-tile-orders { display: flex; flex-direction: column; gap: 0.5rem; }
.hero-tile-order { display: flex; align-items: center; gap: 0.7rem; background: rgba(163,173,199,.05); border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.75rem; }
.hero-tile-order .ot-ic { width: 32px; height: 32px; border-radius: 8px; background: rgba(var(--accent-rgb),.14); color: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-tile-order .ot-ic svg { width: 16px; height: 16px; }
.hero-tile-order div { flex: 1; min-width: 0; }
.hero-tile-order strong { display: block; font-size: 0.8rem; color: var(--white); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tile-order span { display: block; font-size: 0.7rem; color: var(--white-dim); }
.hero-tile-order em { font-style: normal; font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold-light); flex-shrink: 0; }
/* Ruta de envío: una línea punteada que "viaja" detrás de la tarjeta */
.hero-tile-wrap::before {
  content: '';
  position: absolute;
  left: -8%; right: -8%; top: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(var(--accent-rgb),.55) 0 10px, transparent 10px 20px);
  opacity: .35;
  z-index: -1;
}

.hero-img-wrap {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-shoe {
  max-height: 65vh;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(var(--accent-rgb),0.25));
  animation: floatShoe 4s ease-in-out infinite;
}

@keyframes floatShoe {
  0%, 100% { transform: translateY(0px) rotate(-3deg); }
  50%       { transform: translateY(-16px) rotate(-1deg); }
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(var(--accent-rgb),0.12);
  border: 1px solid rgba(var(--accent-rgb),0.3);
  color: var(--accent-light);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover { background: rgba(var(--accent-rgb),0.25); }
.hero-arrow.left  { left: 1.5rem; }
.hero-arrow.right { right: 1.5rem; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb),0.3);
  cursor: pointer;
  border: 1px solid rgba(var(--accent-rgb),0.5);
  transition: background var(--transition);
}
.dot.active { background: var(--accent); }

/* ============================================================
   QUOTE BANNER
============================================================ */
.quote-banner {
  background: var(--black-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 2.2rem 1rem;
}
.quote-banner p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  font-style: normal;
  color: var(--white);
  letter-spacing: -0.01em;
  max-width: 34ch;
  margin: 0 auto;
  line-height: 1.4;
}

/* ============================================================
   SECTIONS
============================================================ */
.section {
  padding: 5rem 8%;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
/* La etiqueta de sección deja de ser una eyebrow en mayúsculas: un punto
   azul + texto normal, discreto. */
.section-tag {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--white-dim);
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.section-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--white);
  position: relative;
  display: block;
  line-height: 1.12;
}
.section-title::after { content: none; }

/* ============================================================
   TESTIMONIOS
============================================================ */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.testimonio-card {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  transition: transform var(--transition), border-color var(--transition);
}
.testimonio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb),0.5);
}

.testi-img-wrap {
  flex: 0 0 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
}
.testi-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.testi-info { flex: 1; display: flex; flex-direction: column; }
/* Orden visual: ícono → título → descripción (el HTML viene del patrón de
   testimonio, texto primero; aquí se reordena sin tocar el HTML) */
.testi-info .testi-name { order: 1; margin-bottom: 0.4rem; }
.testi-info .testi-text { order: 2; margin-bottom: 0; }
/* Ícono de la función (antes emoji): cuadro azul suave con un SVG de línea */
.stars { color: var(--accent-light); font-size: 1rem; margin-bottom: 0.8rem; width: 40px; height: 40px; border-radius: 10px; background: rgba(var(--accent-rgb),.13); display: flex; align-items: center; justify-content: center; }
.stars svg { width: 20px; height: 20px; }
.testi-text { font-size: 0.95rem; font-style: normal; color: var(--white-dim); margin-bottom: 0.6rem; line-height: 1.55; }
.testi-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; color: var(--white); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--black-2);
  border-top: 1px solid var(--line);
  padding: 3rem 8% 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: none;
}
.footer-col a,
.social-links a {
  display: block;
  color: var(--white-dim);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.footer-col a:hover,
.social-links a:hover { color: var(--accent-light); }

.footer-logo-col {
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.footer-tagline {
  font-style: normal;
  color: var(--white-dim);
  font-size: 0.88rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--white-dim);
  font-size: 0.9rem;
}

.footer-copy {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(163,173,199,0.55);
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  letter-spacing: 0;
}

/* ============================================================
   INNER PAGE HERO
============================================================ */
.inner-page-hero {
  background: linear-gradient(135deg, var(--black) 55%, var(--black-3) 100%);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 8% 2.5rem;
  position: relative;
  overflow: hidden;
}
.inner-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(var(--accent-rgb),0.025) 40px,
    rgba(var(--accent-rgb),0.025) 80px
  );
}
.inner-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  position: relative;
  line-height: 1.1;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--white-dim);
  letter-spacing: 0.01em;
  margin-top: 0.4rem;
  position: relative;
}
.breadcrumb a {
  color: var(--white-dim);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--accent-light); }

/* ── Hero flex layout (para incluir el carrusel promo) ── */
.inner-page-hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

/* ── Carrusel promocional en el hero ── */
.hero-promo-carousel {
  position: relative;
  flex: 1 1 500px;
  max-width: 680px;
  width: 100%;
  aspect-ratio: 2.15 / 1;
  background: var(--black);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  z-index: 1;
}
.hero-promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-promo-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-promo-slide.hero-promo-clickable {
  cursor: pointer;
}
.hero-promo-slide.hero-promo-clickable:hover .hero-promo-img {
  filter: brightness(1.08);
}
.hero-promo-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}
.hero-promo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(0,0,0,0.3);
  transition: background var(--transition), transform var(--transition);
}
.hero-promo-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}
@media (max-width: 780px) {
  .inner-page-hero-flex { flex-direction: column; align-items: flex-start; }
  .hero-promo-carousel {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    min-height: 0;
    aspect-ratio: 2.15 / 1;
  }
}

/* ============================================================
   NOSOTROS
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.about-text p {
  color: var(--white-dim);
  margin-bottom: 1rem;
}
.about-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
}

/* Valores */
.valores-section { background: var(--black-2); }
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.valor-card {
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  text-align: left;
  transition: border-color var(--transition), transform var(--transition);
}
.valor-card:hover {
  border-color: rgba(var(--accent-rgb),.55);
  transform: translateY(-3px);
}
/* Ícono del paso: cuadro azul suave con SVG de línea (antes emoji) */
.valor-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(var(--accent-rgb),.13); color: var(--accent-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; font-size: 1.3rem; }
.valor-icon svg { width: 22px; height: 22px; }
.valor-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 0.6rem;
  text-transform: none;
}
.valor-card p { font-size: 0.93rem; color: var(--white-dim); line-height: 1.6; }

/* Equipo */
.equipo-list { display: flex; flex-direction: column; gap: 1.5rem; }
.equipo-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  transition: border-color var(--transition);
}
.equipo-card:hover { border-color: rgba(var(--accent-rgb),0.5); }
.equipo-avatar {
  flex: 0 0 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
}
.equipo-avatar img { width: 100%; height: 100%; object-fit: cover; }
.equipo-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 2px;
}
.equipo-info span {
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--accent-light);
  text-transform: none;
  display: block;
  margin-bottom: 0.4rem;
}
.equipo-info p { font-size: 0.9rem; color: var(--white-dim); }

/* ============================================================
   GALERÍA / PRODUCTOS
============================================================ */
.galeria-section { background: var(--black); }

.filter-tabs {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--white-dim);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.55rem 1.3rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: rgba(var(--accent-rgb),.55); color: var(--white); }
.filter-btn.active {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.product-card {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb),0.5);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(var(--accent-rgb),0.2);
}
.product-card.hidden { display: none; }

/* ── Banner promocional dentro de la tienda (imagen configurable por el aliado) ── */
.store-banner {
  display: flex;
  align-items: flex-end;
  min-height: 180px;
  margin: 0 2rem 3rem;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform var(--transition);
}
.store-banner:hover { transform: scale(1.012); }
.store-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75));
}
.store-banner-texto {
  position: relative; z-index: 1;
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 1.3rem; padding: 1.3rem 1.6rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
@media (max-width: 720px) {
  .store-banner { margin: 0 1rem 2rem; min-height: 130px; }
  .store-banner-texto { font-size: 1.05rem; padding: 1rem 1.1rem; }
}

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 4px 11px;
  border-radius: 20px;
  z-index: 5;
  box-shadow: 0 4px 12px -4px rgba(3,8,20,.5);
}
.product-badge.new { background: var(--accent); }
.product-badge.dc     { background: var(--black-3); color: var(--gold-light); border: 1px solid rgba(var(--gold-rgb),.5); }
.product-badge.osiris { background: #1a0a0a; color: #e05050; border: 1px solid #e05050; }
.product-badge.lv     { background: #1a1500; color: var(--gold-light); border: 1px solid var(--gold-light); }
.product-badge.vans   { background: #0a0a1a; color: #7ab0ff; border: 1px solid #5599ee; }

.product-img-wrap {
  height: 260px;
  background: var(--black-3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
  filter: brightness(1.05) saturate(1.1);
}

.product-info { padding: 1.4rem; }
.product-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.4rem;
  text-transform: none;
}
.product-desc {
  font-size: 0.86rem;
  color: var(--white-dim);
  margin-bottom: 1.1rem;
  line-height: 1.5;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: -0.01em;
}

.btn-mas {
  background: rgba(var(--accent-rgb),.12);
  border: 1px solid rgba(var(--accent-rgb),.45);
  color: var(--accent-light);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-mas:hover { background: var(--accent); color: #fff; border-color: transparent; }

/* Load More */
.load-more-wrap { text-align: center; margin-top: 3rem; }
.btn-loadmore {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.85rem 2.4rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-loadmore:hover {
  background: rgba(var(--accent-rgb),0.12);
  border-color: rgba(var(--accent-rgb),.55);
}

/* ============================================================
   CONTACTO
============================================================ */
.contacto-section { background: var(--black); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-label {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--white-dim);
  text-transform: none;
  margin-bottom: 0.8rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.contact-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.contacto-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--white);
}

.contact-desc {
  color: var(--white-dim);
  font-style: normal;
  margin-bottom: 2rem;
}

.contact-items { margin-bottom: 2rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--white-dim);
  font-size: 0.95rem;
}
.c-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(var(--accent-rgb),0.3);
  background: rgba(var(--accent-rgb),.10);
  border-radius: 10px;
  color: var(--accent-light);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-socials {
  display: flex;
  gap: 0.6rem;
}
.social-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--white);
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition);
}
.social-icon:hover { background: var(--accent); border-color: transparent; color: #fff; }

/* Form */
.contacto-form-wrap {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white-dim);
  text-transform: none;
}
.form-group input,
.form-group textarea {
  background: var(--black);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: none;
}
.form-group textarea { height: 120px; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.2); }

.form-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  color: var(--white-dim);
}

.btn-send {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.95rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: background var(--transition), transform var(--transition);
}
.btn-send:hover { background: #4f97ff; transform: translateY(-1px); }

/* ============================================================
   AUTH PAGES (LOGIN / REGISTRO)
============================================================ */
.auth-page {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.auth-page.active { display: flex; }

.auth-card {
  background: var(--black-2);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 440px;
  position: relative;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.register-card { max-width: 480px; }

.auth-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.auth-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white-dim);
  letter-spacing: 0;
  text-align: center;
  color: var(--white);
  margin-bottom: 2rem;
}

.auth-input-wrap {
  margin-bottom: 1rem;
}
.auth-input-wrap input {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0;
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.auth-input-wrap input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.2); }
.auth-input-wrap input::placeholder { color: rgba(163,173,199,0.55); }

.forgot-link {
  display: block;
  text-align: right;
  font-size: 0.82rem;
  color: var(--accent-light);
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.forgot-link:hover { text-decoration: underline; }

.btn-auth {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.95rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  clip-path: none;
  box-shadow: var(--shadow-accent);
  transition: background var(--transition);
  margin-bottom: 1.5rem;
}
.btn-auth:hover { background: #4f97ff; }

.auth-socials {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.auth-social-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.82rem;
  transition: background var(--transition);
}
.auth-social-btn:hover { background: var(--accent); border-color: transparent; color: #fff; }

.auth-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--white-dim);
}

.auth-switch {
  text-align: center;
  font-size: 0.88rem;
  color: var(--white-dim);
}
.auth-switch a { color: var(--accent-light); text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* Custom checkbox */
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px; height: 16px;
}

/* ============================================================
   GOLD UTIL
============================================================ */
.gold { color: var(--gold-light); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  .hero { height: auto; min-height: 0; }
  .hero-slide { position: relative; flex-direction: column; padding: 3.5rem 6% 3rem; text-align: center; justify-content: center; gap: 2.2rem; }
  .hero-content { flex: unset; }
  .hero-tag { justify-content: center; }
  .hero-title { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-sub { margin: 0 auto 1.5rem; }
  .hero-content > div { justify-content: center; }
  .hero-tile-wrap { flex: unset; width: 100%; }
  .hero-tile { transform: none; animation: none; }
  .hero-tile-wrap::before { display: none; }
  .hero-img-wrap { flex: unset; max-height: 40vh; }
  .hero-shoe { max-height: 35vh; }
  .about-grid { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: 1fr 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-logo-col { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .navbar { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .nav-auth { display: flex; }
  .hamburger { display: flex; }
  .section { padding: 3rem 5%; }
  .inner-page-hero { padding: 2rem 5%; }
  .valores-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-arrow { width: 36px; height: 36px; font-size: 1.4rem; }
  .hero-title { font-size: 2.2rem; }
  .contacto-form-wrap { padding: 1.5rem; }
  .auth-card { padding: 2rem 1.5rem; margin: 1rem; }
}

/* ============================================================
   CARRITO — BOTÓN NAVBAR
============================================================ */
.btn-cart {
  position: relative;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--white);
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.btn-cart:hover { background: rgba(var(--accent-rgb),0.12); border-color: rgba(var(--accent-rgb),.55); }

.cart-count {
  position: absolute;
  top: -7px; right: -7px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.cart-count.bump { transform: scale(1.4); }

/* ============================================================
   CARRITO — OVERLAY + PANEL LATERAL
============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,8,18,0.7);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(3px);
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 95vw);
  height: 100vh;
  background: var(--black-2);
  border-left: 1px solid var(--line-strong);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(3,8,20,0.7);
}
.cart-panel.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}
.cart-close {
  background: none;
  border: none;
  color: var(--white-dim);
  font-size: 1.1rem;
  cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--transition);
}
.cart-close:hover { color: var(--white); }

/* Items list */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.6rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(163,173,199,0.3) transparent;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-thumb { background: rgba(163,173,199,0.3); border-radius: 2px; }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 240px;
  text-align: center;
  color: var(--white-dim);
}
.cart-empty-icon { font-size: 3rem; opacity: 0.5; }
.cart-empty p { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: var(--white); }
.cart-empty small { font-size: 0.78rem; }

/* Single cart item */
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  animation: fadeIn 0.3s ease;
}
.cart-item-img {
  width: 72px; height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--gold-light);
  font-style: normal;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 8px;
}
.qty-btn {
  background: var(--black-3);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--white);
  width: 26px; height: 26px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.qty-btn:hover { background: rgba(var(--accent-rgb),0.18); border-color: rgba(var(--accent-rgb),.55); }
.qty-value {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--white);
  min-width: 20px;
  text-align: center;
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--white-dim);
  font-size: 1rem;
  cursor: pointer;
  padding: 0 4px;
  align-self: flex-start;
  transition: color var(--transition);
  flex-shrink: 0;
}
.cart-item-remove:hover { color: #e05050; }

/* Cart footer */
.cart-footer {
  padding: 1.2rem 1.6rem 1.6rem;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--black-2);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0;
  color: var(--white-dim);
}
.cart-subtotal span:last-child {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--gold-light);
  font-weight: 700;
}
.btn-checkout {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.95rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  clip-path: none;
  box-shadow: var(--shadow-accent);
  transition: background var(--transition);
  margin-bottom: 0.6rem;
}
.btn-checkout:hover { background: #4f97ff; }
.btn-clear-cart {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white-dim);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0;
  padding: 0.55rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.btn-clear-cart:hover { border-color: #e05050; color: #e05050; }

/* ============================================================
   PRODUCTO — BOTÓN AGREGAR
============================================================ */
.btn-add-cart {
  background: var(--accent);
  border: 1px solid transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: background var(--transition), transform 0.15s ease;
  white-space: nowrap;
}
.btn-add-cart:hover { background: #4f97ff; }
.btn-add-cart:active { transform: scale(0.94); }
.btn-add-cart.added {
  background: #2f9e6a;
  border-color: transparent;
  color: #fff;
  box-shadow: none;
}

/* ============================================================
   ENVÍOS — etiqueta debajo del precio
============================================================ */
.product-footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}
.product-shipping {
  font-size: 0.78rem;
  color: var(--white-dim);
  font-style: normal;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-shipping s,
.producto-shipping s {
  color: rgba(163,173,199,0.5);
  text-decoration: line-through;
}
.product-shipping strong,
.producto-shipping strong {
  color: var(--gold-light);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
}
/* Reajuste del botón para que quede al lado del precio */
.product-footer {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ============================================================
   CHECKOUT PAGE
============================================================ */
.checkout-page { background: var(--black); }

.checkout-section { padding: 3rem 6%; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.checkout-block-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
  text-transform: none;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

/* ── Resumen items ── */
.checkout-summary {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  max-height: 420px;
  overflow-y: auto;
}

.checkout-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.checkout-item:last-child { border-bottom: none; }

.checkout-item-img {
  width: 64px; height: 64px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex-shrink: 0;
}
.checkout-item-info { flex: 1; }
.checkout-item-name {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white);
  margin-bottom: 3px;
}
.checkout-item-qty {
  font-size: 0.8rem;
  color: var(--white-dim);
}
.checkout-item-price {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--gold-light);
  white-space: nowrap;
}

/* ── Totales ── */
.checkout-totals {
  margin-top: 1.2rem;
  border-top: 1px solid var(--line-strong);
  padding-top: 1rem;
}
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--white-dim);
  margin-bottom: 0.6rem;
}
.checkout-envio { color: var(--white-dim); }
.total-final {
  border-top: 1px solid var(--line-strong);
  padding-top: 0.8rem;
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white) !important;
}
.total-final span:last-child { color: var(--gold-light) !important; font-family: var(--font-mono); font-size: 1.15rem; }

/* ── Formulario ── */
.checkout-form-wrap {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
}

.checkout-form {
  display: flex;
  flex-direction: column;
}

.co-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.co-form-group label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white-dim);
  text-transform: none;
}
.optional {
  color: rgba(163,173,199,0.6);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.co-form-group input,
.co-form-group select,
.co-form-group textarea {
  background: var(--black);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.co-form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3adc7' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.co-form-group select option { color: #000; }
.co-form-group textarea { height: 90px; resize: none; }
.co-form-group input:focus,
.co-form-group select:focus,
.co-form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.2); }
.co-form-group input.error,
.co-form-group select.error,
.co-form-group textarea.error { border-color: #e05050; }

.co-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-confirm-order {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  clip-path: none;
  box-shadow: var(--shadow-accent);
  transition: background var(--transition), transform var(--transition);
  margin-bottom: 0.8rem;
}
.btn-confirm-order:hover { background: #4f97ff; transform: translateY(-1px); }
.btn-confirm-order:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-back-cart {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white-dim);
  font-family: var(--font-body);
  font-size: 0.84rem;
  letter-spacing: 0;
  padding: 0.6rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.btn-back-cart:hover { border-color: rgba(var(--accent-rgb),.55); color: var(--white); }

/* ── Pantalla de éxito ── */
.checkout-success {
  text-align: center;
  padding: 2rem 1rem;
  animation: fadeIn 0.5s ease;
}
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.checkout-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}
.checkout-success p { color: var(--white-dim); margin-bottom: 0.6rem; font-size: 1rem; }
.success-sub { font-style: normal; font-size: 0.9rem !important; }
.success-code {
  display: inline-block;
  background: var(--black-3);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0;
  padding: 0.5rem 1.2rem;
  margin-top: 1rem;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 500px) {
  .co-form-row { grid-template-columns: 1fr; }
  .checkout-section { padding: 2rem 4%; }
}

/* ============================================================
   PRODUCT CARD — CLICKABLE
============================================================ */
.product-card {
  cursor: pointer;
}

/* ============================================================
   PÁGINA DE PRODUCTO (DETALLE)
============================================================ */
.producto-page { background: var(--black); }

.producto-section {
  padding: 3rem 6% 0;
}

.producto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* ── Galería de imagen ── */
.producto-gallery {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.producto-main-img {
  position: relative;
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.producto-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.producto-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 5px 14px;
  border-radius: 20px;
  z-index: 5;
}

/* ── Flechas laterales tipo burbuja para rotar las fotos del producto ── */
.prod-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(12,18,32,0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  opacity: 0.75;
  transition: opacity var(--transition), background var(--transition), transform var(--transition);
}
.prod-nav-arrow:hover { opacity: 1; background: var(--accent); border-color: transparent; transform: translateY(-50%) scale(1.08); }
.prod-nav-prev { left: 14px; }
.prod-nav-next { right: 14px; }
.prod-nav-arrow.hidden { display: none; }

/* ── Info del producto ── */
.producto-eyebrow {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--white-dim);
  text-transform: none;
  display: block;
  margin-bottom: 0.6rem;
}

.producto-info {
  display: flex;
  flex-direction: column;
}

.producto-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.producto-price {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.producto-shipping {
  font-size: 0.86rem;
  color: var(--white-dim);
  font-style: normal;
}

.producto-divider {
  height: 1px;
  background: var(--line);
  margin: 1.8rem 0;
}

.producto-talla-section {
  margin-bottom: 1.6rem;
}

/* ── Selector de talla ── */
.talla-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.talla-label {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white);
  text-transform: none;
}
.talla-selected {
  font-size: 0.85rem;
  color: var(--white-dim);
  font-style: normal;
}

.talla-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.6rem;
}

.talla-btn {
  background: var(--black-3);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 0;
  cursor: pointer;
  transition: all var(--transition);
}
.talla-btn:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}
.talla-btn.selected {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.talla-warning {
  color: #ff9a9c;
  font-size: 0.82rem;
  margin-top: 0.8rem;
  font-style: normal;
  display: none;
}
.talla-warning.show { display: block; animation: fadeIn 0.3s ease; }

/* ── Botón agregar al carrito (detalle) ── */
.btn-add-cart-detail {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 1.6rem;
  clip-path: none;
  box-shadow: var(--shadow-accent);
  transition: background var(--transition), transform var(--transition);
}
.btn-add-cart-detail:hover { background: #4f97ff; transform: translateY(-1px); }
.btn-add-cart-detail.added {
  background: #2f9e6a;
  color: #fff;
  box-shadow: none;
}

/* ── Especificaciones ── */
.producto-specs {
  margin-top: 0.4rem;
}
.specs-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
  text-transform: none;
  margin-bottom: 1rem;
}
.specs-desc {
  color: var(--white-dim);
  font-style: normal;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.specs-list li {
  font-size: 0.92rem;
  color: var(--white-dim);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.specs-list li strong {
  color: var(--white);
  font-weight: 600;
  margin-right: 0.4rem;
}

.specs-shipping {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
}
.specs-shipping h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: none;
  margin-bottom: 0.6rem;
}
.specs-shipping p {
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ── También te podría gustar ── */
.relacionados-wrap {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.relacionados-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 2rem;
  text-transform: none;
}
.relacionados-title::after { content: none; }

.relacionados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.6rem;
}

.relacionado-card {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}
.relacionado-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb),0.5);
}
.relacionado-img-wrap {
  height: 180px;
  background: var(--black-3);
  overflow: hidden;
}
.relacionado-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.relacionado-card:hover .relacionado-img-wrap img {
  transform: scale(1.06);
}
.relacionado-info {
  padding: 1rem;
}
.relacionado-info h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: none;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.relacionado-price {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .producto-grid { grid-template-columns: 1fr; gap: 2rem; }
  .producto-gallery { position: static; }
  .talla-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 500px) {
  .producto-section { padding: 2rem 5% 0; }
  .talla-grid { grid-template-columns: repeat(4, 1fr); }
  .relacionados-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Botón Addi ── */
.btn-addi {
  background: #00b05c !important;
  box-shadow: 0 8px 22px -8px rgba(0,176,92,.55) !important;
  margin-top: 0.6rem;
}
.btn-addi:hover { opacity: 0.88; }
.btn-addi:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Botón Contra-entrega ── */
.btn-contraentrega {
  background: transparent !important;
  color: var(--white) !important;
  border: 1px solid var(--line-strong) !important;
  box-shadow: none !important;
  margin-top: 0.6rem;
}
.btn-contraentrega:hover { background: rgba(var(--accent-rgb),.12) !important; border-color: rgba(var(--accent-rgb),.55) !important; }
.btn-contraentrega:hover { opacity: 0.88; }
.btn-contraentrega:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Selector de transportadoras ── */
.carrier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.carrier-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--black-3);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.8rem 0.5rem;
  cursor: pointer;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}
.carrier-card:hover { border-color: var(--accent); }
.carrier-card.selected {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb),0.12);
  box-shadow: 0 0 0 1px var(--accent);
}
.carrier-card.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.carrier-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  padding: 3px;
}
.carrier-card span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--white);
  line-height: 1.2;
}
.carrier-card span small {
  display: block;
  color: var(--white-dim);
  font-size: 0.66rem;
}
.carrier-note {
  color: var(--white-dim);
  font-size: 0.76rem;
  margin-top: 0.5rem;
}
.carrier-grid.error-outline .carrier-card { border-color: #e05050; }
@media (max-width: 500px) {
  .carrier-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Filter Dropdown (Más) ── */
.filter-dropdown {
  position: relative;
  display: inline-block;
}
.filter-more-btn {
  background: var(--black-3) !important;
  border-color: var(--line-strong) !important;
  color: var(--white) !important;
  font-size: 1.1rem !important;
  letter-spacing: 0 !important;
}
.filter-more-btn.open {
  background: rgba(var(--accent-rgb),0.15) !important;
  border-color: rgba(var(--accent-rgb),.6) !important;
}
.filter-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--black-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  min-width: 180px;
  z-index: 500;
  box-shadow: var(--shadow-lg);
}
.filter-dropdown-menu.open { display: block; animation: fadeIn 0.2s ease; }
.filter-dropdown-item {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--white-dim);
  font-family: var(--font-body);
  font-size: 0.86rem;
  letter-spacing: 0;
  padding: 0.7rem 1.1rem;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.filter-dropdown-item:last-child { border-bottom: none; }
.filter-dropdown-item:hover,
.filter-dropdown-item.active {
  background: rgba(var(--accent-rgb),0.14);
  color: var(--white);
}

/* ── Nuevos badges ── */
.product-badge.adidas  { background: #0a0a2a; color: #4fc3f7; border: 1px solid #4fc3f7; }
.product-badge.clemont { background: #1a0a1a; color: #ce93d8; border: 1px solid #ce93d8; }

/* ── Logo imagen ── */
.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px rgba(var(--accent-rgb),0.35));
}
.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(var(--accent-rgb),0.3));
}

/* ── Thumbnails galería de producto ── */
.producto-thumbnails {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}
.prod-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 2px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.prod-thumb:hover { border-color: rgba(var(--accent-rgb),.6); }
.prod-thumb.active {
  border-color: var(--accent);
  transform: scale(1.05);
}

/* ══════════════════════════════════════════════
   MODAL SELECCIÓN DE TALLA (grilla de productos)
══════════════════════════════════════════════ */
.talla-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,8,18,0.72);
  backdrop-filter: blur(3px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.talla-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.talla-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  width: 90%;
  max-width: 380px;
  background: var(--black-2);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 2rem 1.6rem 1.8rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: var(--shadow-lg);
}
.talla-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.talla-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  background: none;
  border: none;
  color: var(--white-dim);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color var(--transition);
}
.talla-modal-close:hover { color: var(--white); }
.talla-modal-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  text-align: center;
}
.talla-modal-product {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--white-dim);
  text-align: center;
  margin: 0 0 1.4rem;
}
.talla-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.talla-modal-grid .talla-btn { padding: 0.85rem 0; font-size: 1rem; }
.talla-modal-warning {
  display: none;
  color: #ff9a9c;
  font-size: 0.8rem;
  text-align: center;
  margin: 1rem 0 0;
}
.talla-modal-warning.show { display: block; }
@media (max-width: 420px) {
  .talla-modal-grid { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
}
