:root {
    --rosa-principal: #E85D8E;
    --rosa-pastel: #F7D6E2;
    --crema: #FFF8F5;
    --gris-calido: #D9D2D5;
    --verde-salvia: #DDE9DF;
}

body {
    background-color: var(--crema);
    color: #333;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 60px;

}

h1, h2, h3 {
    color: var(--rosa-principal);
    font-family: Georgia, serif;
}

a {
    color: var(--rosa-principal);
    text-decoration: none;
}

.catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    padding: 30px 20px;
}

.seccion-categoria {
    margin-bottom: 50px;
}

.seccion-categoria h2 {
    margin-bottom: 20px;
}

.producto {
    background-color: white;
    border: none;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.producto:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.producto img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.producto h3 {
    margin: 12px 0 4px 0;
    font-size: 1.1em;
}

.producto p:not(.texto-agotado) {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    margin: 4px 0;
    color: #555;
}

.catalogo.destacados-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}


button, input[type="submit"] {
    background-color: var(--rosa-principal);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background-color: var(--verde-salvia);
}

.inicio {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--rosa-pastel);
}

.inicio h1 {
    font-size: 3em;
    margin-bottom: 0;
}

.subtitulo {
    font-style: italic;
    color: #555;
}

.presentacion, .taller {
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    text-align: center;
}

.foto-presentacion, .foto-taller {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    margin-top: 16px;
}

.navegacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--crema);
    text-align: left;
    padding: 15px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 100;
    box-sizing: border-box;
}


.navegacion a {
    background-color: var(--rosa-principal);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.navegacion a:hover {
    background-color: var(--verde-salvia);
    color: #333;
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--rosa-pastel);
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 4px;
}



.contacto {
    max-width: 500px;
    margin: 60px auto;
    padding: 30px;
}

.contacto h2 {
    margin-bottom: 30px;
}

.fila-contacto {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.icono-contacto {
    background-color: var(--rosa-pastel);
    color: var(--rosa-principal);
    font-size: 1.5em;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icono-contacto i {
    font-size: 1.2em;
}

.etiqueta-contacto {
    font-weight: bold;
    color: var(--rosa-principal);
    margin: 0 0 4px 0;
}

.fila-contacto a {
    color: #444;
}

.boton {
    display: inline-block;
    background-color: var(--rosa-principal);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s ease;
}

.boton:hover {
    background-color: var(--verde-salvia);
    color: #333;
}
.logo-header {
    max-width: 280px;
    width: 100%;
    height: auto;
}
.titulo-categoria {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--rosa-pastel);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.icono-categoria {
    font-size: 1.5em;
}

.titulo-categoria h2 {
    margin: 0;
}

.texto-agotado {
    color: #b85c5c;
    font-size: 0.9em;
    font-style: italic;
}

.insignia-personalizable {
    display: inline-block;
    background-color: var(--rosa-pastel);
    color: var(--rosa-principal);
    font-size: 0.75em;
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 4px;
}

.destacados {
    text-align: center;
    padding: 40px 20px;
}

.destacados h2 {
    margin-bottom: 30px;
}

.galeria-taller {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.galeria-taller img {
    width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}
.panel-admin {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

.acciones-panel {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.acciones-panel a {
    background-color: var(--rosa-principal);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
}

.tabla-panel {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.tabla-panel th {
    background-color: var(--rosa-pastel);
    color: var(--rosa-principal);
    padding: 12px;
    text-align: left;
}

.tabla-panel td {
    padding: 12px;
    border-top: 1px solid #eee;
}

.tabla-panel img {
    border-radius: 8px;
    object-fit: cover;
}

.estado-disponible {
    color: #4a9463;
    font-weight: bold;
}

.estado-agotado {
    color: #c0555a;
    font-weight: bold;
}

.acciones-fila a {
    margin-right: 10px;
    font-size: 0.9em;
}

.form-admin {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.form-admin label {
    display: block;
    font-weight: bold;
    color: var(--rosa-principal);
    margin-top: 16px;
    margin-bottom: 6px;
}

.form-admin input[type="text"],
.form-admin input[type="number"],
.form-admin input[type="password"],
.form-admin textarea,
.form-admin select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gris-calido);
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
}

.form-admin button {
    margin-top: 20px;
    width: 100%;
}

.link-volver {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--rosa-principal);
    font-weight: bold;
}