body {
    background-color: #006352;
    color: white;
    font-family: 'K2D', sans-serif;
    margin: 0;
    padding: 1rem;
}

header {
    background-color: #006352;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Estilo para navegación de categorías */
nav.categorias {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

nav.categorias a {
    background-color: #00b06b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.7rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s ease;
}

nav.categorias a:hover {
    background-color: #00965e;
}

nav.categorias a.active {
    background-color: #ed5c39; /* Cambia color cuando está activo o hover */
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-imagen {
    height: 50px;
    max-width: 100%;
}

.logo-text {
    font-family: 'Chonburi', cursive;
    font-size: 1.5rem;
    color: #f9dce5;
}

.volver {
    font-size: 0.9rem;
    color: #f9dce5;
    text-decoration: none;
    background: #00b06b;
    padding: 6px 12px;
    border-radius: 8px;
}

.receta {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

h1 {
    font-family: 'Chonburi', cursive;
    font-size: 2rem;
    color: #f9dce5;
    margin: 1rem 0;
}


h2 {
    color: #f9dce5;
    font-size: 1.2rem;
}

h3 {
    color: #00b06b;
    margin-top: 30px;
}

.video iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    margin-top: 10px;
    border-radius: 10px;
}

.ingredientes, .pasos {
    background-color: #f9dce5;
    color: #333;
    padding: 15px;
    border-radius: 10px;
    white-space: pre-line;
}

/* Lista limpia de recetas */
ul.lista-recetas {
    list-style: none;
    padding: 0;
    margin: 0;
}

uul.lista-recetas li {
    margin-bottom: 0.8rem;
}

ul.lista-recetas a {
    color: #f9dce5;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    display: inline-block;
    padding: 0.3rem 0;
    transition: color 0.2s;
}
ul.lista-recetas a:hover {
    color: #ed5c39;
}


ul.lista-recetas a strong {
    font-family: 'Chonburi', cursive;
    font-size: 1.2rem;
}

ul.lista-recetas a span {
    font-size: 0.9rem;
    color: #006352;
    font-weight: 600;
}

select {
  background: none;
  border: 1px solid white;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}
select:focus {
  outline: none;
  box-shadow: 0 0 5px white;
}

.consejos {
  margin-top: 30px;
  padding: 15px;
  background: rgba(255,255,255,0.05);
  border-left: 4px solid #ed5c39;
  color: white;
}
.consejos h3 {
  font-family: 'Chonburi';
  font-size: 1.5em;
  margin-bottom: 10px;
}

/* Subtítulo (si decidís incluirlo más adelante) */
.subtitulo-lista {
    font-size: 0.9rem;
    color: #ccc;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ingredientes, .pasos {
  white-space: pre-line;
  line-height: 1.3;
  margin: 0;
  padding: 15px;
  font-size: 1rem;
}

.consejos {
  white-space: pre-line;
  line-height: 1.4; /* un toque más aireado */
  margin-top: 30px;
  padding: 15px;
  background: rgba(255,255,255,0.05);
  border-left: 4px solid #ed5c39;
  color: white;
}

@media (max-width: 600px) {
    .logo-text {
        font-size: 1.1rem;
    }

    .volver {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    nav.categorias {
        justify-content: center;
    }

    nav.categorias a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    h1 {
        font-size: 1.6rem;
        text-align: center;
    }

    ul.lista-recetas a {
        font-size: 1.1rem;
        text-align: center;
    }
}

/* Estilos globales fuera del @media */
ul.lista-recetas a strong {
    font-family: 'Chonburi', cursive;
    font-size: 1.2rem;
}

ul.lista-recetas a span {
    font-size: 0.9rem;
    color: #006352;
    font-weight: 600;
}
