body {
  font-family: "Tahoma", sans-serif;
  background-color: #fbf6ef;
  color: #3a2a1f;
  margin: 0;
}

/* ENCABEZADO */
header {
  background: linear-gradient(#c97c5d, #b7684d);
  color: white;
  text-align: center;
  padding: 1.8rem 1rem;
  border-bottom: 4px solid #8b5e3c;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

header p {
  margin-top: 5px;
  font-size: 0.95rem;
  opacity: 0.95;
}

/* MENÚ */
nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


nav a {
  margin-top: 10px;
  text-decoration: none;
  color: #8b5e3c;
  font-weight: bold;
  font-size: 0.95rem;
}

nav a:hover {
  color: #c97c5d;
}

/* CONTENIDO */
main {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* TARJETAS */
.card {
  background: white;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 25px;
  border: 1px solid #e7d6c6;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
  position: relative;
}

/* línea decorativa tipo recetario */
.card::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: #e7d6c6;
}

/* TITULOS */
.card h2 {
  margin-top: 0;
  color: #8b5e3c;
  border-bottom: 2px dotted #e7d6c6;
  padding-bottom: 5px;
}

.card h3 {
  margin-bottom: 6px;
  color: #7a8f6a;
}

/* LISTAS */
ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 4px;
}

/* STATS */
.stats {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 5px;
}

.stats li {
  background: #f9f3ec;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 0.85rem;
  border: 1px solid #e7d6c6;
}

/* PIE */
footer {
  text-align: center;
  padding: 12px;
  font-size: 0.85rem;
  background-color: #f3e6d8;
  border-top: 2px dashed #e7d6c6;
}

.lang-switch {
  margin-top: 10px;
}

.lang-switch button {
  background: #f3e6d8;
  border: 1px solid #e7d6c6;
  border-radius: 8px;
  padding: 4px 10px;
  margin: 0 3px;
  cursor: pointer;
  font-weight: bold;
}

.lang-switch button:hover {
  background: #e7d6c6;
}

.filter-bar {
  background: #f3e6d8;
  border: 1px dashed #e7d6c6;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-bar select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e7d6c6;
  background: white;
}



