/* ============================================
   AURENWEAR — styles.css
   Estructura:
   1. Variables & Reset
   2. Announcement Bar
   3. Navbar
   4. Hero
   5. Marquee
   6. Sections (títulos, headers)
   7. Categories Grid
   8. Products Grid
   9. WhatsApp Banner
   10. Footer
   11. Responsive
============================================ */


/* ── 1. VARIABLES & RESET ── */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500&family=Space+Mono:wght@400;700&display=swap');

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

:root {
  --black:      #0a0a0a;
  --white:      #f5f3ee;
  --gray:       #1a1a1a;
  --gray-mid:   #2e2e2e;
  --gray-light: #888888;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}


/* ── 2. ANNOUNCEMENT BAR ── */

.announcement {
  background: var(--white);
  color: var(--black);
  text-align: center;
  padding: 9px 16px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}


/* ── 3. NAVBAR ── */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--gray-mid);
  position: sticky;
  top: 0;
  background: var(--black);
  z-index: 100;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  color: var(--gray-light);
  font-size: 10px;
  display: block;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.3em;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cart {
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 10px 22px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.nav-cart:hover {
  opacity: 0.85;
}


/* ── 4. HERO ── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  border-bottom: 1px solid var(--gray-mid);
}

.hero-left {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--gray-mid);
}

.hero-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-light);
  border: 1px solid var(--gray-mid);
  display: inline-block;
  padding: 6px 12px;
  width: fit-content;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 9vw, 130px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  padding: 40px 0;
}

.hero-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero-desc {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.7;
  max-width: 260px;
  font-weight: 300;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 14px 32px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  opacity: 0.85;
}

.hero-right {
  background: var(--gray);
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  display: block;
}

.hero-product-tag {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: var(--black);
  border: 1px solid var(--gray-mid);
  padding: 14px 18px;
}

.hero-product-tag p {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--gray-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-product-tag strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--white);
  display: block;
  margin: 4px 0 2px;
}

.hero-product-tag span {
  font-size: 12px;
  color: var(--gray-light);
  font-family: 'Space Mono', monospace;
}


/* ── 5. MARQUEE ── */

.marquee-wrap {
  border-bottom: 1px solid var(--gray-mid);
  overflow: hidden;
  padding: 14px 0;
  background: var(--gray);
}

.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gray-light);
  flex-shrink: 0;
}

.marquee-track .dot {
  color: var(--white);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ── 6. SECTIONS ── */

.section {
  padding: 60px 40px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--gray-mid);
  padding-bottom: 16px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.08em;
}

.section-link {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.2s;
}

.section-link:hover {
  color: var(--white);
}


/* ── 7. CATEGORIES GRID ── */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--gray-mid);
  border: 1px solid var(--gray-mid);
}

.cat-card {
  background: var(--black);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  cursor: pointer;
  transition: background 0.2s;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.cat-card:hover {
  background: var(--gray);
}

.cat-card:hover .cat-num {
  color: var(--white);
}

.cat-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 90px;
  color: var(--gray-mid);
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
}

.cat-num {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--gray-light);
  margin-bottom: 6px;
  letter-spacing: 0.1em;
  transition: color 0.2s;
  position: relative;
}

.cat-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--white);
  position: relative;
}


/* ── 8. PRODUCTS GRID ── */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-mid);
  border: 1px solid var(--gray-mid);
}

.product-card {
  background: var(--black);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}

.product-card:hover {
  background: var(--gray);
}

.product-img {
  aspect-ratio: 1/1;
  background: #c8c8c8;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  display: block;
  transition: transform 0.4s;
}

.product-card:hover .product-img img {
  transform: scale(1.04);
}

.badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  color: var(--black);
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
}

.product-info {
  padding: 14px 16px;
  border-top: 1px solid var(--gray-mid);
}

.product-name {
  font-size: 13px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
}

.product-price {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--gray-light);
}

.product-price s {
  color: var(--gray-mid);
  margin-right: 6px;
}

.product-price .now {
  color: var(--white);
}


/* ── 9. WHATSAPP BANNER ── */

.wpp-banner {
  margin: 0 40px 60px;
  border: 1px solid var(--gray-mid);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--gray);
}

.wpp-text p {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--gray-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wpp-text h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.06em;
}

.btn-wpp {
  background: #25D366;
  color: #000;
  border: none;
  padding: 14px 32px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}

.btn-wpp:hover {
  opacity: 0.88;
}


/* ── 10. FOOTER ── */

footer {
  border-top: 1px solid var(--gray-mid);
  padding: 50px 40px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 0.12em;
}

.footer-brand p {
  font-size: 12px;
  color: var(--gray-light);
  margin-top: 12px;
  line-height: 1.7;
  max-width: 200px;
}

.footer-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--gray-light);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-mid);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--gray-light);
  letter-spacing: 0.08em;
}


/* ── 11. RESPONSIVE ── */

@media (max-width: 900px) {
  nav {
    padding: 16px 20px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-right {
    min-height: 50vw;
  }
  .hero-left {
    padding: 40px 20px;
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 40px 20px;
  }
  .wpp-banner {
    margin: 0 20px 40px;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  footer {
    grid-template-columns: 1fr 1fr;
    padding: 40px 20px;
    gap: 32px;
  }
  .footer-bottom {
    padding: 20px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .hero-title {
    font-size: 18vw;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  footer {
    grid-template-columns: 1fr;
  }
}


/* ── BOTÓN AGREGAR AL CARRITO (en card de producto) ── */
.product-agregar {
  margin-top: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: transparent;
  border-top: 1px solid transparent;
  padding-top: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.2s;
}

.product-card:hover .product-agregar {
  color: #f5f3ee;
  border-top-color: #2e2e2e;
  padding-top: 10px;
  height: 34px;
}




/* ══════════════════════════════════════════
   MEGA MENÚ — cascada 3 niveles
   ══════════════════════════════════════════ */

.mega-item { position: static; display: flex; align-items: center; cursor: pointer; }

.mega-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
}
.mega-arrow {
  font-size: 10px;
  display: inline-block;
  transition: transform 0.2s;
  line-height: 1;
  position: relative;
  top: 1px;
}
.mega-item:hover .mega-arrow { transform: rotate(180deg); }

/* Panel contenedor — full width bajo el navbar */
.mega-panel {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #0d0d0d;
  border-top: 1px solid #2e2e2e;
  border-bottom: 1px solid #2e2e2e;
  z-index: 200;
  flex-direction: row;
  align-items: stretch;
  min-height: 260px;
  padding-top: 0;
}
.mega-panel.abierto { display: flex; }

/* Zona invisible que conecta el trigger con el panel */
.mega-panel::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

/* Cada columna del menú */
.mega-col-wrap {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #1e1e1e;
  min-width: 220px;
  padding: 0;
  flex-shrink: 0;
}

.mega-section-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #444;
  padding: 16px 22px 10px;
  border-bottom: 1px solid #1e1e1e;
  flex-shrink: 0;
}

.mega-list {
  list-style: none;
  padding: 8px 0;
  flex: 1;
}

.mega-list li a,
.mega-list .mega-has-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  font-size: 13px;
  color: #888;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
  user-select: none;
}
.mega-list li a:hover,
.mega-list .mega-has-sub:hover,
.mega-list .mega-has-sub.activo {
  background: #1a1a1a;
  color: #f5f3ee;
}

.mega-ver-todos {
  color: #f5f3ee !important;
  font-family: 'Space Mono', monospace !important;
  font-size: 10px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid #1e1e1e;
  padding-bottom: 12px !important;
  margin-bottom: 4px;
}

.mega-has-sub i {
  font-style: normal;
  font-size: 16px;
  color: #444;
  line-height: 1;
  transition: color 0.12s;
}
.mega-has-sub:hover i,
.mega-has-sub.activo i { color: #888; }

/* Subpanels ocultos por defecto (JS los muestra) */
.mega-sub-panel { display: none; }

@media (max-width: 900px) {
  .mega-panel  { display: none !important; }
  .mega-arrow  { display: none; }
}


/* ── PRODUCT CARD DUO IMAGE (home) ── */
.product-img-duo {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.product-img-duo img {
  width: 50%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  display: block;
  transition: transform 0.4s;
}
.product-card:hover .product-img-duo img {
  transform: scale(1.03);
}


/* ── TRUST BAR ── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px;
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
  background: var(--gray);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 48px;
  flex: 1;
  max-width: 280px;
}

.trust-sep {
  width: 1px;
  height: 48px;
  background: var(--gray-mid);
  flex-shrink: 0;
}

.trust-icon {
  color: var(--white);
  flex-shrink: 0;
  opacity: 0.8;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-text strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
}

.trust-text span {
  font-size: 11px;
  color: var(--gray-light);
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .trust-bar {
    flex-direction: column;
    gap: 24px;
    padding: 32px 20px;
  }
  .trust-sep { width: 48px; height: 1px; }
  .trust-item { max-width: 100%; padding: 0; }
}
/* ── RESEÑAS CARRUSEL ── */
.resenas-carousel-wrap {
  overflow: hidden;
  position: relative;
  padding: 0 0 20px;
}
.resenas-carousel-wrap::before,
.resenas-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.resenas-carousel-wrap::before { left: 0; background: linear-gradient(90deg, #0a0a0a, transparent); }
.resenas-carousel-wrap::after  { right: 0; background: linear-gradient(-90deg, #0a0a0a, transparent); }

.resenas-carousel {
  display: flex;
  gap: 16px;
  animation: scrollResenas 40s linear infinite;
  width: max-content;
}
.resenas-carousel:hover { animation-play-state: paused; }

@keyframes scrollResenas {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.resena-slide {
  flex-shrink: 0;
  width: 320px;
  border: 1px solid #2e2e2e;
  padding: 22px;
  background: #0f0f0f;
  transition: border-color 0.2s;
}
.resena-slide:hover { border-color: #444; }

.resena-slide-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.resena-slide-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: #f5f3ee;
  flex-shrink: 0;
}

.resena-slide-nombre {
  font-size: 14px;
  font-weight: 500;
  color: #f5f3ee;
  line-height: 1.2;
}

.resena-slide-ig {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}
.resena-slide-ig:hover { color: #f5f3ee; }

.resena-slide-fuente {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  color: #555;
  letter-spacing: 0.05em;
}

.resena-slide-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.resena-slide-texto {
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
}