body {
  min-height: 100vh;  
  background: 
  url('Img/Texture2.jpg') no-repeat center center;
  background-size: cover;
  font-family: 'Roboto', sans-serif;
  color: rgb(0, 0, 0);
  margin: 0;
  padding: 0;
}
header {
  height: 100px;
  background: url('Img/Ciocolatto Perfetto.jpg') no-repeat center top;
  background-size: cover;
  background-blend-mode: multiply;
  image-rendering: auto;
  padding: 20px;
  text-align: center; /* Centra todo el contenido */
  font-size: 32px;
  font-weight: bold;
  border-bottom: 5px solid rgba(0, 0, 0, 0.568);
  color: white;
  overflow: hidden;
}

.Logo {
  display: block;
  margin: 0 auto 10px auto; /* Centra horizontalmente */
  position: relative;
  top: -270px;
  width: 600px;
  height: auto;
  image-rendering: crisp-edges;
  filter: drop-shadow(4px 8px 10px rgba(0, 0, 0, 0.9));
}

.menu-lateral {
  position: fixed;
  top: -100vh; /*oculto arriba*/
  left: 0; 
  width: 232px;
  height: 16vh;
  z-index: 1500;
  transition: top 0.6s ease;

  
}
/* Cuando está visible */
.menu-lateral.visible {
  top: 168px; /* justo debajo del header */
}

.menu-lateral nav {
  padding-top: 60px;
}

.menu-colgante {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.menu-colgante a {
  text-decoration: none;
  color: #fff; /* blanco o el color que prefieras */
  font-size: 20px;
  display: block;
  width: 100%;
  height: 100%;
  text-shadow: 1px 1px 2px rgb(94, 43, 10);
}

.menu-colgante li {
  background: url('Img/Tabla\ 2.png') no-repeat center center;
  background-size: cover;
  filter: drop-shadow(10px 13px 5px rgba(0, 0, 0, 0.5));
  width: 270px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  font-family: 'Cinzel', serif;
  color: #afa2a2;
  position: relative;
  box-shadow: 0 4px 8px rgba(167, 163, 163, 0);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

/* Animación de balanceo al pasar el mouse */
.menu-colgante li:hover {
  animation: balanceo 0.6s ease-in-out;
}

@keyframes balanceo {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(-2deg); }
  75% { transform: rotate(1deg); }
  100% { transform: rotate(0deg); }
}

/* Soga decorativa */
.menu-colgante li::before,
.menu-colgante li::after {
  content: "";
  position: absolute;
  top: -40px;
  width: 100px;
  height: 58px;
  background: url('Img/Cadena 1.png') repeat-y;
  background-size: contain;
  z-index: 1;
}
/*cadena izquierda*/
.menu-colgante li::before {
  left: 69px;
}
/*cadena derecha*/
.menu-colgante li::after {
  right: 9px;
}

.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

li:hover .submenu {
  max-height: 500px;
}


.menu-auxiliar {
  background-color: #57301696;
  padding: 0px;
  font-family: 'Roboto', serif;
  color: #3e2f1c;
  text-align: center;
}

.menu-auxiliar ul {
  list-style: none;
  padding: 0;
}

.menu-auxiliar li {
  margin: 10px 0;
}

.menu-auxiliar a {
  text-decoration: none;
  color: #97918e;
  font-size: 16px;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  margin-left: 240px; /* espacio para el menú lateral */
  padding: 20px;
}

footer.menu-auxiliar {
  background-color: #4b2813b0;
  padding: 0px;
  text-align: center;
  font-family: 'Roboto', serif;
  color: #22170d;
  border-top: 2px solid #a67c52;
}

.ventana-acceso {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(60, 40, 20, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.formulario-acceso {
  background: url('Img/papel-rustico.jpg') no-repeat center center;
  background-size: cover;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  width: 300px;
  animation: desplegar 0.4s ease;
  color: #eee0ce;
  font-family: 'Roboto', serif;
}

@keyframes desplegar {
  from { transform: scale(0.9); opacity: 4; }
  to { transform: scale(1); opacity: 1; }
}

.formulario-acceso h1 {
  text-align: center;
}
.formulario-acceso h2 {
  text-align: center;
  margin-bottom: 20px;
}

.formulario-acceso label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.formulario-acceso input {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #a67c52;
  border-radius: 5px;
}

.formulario-acceso button {
  width: 100%;
  padding: 10px;
  background-color: #a67c52;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.carrito-flotante {
  position: fixed;
  top: 140px; /* justo debajo del header */
  right: 20px;
  width: 130px;
  height: 50px;
  z-index: 1500;
  cursor: pointer;
  transition: transform 0.3s ease;
  **position: relative;**
}

.carrito-flotante:hover {
  transform: scale(1.1);
}

.carrito-flotante img {
  width: 100%;
  height: auto;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.5));
}
.contador-carrito {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #381e06;
  color: white;
  font-size: 14px;
  padding: 4px 6px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.boton-menu-flotante {
  position: fixed;
  top: 118px;
  height: 100px;
  left: 14.5px;
  z-index: 2000;
}

.boton-menu-flotante button {
  background-color: #ffffff00;
  color: white;
  border: none;
  padding: 10px 15px;
  font-family: 'Cinzel', serif;
  border-radius: 5px;
  cursor: pointer;
  
}

.boton-menu-flotante:hover {
  transform: scale(1.1);
}
.icono-menu {
  width: 170px;     /* Ajustá según lo que necesites */
  height: auto;
  display: block;
}
.boton-menu-flotante button:hover .icono-menu {
  transform: scale(1.1);
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}
