/* ================================================= */
/* Archivo: style.css (Versión Consistente)          */
/* ================================================= */

/* Reseteo y Tipografía */
body { 
    font-family: Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    background-color: #f4f4f4; 
}

/* Encabezado Superior (Black Bar) */
.header-top { 
    background-color: #000; 
    color: #fff; 
    padding: 10px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.logo { 
    font-size: 24px; 
    font-weight: bold; 
    color: #fff; 
}
.search-bar input { 
    padding: 8px 10px; 
    border: none; 
    border-radius: 3px; 
    width: 250px;
    box-sizing: border-box;
}
.user-cart-icons span {
    margin-left: 15px;
    cursor: pointer;
    font-size: 1.5em;
}


/* Barra de Navegación */
.nav-bar { 
    background-color: #000; 
    text-align: left; 
    padding: 0 20px;
}
.nav-bar a { 
    color: #fff; 
    text-decoration: none; 
    padding: 15px 20px; 
    display: inline-block; 
    border-bottom: 3px solid transparent; 
    transition: all 0.3s; 
    font-weight: bold;
}
.nav-bar a.active { 
    background-color: #fff; 
    color: #000; 
    border-bottom: 3px solid #000; 
}

/* Contenido Principal */
.main-content { 
    padding: 30px 40px; 
    max-width: 1200px; 
    margin: 0 auto; 
    background-color: #fff; 
    min-height: 80vh; 
}
.main-content h1 {
    font-size: 32px;
    margin-bottom: 30px;
}
.whatsapp-btn { 
    float: right; 
    margin-top: -55px; 
    background-color: #5cb85c; 
    color: #fff; 
    padding: 10px 20px; 
    border-radius: 5px; 
    text-decoration: none; 
    font-weight: bold; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Cuadrícula de Productos */
.product-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: flex-start; 
    gap: 20px; 
}
.product-item { 
    width: calc(25% - 15px); 
    margin-bottom: 20px; 
    text-align: center; 
    border: 1px solid #ccc; 
    padding: 15px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.05); 
    background-color: #fff;
    min-height: 350px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-item img { 
    width: 100%; 
    height: auto; 
    margin-bottom: 10px; 
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
}
.product-name { 
    font-size: 14px; 
    min-height: 40px; 
    margin: 10px 0;
    flex-grow: 1;
}
.price { 
    color: #000; 
    font-size: 20px; 
    font-weight: bold; 
    margin-bottom: 15px; 
}
.buy-btn { 
    background-color: #00bcd4; 
    color: #000; 
    padding: 12px 20px; 
    text-decoration: none; 
    display: block; 
    font-weight: bold; 
    border-radius: 3px; 
    transition: background-color 0.3s;
}
.buy-btn:hover {
    background-color: #0097a7;
    color: #fff;
}
/* Ocultar elementos de páginas no principales */
.footer-cta { display: none; }
.footer { display: none; }