
/* Hero / banner */
.hero {
  background-image: url('banner-tactico.jpg'); /* poner ruta de imagen representativa */
  background-size: cover;
  background-position: center;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
}

.hero h2 {
  position: relative;
  font-size: 3rem;
  color: #ffffff; /* blanco */
}

main {
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.productos-destacados {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.producto {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.producto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.producto h3 {
  margin: 15px 0 10px;
  font-size: 1.3rem;
  color: #ff6600; /* naranja */
}

.producto p.precio {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff; /* blanco */
}

.producto button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #ff6600; /* naranja */
  color: #ffffff; /* blanco */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.producto button:hover {
  background-color: #e65c00; /* naranja más oscuro */
}

.ofertas {
  margin-top: 60px;
}

.ofertas h2 {
  color: #ffffff; /* blanco */
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.ofertas .producto {
  /* reutiliza estilos */
}


/* Carrito flotante / ícono */
.carrito-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ff6600; /* naranja */
  color: #ffffff; /* blanco */
  padding: 15px;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(131, 125, 125, 0.3);
  cursor: pointer;
  z-index: 200;
}

/* === OFERTAS DESTACADAS === */
.ofertas-destacadas {
  width: 100%;
  padding: 80px 5%;
  background: #121212;
  text-align: center;
}

.ofertas-destacadas h2 {
  color: #ff6600;
  font-size: 2.8rem;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.grid-ofertas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  width: 100%;
}

.producto {
  background: #1e1e1e;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.6);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255,102,0,0.4);
}

.producto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.producto h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 10px 0;
}

.precio {
  font-size: 1.2rem;
  color: #ff6600;
  margin-bottom: 15px;
}

.precio .original {
  color: #bbb;
  text-decoration: line-through;
  margin-right: 8px;
}

.etiqueta-descuento {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff6600;
  color: #fff;
  padding: 5px 10px;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 8px;
}

.producto button {
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.producto button:hover {
  background: #e65500;
}

@media (max-width: 768px) {
  .ofertas-destacadas h2 {
    font-size: 2rem;
  }
  .producto img {
    height: 180px;
  }
}

/*SECCION BENEFICIOS */
.beneficios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #1e1e1e; /* fondo oscuro */
  text-align: center;
  border-radius: 8px;
}

.beneficio {
  color: #ffffff; /* blanco */
}

.beneficio i {
  font-size: 3rem;
  color: #ff6600; /* naranja */
  margin-bottom: 15px;
}

.beneficio h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.beneficio p {
  font-size: 0.95rem;
  color: #cccccc;
}

/* diseño del footer */
.footer {
  background-color: #1e1e1e;
  color: #fff;
  padding: 50px 40px 20px;
  border-top: 3px solid #ff6600; /* naranja */
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #ff6600;
  text-align: center;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #ddd;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #ff6600;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  margin: 0 10px 0 0;
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ff6600;
}

.footer-col.libro {
  text-align: right;
    text-align: center;
}

.footer-col.libro img {
  width: 120px;
  margin-top: 10px;
}

.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.metodos-pago img {
  height: 30px;
  margin-left: 10px;
}

 /* === MAPA === */
.mapa-tienda {
  background: #121212;
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.titulo-mapa {
  font-size: 2.5rem;
  color: #ff6600;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mapa-contenedor {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-col.libro {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  nav {
    margin-top: 10px;
  }
  .hero {
    height: 250px;
  }
  .hero h2 {
    font-size: 2rem;
  }
}