/* ============================= */
/* VARIABLES OUTDOOR */
/* ============================= */
:root {
  --primary: #1b5e20;     /* Verde montaña */
  --accent: #ff6f00;      /* Naranja energía */
  --dark: #1e1e1e;
  --light: #f4f6f4;
}

/* RESET */
* {
  box-sizing: border-box;
}

/* ============================= */
/* GENERAL */
/* ============================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--light);
  color: var(--dark);
}

/* ============================= */
/* HEADER OUTDOOR */
/* ============================= */
.shop-header {
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('img/banner-outdoor.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  height: 450px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: white;
  text-align: center;
}

.shop-header h1 {
  margin: 0;
  font-size: 48px;
  letter-spacing: 4px;
  font-weight: 800;
}

.shop-header p {
  margin-top: 15px;
  font-size: 18px;
  opacity: 0.95;
}


/* ============================= */
/* FILTROS */
/* ============================= */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 25px;
  background: white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.filters select {
  padding: 10px 14px;
  font-size: 14px;
  min-width: 180px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.filters select:hover {
  border-color: var(--primary);
}

/* BOTÓN LIMPIAR */
.reset-btn {
  padding: 10px 20px;
  background-color: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
  display: block;
  margin: 0 auto 25px;
  transition: 0.2s ease;
}

.reset-btn:hover {
  background-color: #e65100;
}

/* ============================= */
/* CATÁLOGO */
/* ============================= */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
  padding: 35px;
  max-width: 1300px;
  margin: 0 auto;
}

/* ============================= */
/* TARJETAS OUTDOOR */
/* ============================= */
.product {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

/* IMAGEN */
.product img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: var(--light);
  padding: 20px;
}

/* TEXTO */
.product h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 15px 15px 5px;
  color: var(--dark);
}

.product .brand {
  font-size: 13px;
  margin: 5px 15px 0;
  font-weight: 600;
  color: var(--accent);
}

.product .size {
  font-size: 13px;
  margin: 0 15px;
  color: #666;
}

.price {
  font-size: 17px;
  font-weight: 800;
  margin: 10px 15px 20px;
  color: var(--primary);
}

/* ============================= */
/* RESPONSIVE – CELULAR */
/* ============================= */
@media (max-width: 768px) {

  .shop-header h1 {
    font-size: 28px;
  }

  .filters {
    flex-direction: column;
    padding: 15px;
  }

  .filters select,
  .reset-btn {
    width: 100%;
    font-size: 15px;
  }

  /* 2 productos por fila */
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 15px;
  }

  .product img {
    height: 160px;
  }

  .product h3 {
    font-size: 13px;
  }

  .price {
    font-size: 14px;
  }
}

/* ============================= */
/* BOTÓN WHATSAPP */
/* ============================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  padding: 12px 16px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 9999;
}

.whatsapp-float img {
  width: 26px;
  height: 26px;
}

/* BOTÓN WHATSAPP POR PRODUCTO */

.product-whatsapp {
  display: block;
  margin: 10px 15px 20px;
  padding: 8px 10px;
  text-align: center;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.2s ease;
}

.product-whatsapp:hover {
  background-color: var(--accent);
}

@media (max-width: 768px) {
  .shop-header {
    height: 300px;
  }

  .shop-header h1 {
    font-size: 28px;
  }

  .shop-header p {
    font-size: 14px;
  }
}

.about-shop {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.about-shop h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary);
}

.about-shop p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}
