/* ===========================
   MIREILYS COLLEC — style.css
   =========================== */

:root {
  --purple:       #9B59B6;
  --purple-light: #C39BD3;
  --purple-dark:  #6C3483;
  --purple-vivid: #A855F7;
  --gold:         #D4AF37;
  --gold-light:   #F0D060;
  --black:        #0D0D0D;
  --dark:         #111118;
  --dark2:        #1A1A26;
  --dark3:        #22222F;
  --white:        #FAFAFA;
  --gray:         #8888AA;
  --radius:       16px;
  --radius-lg:    28px;
  --shadow:       0 8px 40px rgba(155, 89, 182, 0.18);
  --shadow-lg:    0 20px 60px rgba(155, 89, 182, 0.28);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--dark); color: var(--white); font-family: var(--font-body); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
em { font-style: italic; color: var(--purple-light); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--purple-dark); border-radius: 99px; }

/* ====== NAVBAR ====== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(13,13,13,0.6);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(155,89,182,0.15);
  transition: background var(--transition);
}
.navbar.scrolled { background: rgba(13,13,13,0.92); box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.nav-logo { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(168,85,247,0.5); box-shadow: 0 0 14px rgba(168,85,247,0.4); flex-shrink: 0; transition: box-shadow var(--transition), transform var(--transition); }
.logo-img:hover { box-shadow: 0 0 22px rgba(168,85,247,0.7); transform: scale(1.05); }
.logo-img.sm { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--gray); letter-spacing: 0.03em; transition: color var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1.5px; background: var(--purple-vivid); transform: scaleX(0); transition: transform var(--transition); transform-origin: left; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.btn-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; padding: 0.5rem 1.2rem; border-radius: 99px; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 0.4rem; transition: transform var(--transition), box-shadow var(--transition); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.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: 99px; transition: var(--transition); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { position: fixed; top: 70px; left: 0; right: 0; background: rgba(13,13,13,0.97); flex-direction: column; align-items: center; padding: 2rem 0; gap: 1.5rem; transform: translateY(-120%); transition: transform var(--transition); border-bottom: 1px solid rgba(155,89,182,0.2); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.1rem; color: var(--white); }
}

/* ====== HERO ====== */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 7rem 2.5rem 4rem; gap: 3rem; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(155,89,182,0.18) 0%, transparent 70%), linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: float 8s ease-in-out infinite; }
.orb1 { width: 500px; height: 500px; background: rgba(168,85,247,0.2); top: -100px; right: -100px; animation-delay: 0s; }
.orb2 { width: 300px; height: 300px; background: rgba(212,175,55,0.12); bottom: 100px; left: -60px; animation-delay: -3s; }
.orb3 { width: 200px; height: 200px; background: rgba(155,89,182,0.25); top: 50%; left: 40%; animation-delay: -5s; }
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }
.noise { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); opacity: 0.3; }
.hero-content { position: relative; z-index: 1; max-width: 580px; flex: 1; animation: slideUp 0.9s ease both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(168,85,247,0.12); border: 1px solid rgba(168,85,247,0.3); color: var(--purple-light); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; padding: 0.4rem 1rem; border-radius: 99px; margin-bottom: 1.5rem; animation: slideUp 0.9s 0.1s ease both; }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; line-height: 1.05; margin-bottom: 1.2rem; animation: slideUp 0.9s 0.2s ease both; }
.hero-sub { font-size: 1.1rem; color: var(--gray); max-width: 440px; margin-bottom: 2rem; animation: slideUp 0.9s 0.3s ease both; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; animation: slideUp 0.9s 0.4s ease both; }
.btn-primary { background: linear-gradient(135deg, var(--purple-vivid), var(--purple-dark)); color: #fff; padding: 0.85rem 2rem; border-radius: 99px; font-weight: 600; font-size: 1rem; transition: transform var(--transition), box-shadow var(--transition); display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: 0 4px 24px rgba(168,85,247,0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(168,85,247,0.5); }
.btn-primary.big { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-outline { background: transparent; color: var(--white); padding: 0.85rem 2rem; border-radius: 99px; font-weight: 600; font-size: 1rem; border: 1.5px solid rgba(255,255,255,0.25); transition: all var(--transition); display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-outline:hover { background: rgba(255,255,255,0.07); border-color: var(--purple-light); color: var(--purple-light); transform: translateY(-2px); }
.btn-outline.big { padding: 1rem 2.5rem; font-size: 1.05rem; }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; animation: slideUp 0.9s 0.5s ease both; }
.stat span { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--purple-light); line-height: 1; }
.stat p { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.stat-sep { color: rgba(255,255,255,0.1); font-size: 1.5rem; }
.hero-img-side { position: relative; z-index: 1; flex: 1; min-height: 420px; display: flex; align-items: center; justify-content: center; animation: slideUp 0.9s 0.25s ease both; }
.floating-card { position: absolute; background: var(--dark3); border: 1px solid rgba(155,89,182,0.25); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); transition: transform var(--transition), box-shadow var(--transition); }
.floating-card:hover { transform: scale(1.04) translateY(-5px) !important; box-shadow: 0 25px 60px rgba(155,89,182,0.35); z-index: 10; }
.floating-card img { width: 100%; height: 100%; object-fit: cover; }
.floating-card span { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%); text-align: center; padding: 1rem 0.5rem 0.6rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--purple-light); }
.card1 { width: 210px; height: 240px; top: 20px; left: 10%; transform: rotate(-4deg); animation: cardFloat1 6s ease-in-out infinite; }
.card2 { width: 180px; height: 220px; top: 50px; right: 5%; transform: rotate(5deg); animation: cardFloat2 7s ease-in-out infinite; }
.card3 { width: 160px; height: 190px; bottom: 30px; left: 30%; transform: rotate(-2deg); animation: cardFloat3 8s ease-in-out infinite; }
@keyframes cardFloat1 { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-14px); } }
@keyframes cardFloat2 { 0%,100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(10px); } }
@keyframes cardFloat3 { 0%,100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-10px); } }
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.3rem; color: var(--gray); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; z-index: 1; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ====== CATEGORIES STRIP ====== */
.categories-strip { background: linear-gradient(135deg, var(--purple-dark), var(--purple-vivid)); padding: 1rem 0; overflow: hidden; white-space: nowrap; }
.strip-track { display: inline-flex; gap: 3rem; animation: marquee 22s linear infinite; }
.strip-track span { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ====== SECTION SHARED ====== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--purple-vivid); margin-bottom: 0.6rem; }
.section-tag.light { color: var(--purple-light); }
.section-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.1; margin-bottom: 0.7rem; }
.section-desc { color: var(--gray); font-size: 1rem; }

/* ====== CATÁLOGO ====== */
.catalogo { padding: 6rem 2.5rem; max-width: 1300px; margin: 0 auto; }

/* FILTROS */
.filtros { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.filtro-btn { background: transparent; border: 1.5px solid rgba(155,89,182,0.3); color: var(--gray); padding: 0.5rem 1.4rem; border-radius: 99px; font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: all var(--transition); font-family: var(--font-body); }
.filtro-btn:hover, .filtro-btn.active { background: linear-gradient(135deg, var(--purple-vivid), var(--purple-dark)); border-color: transparent; color: #fff; box-shadow: 0 4px 18px rgba(168,85,247,0.3); }

/* ====== BLOQUES DE CATEGORÍA ====== */
.categoria-bloque {
  margin-bottom: 4rem;
  background: var(--dark2);
  border: 1px solid rgba(155,89,182,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2.5rem;
  transition: border-color var(--transition);
}
.categoria-bloque:hover {
  border-color: rgba(168,85,247,0.25);
}
.categoria-bloque.hidden {
  display: none;
}

.categoria-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.categoria-titulo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.cat-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.categoria-titulo h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}
.cat-count {
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.3);
  color: var(--purple-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.8rem;
  border-radius: 99px;
}

/* Botón Ver todos */
.ver-todos-btn {
  background: transparent;
  border: 1.5px solid rgba(168,85,247,0.4);
  color: var(--purple-light);
  padding: 0.5rem 1.4rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
  font-family: var(--font-body);
  white-space: nowrap;
}
.ver-todos-btn:hover {
  background: rgba(168,85,247,0.12);
  border-color: var(--purple-vivid);
  color: var(--white);
}
.ver-todos-btn.expanded {
  background: linear-gradient(135deg, var(--purple-vivid), var(--purple-dark));
  border-color: transparent;
  color: #fff;
}
.ver-todos-btn i {
  transition: transform var(--transition);
}
.ver-todos-btn.expanded i {
  transform: rotate(180deg);
}

/* PRODUCTS GRID */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Tarjetas extra ocultas por defecto */
.producto-card.extra {
  display: none;
}
.producto-card.extra.visible {
  display: block;
  animation: fadeInCard 0.5s ease both;
}

/* Tarjetas */
.producto-card {
  background: var(--dark3);
  border: 1px solid rgba(155,89,182,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.producto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168,85,247,0.4);
}

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

/* =====================================================
   FIX PRINCIPAL: imagen sin corte en esquina
   - object-position: center center (no top)
   - cursor zoom-in directo aquí
   ===================================================== */
.card-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0; /* redondeo solo arriba */
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* FIX: cambiado de "center top" que cortaba */
  display: block;
  transition: transform 0.5s ease;
  cursor: zoom-in;
}
.producto-card:hover .card-img-wrap img { transform: scale(1.07); }

/* =====================================================
   FIX OVERLAY: lupa arriba-derecha, botón abajo centrado
   ===================================================== */
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;  /* botón Consultar pegado al fondo */
  padding-bottom: 1.2rem;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius) var(--radius) 0 0;
}
.producto-card:hover .card-overlay { opacity: 1; }

.overlay-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transform: translateY(8px);
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.producto-card:hover .overlay-btn {
  transform: translateY(0);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

/* =====================================================
   FIX LUPA: posición fija arriba-derecha, siempre visible
   en hover sin interferir con el botón Consultar
   ===================================================== */
.lupa-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 13, 13, 0.75);
  border: 1.5px solid rgba(168, 85, 247, 0.5);
  color: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;          /* encima del overlay */
  opacity: 0;
  transform: scale(0.75);
  backdrop-filter: blur(4px);
  pointer-events: none; /* invisible → no interfiere con clicks */
}
.producto-card:hover .lupa-btn {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}
.lupa-btn:hover {
  background: var(--purple-vivid);
  border-color: var(--purple-vivid);
  color: #fff;
  transform: scale(1.1);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--purple-vivid), var(--purple-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  z-index: 5;
}
.card-badge.new { background: linear-gradient(135deg, var(--gold), #b8940a); color: #000; }

.card-info { padding: 1.2rem 1.4rem 1.4rem; }
.card-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--purple-light); }
.card-info h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin: 0.25rem 0 0.4rem; }
.card-info p { color: var(--gray); font-size: 0.85rem; line-height: 1.5; margin-bottom: 1rem; }
.card-footer { display: flex; align-items: center; justify-content: flex-end; }
.btn-card { background: linear-gradient(135deg, var(--purple-vivid), var(--purple-dark)); color: #fff; padding: 0.45rem 1.3rem; border-radius: 99px; font-size: 0.83rem; font-weight: 600; transition: transform var(--transition), box-shadow var(--transition); }
.btn-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(168,85,247,0.4); }

/* Separador visual entre bloques */
.categoria-bloque + .categoria-bloque {
  border-top: none;
}

/* ====== NOSOTROS ====== */
.nosotros { background: var(--dark2); padding: 6rem 2.5rem; border-top: 1px solid rgba(155,89,182,0.1); border-bottom: 1px solid rgba(155,89,182,0.1); }
.nosotros-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.nosotros-text .section-tag { margin-bottom: 0.5rem; }
.nosotros-text h2 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; margin-bottom: 1.5rem; }
.nosotros-text p { color: var(--gray); font-size: 0.98rem; line-height: 1.75; margin-bottom: 1rem; }
.nosotros-text p strong { color: var(--purple-light); }
.valores { display: flex; gap: 1.2rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.valor { display: flex; align-items: center; gap: 0.5rem; background: rgba(168,85,247,0.1); border: 1px solid rgba(168,85,247,0.2); padding: 0.5rem 1rem; border-radius: 99px; font-size: 0.82rem; font-weight: 600; }
.valor i { color: var(--purple-vivid); }
.btn-instagram { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); color: #fff; padding: 0.75rem 1.8rem; border-radius: 99px; font-weight: 600; font-size: 0.9rem; transition: transform var(--transition), box-shadow var(--transition); }
.btn-instagram:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(131,58,180,0.4); }
.nosotros-visual { position: relative; }
.visual-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.visual-grid img { border-radius: var(--radius); object-fit: cover; object-position: center center; width: 100%; border: 1px solid rgba(155,89,182,0.2); transition: transform var(--transition); }
.visual-grid img:hover { transform: scale(1.03); }
.vg1 { grid-column: 1; grid-row: 1 / 3; height: 320px; }
.vg2 { grid-column: 2; grid-row: 1; height: 150px; }
.vg3 { grid-column: 2; grid-row: 2; height: 155px; }
.nosotros-badge { position: absolute; bottom: -20px; left: -20px; background: linear-gradient(135deg, var(--purple-vivid), var(--purple-dark)); color: #fff; padding: 0.7rem 1.2rem; border-radius: var(--radius); display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 600; box-shadow: 0 8px 24px rgba(168,85,247,0.4); }
@media (max-width: 900px) { .nosotros-inner { grid-template-columns: 1fr; gap: 3rem; } .nosotros-visual { display: none; } }

/* ====== CONTACTO ====== */
.contacto { padding: 7rem 2.5rem; text-align: center; background: var(--dark); position: relative; overflow: hidden; }
.contacto-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.orb-c1 { width: 400px; height: 400px; background: rgba(168,85,247,0.15); top: -100px; left: -100px; animation: float 9s ease-in-out infinite; }
.orb-c2 { width: 300px; height: 300px; background: rgba(212,175,55,0.08); bottom: -80px; right: -80px; animation: float 11s ease-in-out infinite reverse; }
.contacto-inner h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 1rem; }
.contacto-sub { color: var(--gray); font-size: 1rem; margin-bottom: 2.5rem; }
.contacto-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.contacto-info { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; color: var(--gray); font-size: 0.85rem; }
.contacto-info span { display: flex; align-items: center; gap: 0.4rem; }
.contacto-info i { color: var(--purple-vivid); }

/* ====== FOOTER ====== */
.footer { background: var(--black); border-top: 1px solid rgba(155,89,182,0.15); padding: 2.5rem; text-align: center; }
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer p { color: var(--gray); font-size: 0.85rem; margin-bottom: 1rem; }
.footer-social { display: flex; justify-content: center; gap: 1.2rem; margin: 1rem 0; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(155,89,182,0.15); border: 1px solid rgba(155,89,182,0.25); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--purple-light); transition: all var(--transition); }
.footer-social a:hover { background: var(--purple-vivid); border-color: var(--purple-vivid); color: #fff; transform: translateY(-3px); box-shadow: 0 6px 18px rgba(168,85,247,0.4); }
.footer-copy { font-size: 0.78rem !important; color: rgba(136,136,170,0.6) !important; }

/* ====== FAB WHATSAPP ====== */
.fab-whatsapp { position: fixed; bottom: 2rem; right: 2rem; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; z-index: 999; box-shadow: 0 6px 24px rgba(37,211,102,0.45); transition: transform var(--transition), box-shadow var(--transition); animation: pulse-wa 2.5s ease infinite; }
.fab-whatsapp:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(37,211,102,0.6); }
@keyframes pulse-wa { 0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); } 50% { box-shadow: 0 6px 36px rgba(37,211,102,0.7); } }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 6rem; }
  .hero-img-side { width: 100%; min-height: 320px; margin-top: 2rem; }
  .card1 { width: 170px; height: 200px; left: 5%; }
  .card2 { width: 150px; height: 185px; right: 5%; }
  .card3 { width: 140px; height: 170px; left: 30%; }
  .hero-stats { justify-content: center; }
  .hero-cta { justify-content: center; }
}

@media (max-width: 768px) {
  .catalogo { padding: 4rem 1rem; }
  .categoria-bloque { padding: 1.5rem 1rem 2rem; }
  .categoria-header { flex-direction: column; align-items: flex-start; }
  .productos-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  /* En móvil la lupa siempre visible (no hay hover) */
  .lupa-btn {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
  }
}

@media (max-width: 600px) {
  .navbar { padding: 1rem 1.2rem; }
  .hero { padding: 5rem 1.2rem 3rem; }
  .nosotros, .contacto { padding: 4rem 1.2rem; }
  .hero-img-side { display: none; }
  .productos-grid { grid-template-columns: 1fr; }
  .contacto-btns { flex-direction: column; align-items: center; }
  .footer { padding: 2rem 1.2rem; }
  .categoria-bloque { padding: 1.2rem 0.8rem 1.5rem; }
  .categoria-titulo h3 { font-size: 1.3rem; }
}

/* ====== LIGHTBOX ====== */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 10, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lb-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
  padding: 2rem;
  flex-direction: column;
}

.lb-img-wrap {
  position: relative;
  max-width: min(90vw, 700px);
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(168,85,247,0.2);
  transition: opacity 0.25s ease;
  display: block;
}

.lb-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  font-size: 2rem;
}

/* Botón cerrar */
.lb-close {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(168,85,247,0.4);
  background: rgba(26,26,38,0.85);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}
.lb-close:hover {
  background: var(--purple-vivid);
  border-color: var(--purple-vivid);
  transform: scale(1.1) rotate(90deg);
}

/* Flechas anterior / siguiente */
.lb-prev,
.lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(168,85,247,0.35);
  background: rgba(26,26,38,0.85);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-prev:hover,
.lb-next:hover {
  background: var(--purple-vivid);
  border-color: var(--purple-vivid);
  transform: translateY(-50%) scale(1.1);
}

/* Info pie del lightbox */
.lb-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.lb-caption {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.lb-counter {
  color: var(--gray);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* Responsive lightbox */
@media (max-width: 600px) {
  .lb-prev { left: 0.4rem; width: 40px; height: 40px; }
  .lb-next { right: 0.4rem; width: 40px; height: 40px; }
  .lb-close { top: 0.8rem; right: 0.8rem; }
  .lb-img { border-radius: 10px; }
}
