@charset "UTF-8";
/* estilos.css */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

.franja-superior {
  background-color: #ffc107; /* Amarillo */
  color: #333; /* Texto oscuro para contraste */
  text-align: left; /* Alinea el texto a la izquierda */
  padding: 10px 50px; /* Añade padding a los lados */
  font-size: 0.9em;
  font-weight: bold;
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: #f8f8f8;
  padding: 15px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px; /* Ajusta el tamaño según tu logo */
}

nav {
  display: flex;
  align-items: center;
}

.buscador {
  display: flex;
  margin-right: 20px;
}

.buscador input[type=text] {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
}

.buscador button {
  padding: 8px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu li {
  margin-left: 20px;
}

.menu li a {
  text-decoration: none;
  color: #333;
}

.carrito-nav {
  position: relative;
}

.carrito-preview {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border: 1px solid #ccc;
  padding: 10px;
  width: 300px;
  display: none; /* Inicialmente oculto */
  z-index: 10;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.portada {
  position: relative;
  height: 500px; /* Puedes ajustar la altura deseada */
  overflow: hidden;
  display: flex;
  align-items: flex-end; /* Alinea el contenido al final (abajo) */
  justify-content: flex-start; /* Alinea el contenido al inicio (izquierda) */
}
.portada::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/img/portadabanner.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.boton-informacion {
  background-color: rgb(255, 255, 255); /* Fondo semitransparente */
  color: rgba(0, 0, 0, 0.7);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
  margin-bottom: 20px; /* Espacio desde la parte inferior */
  margin-left: 20%; /* Espacio desde la izquierda */
  z-index: 1; /* Asegura que el botón esté sobre la imagen */
}
.boton-informacion a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}
.boton-informacion:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.boton-principal {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.boton-principal:hover {
  background-color: #0056b3;
}

.promocionales {
  padding: 20px 0;
  background-color: #fff;
}
.promocionales-container {
  display: flex;
  gap: 20px; /* Espacio entre las imágenes */
  justify-content: space-around;
}
.promocionales-imagen {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.banner-cerco {
  padding: 30px 0;
  background-color: #f8f8f8; /* Un fondo sutilmente diferente */
}
.banner-cerco .container {
  text-align: center;
}
.banner-cerco-imagen {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px; /* Opcional */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Opcional */
}

.productos-ezviz {
  padding: 40px 0;
  background-color: #fff;
  text-align: center;
}
.productos-ezviz h2 {
  margin-bottom: 30px;
  color: #333;
}
.productos-ezviz .productos-grid {
  display: flex;
  gap: 20px;
  justify-content: center; /* Centrar los productos en pantallas grandes */
}
.productos-ezviz .producto-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.banner-final {
  padding: 30px 0;
  background-color: #e9ecef; /* Un fondo diferente para distinguirlo */
}
.banner-final .container {
  text-align: center;
}
.banner-final-imagen {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px; /* Opcional */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Opcional */
}

footer {
  background-color: #333;
  color: white;
  padding: 30px 0;
  text-align: center;
}
footer .container.footer-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap; /* Para que los elementos se apilen en pantallas pequeñas */
}
footer .footer-logo {
  margin-bottom: 15px; /* Espacio para pantallas pequeñas */
}
footer .footer-contacto {
  margin-bottom: 15px;
}
footer .footer-contacto a {
  color: #007bff;
  text-decoration: none;
}
footer .footer-contacto a:hover {
  text-decoration: underline;
}
footer .footer-copyright {
  font-size: 0.8em;
  color: #ccc;
}

.lista-productos {
  padding: 40px 0;
  background-color: #f9f9f9;
  text-align: center;
}
.lista-productos h2 {
  margin-bottom: 30px;
  color: #333;
}
.lista-productos .productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Crea columnas autoajustables */
  gap: 20px;
  padding: 20px;
}
.lista-productos .producto-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: center;
}
.lista-productos .producto-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 5px;
}
.lista-productos .producto-item a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}
.lista-productos .producto-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: rgb(0, 0, 0);
  font-size: 1.2em;
  text-decoration: none;
}
.lista-productos .producto-item .modelo, .lista-productos .producto-item .precio {
  color: #666;
  margin-bottom: 5px;
}
.lista-productos .producto-item .agregar-carrito {
  background-color: #ffc400;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.lista-productos .producto-item .agregar-carrito:hover {
  background-color: #1e7e34;
}

.pagina-carrito {
  padding: 40px 0;
  background-color: #f9f9f9;
}
.pagina-carrito h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}
.pagina-carrito #carrito-items {
  margin-bottom: 30px;
}
.pagina-carrito .carrito-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pagina-carrito .carrito-item .item-info {
  flex-grow: 1;
  margin-right: 15px;
}
.pagina-carrito .carrito-item .item-actions {
  display: flex;
  align-items: center;
}
.pagina-carrito .carrito-item .item-actions label {
  margin-right: 5px;
}
.pagina-carrito .carrito-item .item-actions .cantidad-input {
  width: 60px;
  padding: 5px;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.pagina-carrito .carrito-item .item-actions .eliminar-item {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}
.pagina-carrito .carrito-item .item-actions .eliminar-item:hover {
  background-color: #c82333;
}
.pagina-carrito .carrito-item .item-total {
  font-weight: bold;
}
.pagina-carrito .carrito-total {
  text-align: right;
  margin-bottom: 20px;
}
.pagina-carrito .carrito-total h3 {
  color: #333;
}
.pagina-carrito .formulario-pedido {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
}
.pagina-carrito .formulario-pedido h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}
.pagina-carrito .formulario-pedido .form-group {
  margin-bottom: 15px;
}
.pagina-carrito .formulario-pedido .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.pagina-carrito .formulario-pedido .form-group input[type=text],
.pagina-carrito .formulario-pedido .form-group input[type=tel],
.pagina-carrito .formulario-pedido .form-group input[type=number] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.pagina-carrito .formulario-pedido #enviar-pedido {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: 100%;
}
.pagina-carrito .formulario-pedido #enviar-pedido:hover {
  background-color: #0056b3;
}

.pagina-producto {
  padding: 40px 0;
  background-color: #f9f9f9;
}
.pagina-producto .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.pagina-producto .producto-detalle {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
.pagina-producto .producto-detalle .producto-imagen {
  flex: 1;
  text-align: center;
}
.pagina-producto .producto-detalle .producto-imagen img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.pagina-producto .producto-detalle .producto-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pagina-producto .producto-detalle .producto-info h1 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
}
.pagina-producto .producto-detalle .producto-info .modelo {
  color: #777;
  margin-bottom: 5px;
}
.pagina-producto .producto-detalle .producto-info .precio {
  color: #dc3545;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
}
.pagina-producto .producto-detalle .producto-info .descripcion {
  margin-bottom: 20px;
}
.pagina-producto .producto-detalle .producto-info .descripcion h3.subtitulo {
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}
.pagina-producto .producto-detalle .producto-info .descripcion p {
  line-height: 1.6;
  color: #555;
}
.pagina-producto .producto-detalle .producto-info .agregar-carrito {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}
.pagina-producto .producto-detalle .producto-info .agregar-carrito:hover {
  background-color: #0056b3;
}
.pagina-producto .volver-tienda {
  display: inline-block;
  padding: 10px 15px;
  text-decoration: none;
  color: #007bff;
  border: 1px solid #007bff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.pagina-producto .volver-tienda:hover {
  background-color: #e7f2ff;
}

.boton-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366; /* Color verde de WhatsApp */
  color: white;
  text-align: center;
  line-height: 60px;
  font-size: 2em;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}
.boton-whatsapp:hover {
  background-color: #128c7e;
}
.boton-whatsapp img {
  display: block;
  width: 40px;
  height: 40px;
  margin: 10px auto;
}

/* Estilos para pantallas más pequeñas */
@media (max-width: 768px) {
  .franja-superior {
    font-size: 0.8em; /* Reduce el tamaño de la fuente en pantallas pequeñas */
    padding: 8px 15px; /* Reduce un poco el padding también */
  }
  .buscador {
    order: 2; /* Mueve el buscador debajo del logo */
    width: 100%;
    margin: 10px 0;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  .menu.active {
    display: flex;
  }
  .menu li {
    margin-left: 0;
    margin-bottom: 10px;
  }
  .menu-toggle {
    display: flex;
  }
  .portada {
    height: 160px; /* Ajusta la altura automáticamente */
    align-items: flex-end;
    justify-content: flex-start;
  }
  .boton-informacion {
    margin-bottom: 1%;
    margin-left: 17%;
    font-size: 0.6em;
    padding: 8px 15px;
  }
  .promocionales-container {
    flex-direction: column; /* Apilar en columnas en pantallas pequeñas */
    gap: 10px;
  }
  .promocional-imagen {
    max-width: 100%; /* Asegurar que ocupen el ancho completo */
  }
  .productos-grid {
    flex-direction: column; /* Apilar en columnas en pantallas pequeñas */
    align-items: center; /* Centrar horizontalmente en columnas */
    gap: 15px;
  }
  .producto-item {
    width: 80%; /* Ancho para los ítems en columna */
  }
  .producto-item img {
    width: 100%; /* La imagen ocupa el ancho del contenedor */
  }
  footer .container.footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-logo,
  .footer-contacto,
  .footer-copyright {
    margin-bottom: 20px;
  }
  .footer-logo a,
  .footer-contacto a,
  .footer-copyright a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.3);
  }
  .carrito-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .carrito-item .item-actions {
    margin-top: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  .carrito-item .item-actions label {
    margin-right: 0;
    margin-bottom: 5px;
  }
  .carrito-item .item-actions .cantidad-input {
    margin-right: 0;
    margin-bottom: 10px;
    width: 80px;
  }
  .carrito-item .item-total {
    margin-top: 10px;
  }
  .pagina-producto .producto-detalle {
    flex-direction: column;
    gap: 20px;
  }
  .pagina-producto .producto-info .agregar-carrito {
    align-self: stretch;
  }
  .boton-whatsapp {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
  .boton-whatsapp img {
    width: 30px;
    height: 30px;
    margin: 10px auto;
  }
}
/* estilos.css */
/* ... otros estilos ... */
@media (max-width: 516px) {
  header .container {
    flex-direction: column; /* Apilamos los elementos principales */
    align-items: flex-start; /* Alineamos a la izquierda */
  }
  .header-top {
    display: flex; /* Para alinear logo y menu-toggle */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px; /* Espacio para el buscador */
  }
  .logo {
    margin-bottom: 0; /* Removemos el margen inferior anterior */
  }
  .buscador {
    order: 3; /* Lo ponemos debajo del header-top y el menú */
    width: 100%;
    margin-bottom: 10px;
    justify-content: center;
  }
  nav {
    width: 100%;
  }
  .menu {
    display: none; /* Oculto por defecto en pantallas pequeñas */
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  .menu.active {
    display: flex;
  }
  .menu li {
    margin-left: 0;
    margin-bottom: 10px;
  }
  .menu-toggle {
    display: flex;
  }
  .portada-contenido h1 {
    font-size: 1.7em;
  }
  .portada-contenido p {
    font-size: 1em;
  }
  .boton-principal {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}
/* Estilos para pantallas más pequeñas (hasta 768px) - Asegúrate de que esto también esté *//*# sourceMappingURL=estilos.css.map */