/* TIPOGRAFÍA DE TÍTULOS (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&display=swap');

/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --color-header-fondo: #171412;   /* Espresso muy oscuro */
    --color-principal: #3B2B23;      /* Chocolate — títulos y textos destacados */
    --color-acento: #8C7A67;         /* Taupe cálido — detalles/acentos */
    --color-fondo: #F2EAE1;          /* Beige arena muy claro — fondo de secciones */
    --color-fondo-logo: #F7F2EB;     /* Marfil — fondo del logo */
    --color-claro: #C5B5A5;          /* Beige/taupe — subrayados y detalles */
    --color-texto: #3B2B23;
    --color-header-texto: #F7F2EB;
    --fuente-titulos: 'Cormorant Garamond', Georgia, serif;
    --radio-boton: 8px;
    --sombra-tarjeta: 0 3px 10px rgba(0, 0, 0, 0.08);
    --sombra-tarjeta-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ESTILOS GENERALES */
head {
    
    padding: 10px;
    text-align: center;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
}

/* HEADER */
header {
    background-color: var(--color-header-fondo);
    color: var(--color-header-texto);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* NAVEGACIÓN */
header nav ul li a {
    color: var(--color-header-texto);
    padding-bottom: 3px;
    transition: border-bottom 0.2s ease;
}

header nav ul li a:hover {
    border-bottom: 2px solid var(--color-claro);
}

/* CONTENIDO */
main {
    padding: 30px;
}

section {
    margin-bottom: 40px;
    
}

/* TÍTULOS */
h1, h2, h3, h4, h5 {
    font-family: var(--fuente-titulos);
    color: var(--color-principal);
    margin-bottom: 10px;
}
h1 {
    font-size: 42px;
    font-weight: 700;
}
h2 {
    font-size: 30px;
    font-weight: 600;
}

/* FOOTER (si lo tenés) */
footer {
   
    background-color: var(--color-claro);
    padding: 15px;
    text-align: center;
    font-size: 14px;
}
   

.btn-wsp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 4px;
  background-color: transparent;
  color: var(--color-principal);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid var(--color-claro);
  transition: color 0.2s ease, border-color 0.2s ease;
}
 
.btn-wsp::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233B2B23'><path d='M12 2C6.48 2 2 6.48 2 12c0 1.85.5 3.58 1.35 5.05L2 22l5.05-1.32A9.94 9.94 0 0 0 12 22c5.52 0 10-4.48 10-10S17.52 2 12 2zm5.2 14.2c-.22.62-1.28 1.2-1.77 1.24-.46.05-1.03.07-1.66-.1-.38-.1-.87-.28-1.5-.55-2.63-1.14-4.34-3.8-4.47-3.98-.13-.18-1.07-1.42-1.07-2.71s.68-1.92.92-2.18c.24-.26.53-.32.7-.32h.5c.16 0 .38-.03.58.44.22.53.75 1.82.82 1.95.07.13.11.29.02.47-.09.18-.14.29-.27.45-.14.16-.29.36-.41.48-.14.14-.28.28-.12.55.16.27.71 1.17 1.52 1.9 1.04.94 1.92 1.23 2.19 1.37.27.14.43.11.59-.07.16-.18.68-.79.86-1.06.18-.27.35-.22.59-.13.24.09 1.53.72 1.79.85.27.13.44.2.51.31.07.11.07.63-.15 1.25z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
 
.btn-wsp:hover {
  color: var(--color-acento);
  border-color: var(--color-acento);
}
.btn-wsp i {
  margin-right: 8px;
}
.btn-wsp {
  align-self: flex-start;
}


/*logo*/
.logo {
    background-image: url('/static/imagenes/logo.jpeg');
    background-size: 130%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-fondo-logo);
    width: 140px;
    height: 140px;
    border-radius: 6px;
    margin: 0 auto 8px auto;
}
/* ESTILOS ESPECÍFICOS PARA SERVICIOS. */


.lista-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}
.servicios {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--sombra-tarjeta);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.servicios:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-tarjeta-hover);
}
.servicios h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.servicios img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.servicios .btn-wsp {
  width: 100%;
  text-align: center;
}


/* ESTILOS ESPECÍFICOS PARA PRODUCTOS */

.lista-productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}
.producto {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--sombra-tarjeta);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.producto:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-tarjeta-hover);
}
.producto h3 {
  font-size: 22px;
  margin-bottom: 4px;
}
.producto img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.producto .btn-wsp {
  width: 100%;
  text-align: center;
}
/* BOTÓN "AGREGAR AL CARRITO" */
.btn-agregar-carrito {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  background-color: var(--color-principal);
  color: #fff;
  border: none;
  border-radius: var(--radio-boton);
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-agregar-carrito:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* BOTÓN FLOTANTE DEL CARRITO */
#boton-carrito-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-principal);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

#contador-carrito {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PANEL DESPLEGABLE DEL CARRITO */
#panel-carrito {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 280px;
  max-height: 400px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 15px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

#panel-carrito.abierto {
  display: flex;
}

#panel-carrito h3 {
  margin-bottom: 5px;
}

#lista-carrito {
  list-style: none;
  overflow-y: auto;
  max-height: 200px;
}

#lista-carrito li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-claro);
}

.carrito-vacio {
  color: #888;
  text-align: center;
  border-bottom: none !important;
}

.btn-quitar {
  background: none;
  border: none;
  color: #c0392b;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

.panel-carrito-acciones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#btn-vaciar-carrito {
  background: none;
  border: 1px solid var(--color-principal);
  color: var(--color-principal);
  padding: 8px;
  border-radius: var(--radio-boton);
  cursor: pointer;
}

#btn-enviar-pedido {
  background-color: #25D366;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: var(--radio-boton);
  font-weight: 600;
  cursor: pointer;
}

.admin-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 20px;
}

.volver-panel {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--color-principal);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.volver-panel:hover {
  text-decoration: underline;
}

.admin-content .admin-bloque {
  margin-bottom: 0;
}

.admin-content .admin-bloque + .admin-bloque {
  margin-top: 20px;
}

.imagen-actual {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 15px;
  box-shadow: var(--sombra-tarjeta);
}

.acciones-panel {
  display: flex;
  gap: 12px;
  padding: 20px;
  flex-wrap: wrap;
}

.acciones-panel a {
  display: inline-block;
  padding: 10px 18px;
  background-color: var(--color-principal);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radio-boton);
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.acciones-panel a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.tabla-panel {
  width: calc(100% - 40px);
  margin: 0 20px 30px 20px;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sombra-tarjeta);
}

.tabla-panel th {
  background-color: var(--color-principal);
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  font-family: var(--fuente-titulos);
  font-size: 16px;
}

.tabla-panel td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-claro);
  vertical-align: middle;
}

.tabla-panel tr:last-child td {
  border-bottom: none;
}

.tabla-panel tr:hover td {
  background-color: var(--color-fondo);
}

.tabla-panel img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.estado-disponible {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  background-color: #dff5e1;
  color: #1e7d34;
  font-size: 13px;
  font-weight: 600;
}

.estado-agotado {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  background-color: #fde0e0;
  color: #c0392b;
  font-size: 13px;
  font-weight: 600;
}

.tabla-panel td a {
  display: inline-block;
  margin-right: 10px;
  color: var(--color-principal);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.tabla-panel td a:hover {
  text-decoration: underline;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--color-principal);
  color: #fff;
}

.admin-header a {
  color: #fff;
}

.admin-login {
  max-width: 320px;
  margin: 80px auto;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.admin-login form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.error-login {
  color: #c0392b;
  font-weight: 600;
  text-align: center;
  margin: 10px 0;
}

.admin-layout {
  display: flex;
  gap: 20px;
  padding: 20px;
  align-items: flex-start;
}

.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
}

.admin-main {
  flex: 1;
}

.admin-bloque {
  background-color: #fff;
  border: 1px solid var(--color-claro);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}

.admin-lista-chica {
  list-style: none;
  margin-bottom: 10px;
}

.admin-lista-chica li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--color-claro);
}

.form-inline {
  display: inline-flex;
  gap: 6px;
}

.admin-bloque > .form-inline {
  display: flex;
  margin-top: 8px;
}

.form-producto {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-producto input,
.form-producto select,
.form-producto textarea {
  padding: 8px;
  border: 1px solid var(--color-claro);
  border-radius: var(--radio-boton);
  width: 100%;
  box-sizing: border-box;
}

.admin-tabla-productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.admin-producto-card {
  border: 1px solid var(--color-claro);
  border-radius: 10px;
  padding: 12px;
}

.admin-producto-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radio-boton);
  margin-bottom: 8px;
}

.btn-eliminar-producto {
  width: 100%;
  margin-top: 8px;
  background-color: #c0392b;
  color: #fff;
  border: none;
  padding: 8px;
  border-radius: var(--radio-boton);
  cursor: pointer;
}

.marca-producto {
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  margin: 2px 0;
}

.precio-producto {
  display: inline-block;
  align-self: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-principal);
  background-color: var(--color-fondo);
  padding: 4px 14px;
  border-radius: 20px;
  margin: 4px 0;
}

/* BOTÓN DE INSTAGRAM */
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 4px;
  background: transparent;
  color: var(--color-principal);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid var(--color-claro);
  transition: color 0.2s ease, border-color 0.2s ease;
}
 
.btn-instagram::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233B2B23'><path d='M12 2.16c3.2 0 3.58.01 4.85.07 1.17.05 1.8.25 2.23.41.56.22.96.48 1.38.9.42.42.68.82.9 1.38.16.42.36 1.06.41 2.23.06 1.27.07 1.65.07 4.85s-.01 3.58-.07 4.85c-.05 1.17-.25 1.8-.41 2.23-.22.56-.48.96-.9 1.38-.42.42-.82.68-1.38.9-.42.16-1.06.36-2.23.41-1.27.06-1.65.07-4.85.07s-3.58-.01-4.85-.07c-1.17-.05-1.8-.25-2.23-.41a3.72 3.72 0 0 1-1.38-.9 3.72 3.72 0 0 1-.9-1.38c-.16-.42-.36-1.06-.41-2.23-.06-1.27-.07-1.65-.07-4.85s.01-3.58.07-4.85c.05-1.17.25-1.8.41-2.23.22-.56.48-.96.9-1.38.42-.42.82-.68 1.38-.9.42-.16 1.06-.36 2.23-.41 1.27-.06 1.65-.07 4.85-.07M12 0C8.74 0 8.33.01 7.05.07 5.78.13 4.9.33 4.14.63c-.79.31-1.46.72-2.13 1.39A5.83 5.83 0 0 0 .62 4.14C.33 4.9.13 5.78.07 7.05.01 8.33 0 8.74 0 12s.01 3.67.07 4.95c.06 1.27.26 2.15.56 2.91.31.79.72 1.46 1.39 2.13a5.83 5.83 0 0 0 2.13 1.39c.76.3 1.64.5 2.91.56 1.28.06 1.69.07 4.95.07s3.67-.01 4.95-.07c1.27-.06 2.15-.26 2.91-.56a5.83 5.83 0 0 0 2.13-1.39 5.83 5.83 0 0 0 1.39-2.13c.3-.76.5-1.64.56-2.91.06-1.28.07-1.69.07-4.95s-.01-3.67-.07-4.95c-.06-1.27-.26-2.15-.56-2.91a5.83 5.83 0 0 0-1.39-2.13A5.83 5.83 0 0 0 19.86.63c-.76-.3-1.64-.5-2.91-.56C15.67.01 15.26 0 12 0zm0 5.84A6.16 6.16 0 1 0 18.16 12 6.16 6.16 0 0 0 12 5.84zm0 10.16A4 4 0 1 1 16 12a4 4 0 0 1-4 4zm6.41-10.4a1.44 1.44 0 1 1-1.44-1.44 1.44 1.44 0 0 1 1.44 1.44z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
 
.btn-instagram:hover {
  color: var(--color-acento);
  border-color: var(--color-acento);
}

.foto-anto {
    width: 300px;
    height: auto;
    border-radius: 8px;
    display: block;      /* ← esto */
    margin: 0 auto;      /* ← y esto */
}
/* CONTACTO — filas tipo ícono + etiqueta + dato (estilo Cande) */

.contacto-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 20px auto;
}

.contacto-fila {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background-color: #fff;
  border-radius: var(--radio-boton);
  box-shadow: var(--sombra-tarjeta);
  text-decoration: none;
  color: var(--color-texto);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.contacto-fila:hover {
  transform: translateY(-2px);
  box-shadow: var(--sombra-tarjeta-hover);
}

.contacto-icono {
  font-size: 22px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-fondo);
  flex-shrink: 0;
}

.contacto-texto {
  display: flex;
  flex-direction: column;
}

.contacto-etiqueta {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.contacto-dato {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-texto);
}

/* Preservar saltos de línea en la descripción de servicios (precios en varias líneas) */
.servicios p {
  white-space: pre-line;
  text-align: left;
}

/* ============================================================
   ÍCONOS REALES en las filas de contacto (ícono + etiqueta + dato)
   Agregá esto al final de tu style.css (no reemplaza nada, es nuevo)
   ============================================================ */

.contacto-icono.icono-whatsapp,
.contacto-icono.icono-instagram {
  font-size: 0; /* oculta el texto/emoji que quede adentro del span */
}

.contacto-icono.icono-whatsapp::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233B2B23'><path d='M12 2C6.48 2 2 6.48 2 12c0 1.85.5 3.58 1.35 5.05L2 22l5.05-1.32A9.94 9.94 0 0 0 12 22c5.52 0 10-4.48 10-10S17.52 2 12 2zm5.2 14.2c-.22.62-1.28 1.2-1.77 1.24-.46.05-1.03.07-1.66-.1-.38-.1-.87-.28-1.5-.55-2.63-1.14-4.34-3.8-4.47-3.98-.13-.18-1.07-1.42-1.07-2.71s.68-1.92.92-2.18c.24-.26.53-.32.7-.32h.5c.16 0 .38-.03.58.44.22.53.75 1.82.82 1.95.07.13.11.29.02.47-.09.18-.14.29-.27.45-.14.16-.29.36-.41.48-.14.14-.28.28-.12.55.16.27.71 1.17 1.52 1.9 1.04.94 1.92 1.23 2.19 1.37.27.14.43.11.59-.07.16-.18.68-.79.86-1.06.18-.27.35-.22.59-.13.24.09 1.53.72 1.79.85.27.13.44.2.51.31.07.11.07.63-.15 1.25z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

.contacto-icono.icono-instagram::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233B2B23'><path d='M12 2.16c3.2 0 3.58.01 4.85.07 1.17.05 1.8.25 2.23.41.56.22.96.48 1.38.9.42.42.68.82.9 1.38.16.42.36 1.06.41 2.23.06 1.27.07 1.65.07 4.85s-.01 3.58-.07 4.85c-.05 1.17-.25 1.8-.41 2.23-.22.56-.48.96-.9 1.38-.42.42-.82.68-1.38.9-.42.16-1.06.36-2.23.41-1.27.06-1.65.07-4.85.07s-3.58-.01-4.85-.07c-1.17-.05-1.8-.25-2.23-.41a3.72 3.72 0 0 1-1.38-.9 3.72 3.72 0 0 1-.9-1.38c-.16-.42-.36-1.06-.41-2.23-.06-1.27-.07-1.65-.07-4.85s.01-3.58.07-4.85c.05-1.17.25-1.8.41-2.23.22-.56.48-.96.9-1.38.42-.42.82-.68 1.38-.9.42-.16 1.06-.36 2.23-.41 1.27-.06 1.65-.07 4.85-.07M12 0C8.74 0 8.33.01 7.05.07 5.78.13 4.9.33 4.14.63c-.79.31-1.46.72-2.13 1.39A5.83 5.83 0 0 0 .62 4.14C.33 4.9.13 5.78.07 7.05.01 8.33 0 8.74 0 12s.01 3.67.07 4.95c.06 1.27.26 2.15.56 2.91.31.79.72 1.46 1.39 2.13a5.83 5.83 0 0 0 2.13 1.39c.76.3 1.64.5 2.91.56 1.28.06 1.69.07 4.95.07s3.67-.01 4.95-.07c1.27-.06 2.15-.26 2.91-.56a5.83 5.83 0 0 0 2.13-1.39 5.83 5.83 0 0 0 1.39-2.13c.3-.76.5-1.64.56-2.91.06-1.28.07-1.69.07-4.95s-.01-3.67-.07-4.95c-.06-1.27-.26-2.15-.56-2.91a5.83 5.83 0 0 0-1.39-2.13A5.83 5.83 0 0 0 19.86.63c-.76-.3-1.64-.5-2.91-.56C15.67.01 15.26 0 12 0zm0 5.84A6.16 6.16 0 1 0 18.16 12 6.16 6.16 0 0 0 12 5.84zm0 10.16A4 4 0 1 1 16 12a4 4 0 0 1-4 4zm6.41-10.4a1.44 1.44 0 1 1-1.44-1.44 1.44 1.44 0 0 1 1.44 1.44z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}


/* ============================================================
   Arreglo: títulos DENTRO del header tienen que usar el color
   claro (marfil), no el chocolate oscuro que usan los títulos
   normales del resto del sitio.
   ============================================================ */
header h1,
header h2,
header h3,
header p {
    color: var(--color-header-texto);
}

/* Menú horizontal, sin viñetas, centrado */
header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin: 10px 0 0 0;
}

/* ============================================================
   Arreglo: títulos DENTRO del header tienen que usar el color
   claro (marfil), no el chocolate oscuro que usan los títulos
   normales del resto del sitio.
   ============================================================ */
header h1,
header h2,
header h3,
header p {
    color: var(--color-header-texto);
}

/* Menú horizontal, sin viñetas, centrado */
header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin: 10px 0 0 0;
}

/* Color por defecto para cualquier link que no tenga una clase
   propia (ej: "Volver al inicio", el índice de categorías) */
a {
    color: var(--color-principal);
}

a:visited {
    color: var(--color-principal);
}

a:hover {
    color: var(--color-acento);
}/* Arreglo: los links del menú, aunque estén "visitados", tienen
   que seguir en color claro (marfil), no heredar el marrón de
   los links sueltos */


   header nav ul li a:visited {
    color: var(--color-header-texto);
}

/* Arreglo: los botones que son <a> (acciones del panel, header
   del admin, "volver al panel", links dentro de la tabla) tienen
   que conservar SU color propio aunque estén "visitados" */
.acciones-panel a:visited {
    color: #fff;
}

.admin-header a:visited {
    color: #fff;
}

.volver-panel:visited {
    color: var(--color-principal);
}

.tabla-panel td a:visited {
    color: var(--color-principal);
}
