
/* estilos.responsive.css - limpio final sin botones extra en barra superior */

@media screen and (max-width: 768px) {
  body {
    padding-top: 70px;
    font-family: sans-serif;
  }

  .menu-superior {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #6e2f8d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
  }

  .logo-menu {
    height: 32px;
  }

  .menu-derecha {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .buscador {
    flex: 1;
    max-width: 140px;
    padding: 5px;
    font-size: 0.95rem;
    border-radius: 4px;
    border: none;
    margin: 0 8px;
  }

  #btn-buscar {
    padding: 5px 8px;
    background-color: white;
    color: #6e2f8d;
    font-weight: normal;
    font-size: 0.9rem;
    border-radius: 4px;
    border: none;
  }

  .btn-menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    font-weight: normal;
    cursor: pointer;
  }

  /* Panel lateral derecho */
  .panel-menu {
    position: fixed;
    top: 0;
    right: -220px;
    width: 220px;
    height: 100%;
    background-color: #6e2f8d;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px;
    transition: right 0.3s ease;
    z-index: 1100;
  }

  .panel-menu.activo {
    right: 0;
  }

  .panel-menu a {
    color: white;
    font-size: 16px;
    margin: 10px 0;
    text-decoration: none;
    font-weight: 400;
  }

  .btn-cerrar-menu {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
  }

  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    z-index: 1090;
    display: none;
    transition: opacity 0.3s ease;
  }

  .menu-overlay.activo {
    display: block;
  }

  .bloque-intro,
  .carrito,
  .galeria-intro img,
  .producto {
    width: 90%;
    margin: auto;
  }

  header {
    padding: 80px 10px 20px;
    text-align: center;
  }

  section {
    padding: 20px;
  }

  /* Ocultar botones extra */
  .menu-superior .contacto,
  .menu-superior .productos,
  .menu-superior .ubicacion,
  .menu-superior .servicios,
  .menu-superior .acceder {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .topnav a[href*="productos"],
  .topnav a[href*="contacto"],
  .topnav a[href*="ubicacion"],
  .topnav a[href*="servicios"],
  .topnav a[href*="acceder"] {
    display: none;
  }
}
#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: block;
}
.hamburger {
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: block; /* Asegúrate de que esté visible */
  position: absolute;
  top: 15px;
  right: 5px;
  z-index: 1001;
}
.panel-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 220px;
  height: 100%;
  background: #6e2f8d;
  transition: right 0.3s ease;
  z-index: 9999;
  padding: 20px;
}

.panel-menu.open {
  right: 0;
}
.panel-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100vh;
  background-color: #5f2a84;
  color: white;
  padding: 20px;
  display: none;
  flex-direction: column;
  z-index: 1000;
  box-shadow: -2px 0 5px rgba(0,0,0,0.3);
}

.panel-menu a {
  color: white;
  text-decoration: none;
  margin: 15px 0;
  font-size: 1.2em;
  display: block;
}

.panel-menu button {
  align-self: flex-end;
  font-size: 1.5em;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  margin-bottom: 20px;
}

.panel-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background: #5f2a84;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  z-index: 9999;
  transition: right 0.3s ease;
}

.panel-menu.activo {
  right: 0;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.menu-overlay.activo {
  display: block;
}
.modal-checkout {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.modal-contenido {
  background: white;
  padding: 20px;
  width: 300px;
  border-radius: 8px;
  text-align: left;
}

.modal-contenido h2 {
  margin-top: 0;
}

.modal-contenido label,
.modal-contenido input,
.modal-contenido select {
  display: block;
  width: 100%;
  margin: 10px 0;
}

.botones-modal {
  display: flex;
  justify-content: space-between;
}

.cerrar-modal {
  float: right;
  cursor: pointer;
}
.modal-checkout input[type="text"],
.modal-checkout textarea,
.modal-checkout select {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.modal-checkout input[type="text"],
.modal-checkout select {
    height: 36px;
}

.modal input[type="text"],
.modal select {
    height: 36px;
}
.mensaje-confirmado {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 20px 30px;
  border: 2px solid #4CAF50;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  font-size: 18px;
  font-weight: bold;
  color: #4CAF50;
  z-index: 9999;
}

.modal textarea {
    height: 80px; /* o lo que prefieras */
}
