:root {
    --negro: #111111;
    --gris-claro: #f9f9f9;
    --gris-texto: #555555;
    --fuente: 'Inter', sans-serif;
}

body { font-family: var(--fuente); margin: 0; color: var(--negro); background: #fff; }

/* Header */
header {
    position: sticky; top: 0; background: #fff; padding: 20px 5%;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #eee; z-index: 1000;
}
.logo { font-weight: 800; font-size: 1.4rem; letter-spacing: 1px; }
nav a { text-decoration: none; color: var(--negro); margin: 0 15px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }
.icons { display: flex; gap: 20px; }

/* Contenedor Centrado de Categorías */
.main-container {
    max-width: 1200px; /* Centra el contenido en pantallas grandes */
    margin: 0 auto;
    padding: 60px 20px;
}

.category-header { text-align: center; margin-bottom: 60px; }
.category-header h1 { font-size: 2.5rem; font-weight: 300; text-transform: uppercase; letter-spacing: 2px; }

/* Grid de Productos */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    justify-content: center; /* Centra los items si no llenan la fila */
}

.img-placeholder {
    background: var(--gris-claro);
    aspect-ratio: 1/1; /* Mantiene el cuadro cuadrado */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden; /* Corta lo que sobresalga */
    position: relative;
}

/* Añade esta regla nueva para cuando pongas fotos reales */
.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* La imagen llena el cuadro sin estirarse */
    object-position: center; /* Centra la parte importante de la foto */
}

/* Texto Descriptivo Final */
.category-bio {
    max-width: 700px;
    margin: 80px auto 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--gris-texto);
    line-height: 1.8;
}

footer { padding: 40px; text-align: center; font-size: 0.75rem; border-top: 1px solid #eee; color: #999; }