/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

header {
  height: auto; /* Cambiar de height fijo a altura automática */
  padding: 20px; /* Ajustar el padding según necesidad */
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #353535;
  background: #fff8f8;
  flex-wrap: wrap;
  position: relative;
}

.logo-catalogo img {
  width: 150px; /* Ajusta este valor según tus necesidades */
  height: auto; /* Mantiene la proporción de la imagen */
  align-items: center;
  justify-content: center;
  margin: 0 25px;
}


.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  color: #000000;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 10px;
  transition: 0.4s;
}


.esconder-menu {
  font-size: 30px;
  cursor: pointer;
  transition: 0.4s;
  color: #000000;
}

.mostrar-menu{
  font-size: 50px;
  cursor: pointer;
  transition: 0.4s;
  color: #000000;
  margin: 0 20px;
}

.menu a:hover,
.mostrar-menu:hover,
.esconder-menu:hover {
  color: #00000073;
}


#check {
  display: none;
}


#section {
  padding: 50px 50px;
  display: flex;
  justify-content: center;
  text-align: center;
}

/* Catalog Image Styling */
#catalogo img {
  width: 100%;
  max-width: 400px;
  align-items: center;
  padding: 50px 50px;
}



/* Styles for larger screens */
@media (min-width: 769px) {
  .menu {
      position: static;
      width: auto;
      height: auto;
      flex-direction: row;
      background: none;
      padding: 0;
      right: 0;
      top: 0;
  }

  .menu a {
      display: inline;
      padding: 0 10px;
  }

  .mostrar-menu,
  .esconder-menu {
      display: none;
  }

  

}

/* Styles for smaller screens */
@media (max-width: 768px) {
  .mostrar-menu,
  .esconder-menu {
      display: block;
  }

  .menu {
      position: fixed;
      width: 100%;
      height: 100vh;
      background: #fff8f8;
      left: -100%; /* Cambia de 'right' a 'left' */
      top: 0;
      text-align: center;
      padding: 100px 0px;
      z-index: 100;
      transition: 0.8s;
      flex-direction: column;
  }

  .menu a{
      display: block;
      padding: 20px;
  }

  .esconder-menu {
      position: absolute;
      top: 40px;
      left: 40px; /* Cambia de 'right' a 'left' */
  }

  #check:checked ~ .menu {
      left: 0; /* Cambia de 'right' a 'left' */
  }

  .mostrar-menu{
    font-size: 70px;
    cursor: pointer;
    transition: 0.4s;
    color: #000000;
    margin: 0 20px;
  }

  .page{
    position: relative;
    width: 100%;
    height: auto;
  }
  
}

@media (max-width: 400px) {
  .mostrar-menu{
    font-size: 30px;
    cursor: pointer;
    transition: 0.4s;
    color: #000000;
    margin: 0 20px;
  }

  .logo-catalogo img {
    width: 130px; /* Ajusta este valor según tus necesidades */
    height: auto; /* Mantiene la proporción de la imagen */
    align-items: center;
    justify-content: center;
    margin: 0 25px;
  }

}

@keyframes slideDown {
  0% {
      opacity: 0;
      transform: translateY(-10px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

.nav li .dropdown-menu:not(:hover) {
  animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
  0% {
      opacity: 1;
      transform: translateY(0);
  }
  100% {
      opacity: 0;
      transform: translateY(-10px);
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s;
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  animation: slideIn 0.5s;
  position: relative;
}

.modal-confort {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s;
}

.modal-content-confort {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  animation: slideIn 0.5s;
}

.modal-schnina {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s;
}

.modal-content-schnina {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  animation: slideIn 0.5s;
}

.modal-schnino {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s;
}

.modal-content-schnino {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  animation: slideIn 0.5s;
}

.modal-urbnino {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s;
}

.modal-content-urbnino {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  animation: slideIn 0.5s;
}

.modal-urb {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s;
}

.modal-content-urb {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  animation: slideIn 0.5s;
}

.casualnino {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s;
}

.modal-content-casualnino {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  animation: slideIn 0.5s;
}

.casualninochico {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s;
}

.modal-content-casualninochico {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  animation: slideIn 0.5s;
}

.modal-depocab {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s;
}

.modal-content-depocab {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  animation: slideIn 0.5s;
}

.modal-premium {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s;
}

.modal-content-premium {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  animation: slideIn 0.5s;
}

.modal-accesorios {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s;
}

.modal-content-accesorios {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  animation: slideIn 0.5s;
}


.modal{
  display: none; /* Oculto por defecto */
  position: fixed; /* Fijo en pantalla */
  z-index: 1002; /* Asegúrate de que esté en frente */
  left: 0;
  top: 0;
  width: 100%; /* Ancho completo */
  height: 100%; /* Altura completa */
  overflow: auto; /* Habilita el scroll si es necesario */
  background-color: rgb(0,0,0); /* Color de fondo */
  background-color: rgba(0,0,0,0.4); /* Fondo con opacidad */
}

.modal-content-instrucciones{
  background-color: #fff8f8;
  margin: 20% auto; /* 15% de la parte superior y centrado */
  padding: 20px;
  border: 25px solid #888;
  width: 100%; /* Ancho del modal */
}

.close{
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.instructions {
  margin-bottom: 20px;
}

.reopen-modal-button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.reopen-modal-button:hover {
  background-color: #45a049;
}


@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes slideIn {
  from {
      transform: translateY(-50px);
  }
  to {
      transform: translateY(0);
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#confirmation-message {
  display: none;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4CAF50;
  color: white;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  animation: fadeOut 3s forwards;
}

.hidden {
  display: none;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}


#cart-container {
  position: relative;
  display: inline-block;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #4CAF50;
  color: white;
  border-radius: 50%;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
}