/* Barra de navegación -------------------------------*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: #d2888a;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  position: fixed;
  top: 0;
  width: 100%;
  transition: top 0.3s ease;
  z-index: 1000; /* asegúrate que esté encima del contenido */
}

.navbar.hide {
  top: -100px; /* Puedes ajustar según la altura de tu barra */
}

.logo-container {
  display: flex;
  align-items: flex-start;
  text-align: left;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 15px;
}
.nav-links li {
	list-style-type: none;
}
.nav-links li a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  transition: color 0.3s;
}
.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: #fff;
  transition:0.3s;
}
.nav-links li a:hover::after {
  width: 100%;
}
.nav-links li a:hover {
  color: #fff;
}


/* Contáctanos */

#contactMenu {
  position: absolute;
  top: 80px; /* Ajusta la posición */
  right: 20px;
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 10px;
  padding: 15px;
  z-index: 1000;
  width: 280px;
  transition: opacity 0.3s ease;
	display: none;
}
#contactMenu:not(.hidden) {
    display: block;
  }
.contact-item {
  display: flex;
  align-items: center;
  margin: 10px 10px;
  text-decoration: none;
  color: #000;
  transition: opacity 0.3s;
}
.contact-item i {
  font-size: 15px;
  margin-right: 10px;
}
.hidden {
  display: none;
}

#userMenu {
  background-color: white;
  border-radius: 10px;
  position: absolute;
  top: 80px; /* Ajusta según tu navbar */
  right: 10px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
  width: auto;
  transition: opacity 0.3s ease;
}

.user-item {
  display: flex;
  align-items: center;
  padding: 8px;
  text-decoration: none;
  color: #000;

}
.user-item i {
  margin-right: 10px;
	color: #000;
}
.user-item2 {
  display: flex;
  align-items: center;
  padding: 8px;
  text-decoration: none;
  color: #000;

}
.user-item2 i {
  margin-right: 10px;
	color: #000;
}
.user-item2:hover{
	color: aqua;
}

.cerrar-sesion {
	color: #000;
	font-size: 15px !important;

}
.usuario {
	font-size: 15px;
}

.nav-text {
  display: flex;
  align-items: center;
}



  /* Ícono hamburguesa */
	
.menu-toggle {
  cursor: pointer;
  width: 30px;
  height: 25px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  right: 20px; /* Ajusta según tu margen derecho */
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

/* Líneas de la hamburguesa */
.lineas-menu {
  background-color: white;
  height: 5px;
  width: 100%;
  transition: all 0.3s ease;
	border-radius: 3px;
align-self: center;
}
.change #bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}
.change #bar2 {opacity: 0;}
.change #bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

#bar2 {
	margin-top: 6px;
}
#bar3 {
	margin-top: 6px;
}

/* Cuando el menú está abierto, cambia el color */
.menu-toggle.change .lineas-menu {
  background-color: #d2888a; /* color al abrir, puedes cambiarlo */
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 0; /* Esto es clave */
  height: 100%;
  background-color: #fff;
  overflow-x: hidden;
  transition: 0.3s;
  padding: 60px 0px ; /* Cambiado: sin padding lateral inicial */
   box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}
.menu {
	list-style-type: none;
	margin-top: 25px;
}

/* En pantallas pequeñas Nav hamburguesa */
@media (max-width: 550px) {
	
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }
	
}

.items {
	border-top: 1px solid #ddd;
	height: auto;
	font-size: 17px;
	font-family: 'Robot';
	padding: 25px;
	padding-left: 20px;
}
#items2 {
	padding: 0;
}

.acordeon-btn:hover {
	color: #b55456;
}
.acordeon-btn {
	height: auto;
	border: 0px;
	background-color: #fff;
	color: #000;
	font-size: 17px;
	font-family: 'Robot';
}

.links {
	color: #000;
	text-decoration: none;
}
.links:hover {
	color: #b55456;
}

.acordeon-content {
	margin-top: 20px;
	flex-wrap: wrap;
  word-break: break-word;  
}

.carrito-bloqueo {
	color: #666;
}

.logo-container a {
	text-decoration: none;
}
