@import url('https://fonts.googleapis.com/css2?family=Anton&family=Karla:ital,wght@0,200..800;1,200..800&family=Quicksand:wght@300..700&display=swap');

/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding-top: 80px; /* mismo alto que el header */
    background-image: url("background.png");
    background-size: cover;
    background-position: center; /* centrada */
    background-attachment: fixed; /* efecto fijo al hacer scroll */
    align-content: center;
}

/* 
=============================
Header
=============================
*/

.headerbox {
    background: #183b7c;
    color: whitesmoke;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    margin: 0;
    padding: 0 5px;
    z-index: 10000;
}

.headerdiv {
    display: flex;
    margin: 0;
    padding: 0;
    left: 0;
    width: 100%;
}

.headerdiv img {
    max-width: 130px;
    width: 90px;
    
}

.headerdiv h1 {
    padding-left: 5px;
}

.headerbox nav {
    display: flex;
    align-content: space-between;
    padding: 0;
}

.cotiza-btn-header {
    background-color: #f7b32b;
    color: #1a4f78;
    padding: 3px 5px;        
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: auto;
}

.cotiza-btn-header:hover {
    background-color: #e6a210;
    transform: translateY(-3px);
}

/* 
===============================
Promocional Powered by: Visualiz
=============================== */

.end {
    padding: 12px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.3); /* sombra */          
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.end img {
    width: 60%;
    max-width: 450px;
}

/* Página de productos */
.productos-page {
  padding: 30px;
  text-align: center;
  background-color: rgba(255,255,255,0.9);
  border-radius: 12px;
  margin: 20px;
}

.productos-hero h1 {
  font-size: 2rem;
  color: #183b7c;
  margin-bottom: 10px;
}

.productos-hero p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

/* Grid de productos */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.producto-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.producto-card img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 15px;
}


.producto-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.product-name {
    font-family: Anton;
    font-weight: 700;
    font-size: 2rem;
    color: #183b7c;
    margin-bottom: 10px;
}

/* Botón de producto */
.btn-producto {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f7b32b;
  color: #183b7c;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-producto:hover {
  background-color: #e6a210;
  transform: translateY(-3px);
}

/* Filtros y buscador */
.productos-filtros {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 30px;
}

#searchInput {
  padding: 10px;
  width: 80%;
  max-width: 400px;
  border-radius: 50px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-bottom: 15px;
}

.categorias {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filtro-btn {
  padding: 8px 15px;
  background-color: #f7b32b;
  color: #183b7c;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filtro-btn.active,
.filtro-btn:hover {
  background-color: #e6a210;
  color: white;
}

/* Grid de productos ya lo tienes, lo reutilizamos */
