/* GENERAL */
* { box-sizing: border-box; transition: all 0.2s ease-in-out; scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  margin: 0; padding: 0;
  padding-top: 120px;
  background: #0d0d0d;
  color: #e0e0e0;
  line-height: 1.8;
}
.container { max-width: 1100px; margin: auto; padding: 0 20px; }

/* HEADER */
header {
  background: rgba(10, 10, 35, 0.95);
  color: #fff;
  padding: 20px 0;
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000; backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  text-align: center;
}
.logo-container {
  display: flex; justify-content: center; align-items: center;
  margin-bottom: 10px;
}
.logo { width: 200px; }
.nav-menu { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.nav-menu a {
  color: #fff; text-decoration: none; font-weight: 600;
  padding: 8px 16px; border-radius: 6px;
}
.nav-menu a:hover { background: #0056b3; }

/* BOTONES */
#carrito-btn, #usuario-btn {
  position: fixed; right: 15px;
  border: none; cursor: pointer; font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
#carrito-btn {
  top: 20px; background: #0056b3; color: #fff;
  padding: 10px 16px; border-radius: 8px;
}
#usuario-btn {
  top: 70px; background: #333; color: #fff;
  padding: 10px 12px; border-radius: 50%;
}

/* SIDEBAR */
.sidebar {
  position: fixed; top: 0; left: -250px; width: 250px; height: 100%;
  background: #101030; color: #fff; padding: 20px;
  box-shadow: 2px 0 10px rgba(0,0,0,0.6);
  transition: left 0.3s ease;
}
.sidebar-menu li { padding: 12px 0; cursor: pointer; border-bottom: 1px solid #444; }
.sidebar-menu li:hover { background: #0056b3; }

/* SECCIONES */
section { padding: 80px 20px; }
h2 { color: #ffffff; font-weight: 700; margin-bottom: 20px; font-size: 2rem; }
#inicio p { font-size: 1.1rem; }

/* SERVICIOS */
.servicios li {
  background: #1a1a1a; margin: 10px 0; padding: 20px;
  border-radius: 8px; color: #ccc;
}
.servicio-extra {
  margin-top: 30px; padding: 15px;
  background: #111; border-left: 4px solid #0056b3;
  border-radius: 6px; color: #bbb; text-align: center;
}

/* TIENDA */
#tienda { background: #101020; border-radius: 12px; padding: 50px 30px; }
#tienda h2 { text-align: center; margin-bottom: 30px; }
.categorias-container {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.categoria {
  background: #1b1b1b; border-radius: 12px; padding: 20px;
  text-align: center; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  max-width: 300px;
}
.categoria h3 { color: #fff; margin: 15px 0; font-size: 1.2rem; }
.categoria img { width: 100%; border-radius: 8px; object-fit: contain; background: #fff; }
.categoria .btn {
  background: #0056b3; color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 6px; display: inline-block;
}
.categoria .btn:hover { background: #003d80; }
.ver-tienda { text-align: center; margin-top: 30px; }
.btn-principal { background: #0056b3; color: #fff; padding: 12px 28px; border-radius: 8px; font-weight: 600; }
.btn-principal:hover { background: #003d80; }

/* CONTACTO */
.bloque-contacto {
  background: #101020; border-radius: 12px; padding: 40px;
  color: #fff; text-align: center;
}
.btn-contacto {
  display: inline-block;
  background: #0056b3; color: #fff; padding: 12px 20px;
  border: 2px solid #fff; border-radius: 10px;
  font-weight: bold; text-decoration: none; margin-bottom: 15px;
}
.btn-contacto:hover { background: #003d80; }
.contacto-correo {
  background: #222; border-radius: 8px; border: 2px solid #0056b3;
  display: inline-block; padding: 12px 20px; margin-top: 10px;
}
.contacto-correo a { color: #00aaff; text-decoration: none; }
.redes-sociales .iconos-redes a {
  background: #0056b3; padding: 10px 15px;
  border-radius: 6px; color: #fff; text-decoration: none;
  font-weight: 600;
}
.redes-sociales .iconos-redes a:hover { opacity: 0.8; }

/* FOOTER */
footer { background: #0a0a23; color: #ccc; padding: 20px 0; text-align: center; font-size: 14px; }

/* TOAST */
.toast {
  position: fixed; bottom: 30px; right: 30px;
  background: #0056b3; color: #fff;
  padding: 15px 25px; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
}
.toast.mostrar { opacity: 1; transform: translateY(0); }
.toast.oculto { opacity: 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-menu { flex-direction: column; }
  .categoria { width: 90%; }
  section { padding: 60px 15px; }
}
