/* Ajustes propios sobre Tailwind (CDN) */

/* Cursor del titular animado del hero */
.hero-caret {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    margin-left: 4px;
    background: currentColor;
    vertical-align: -0.08em;
    animation: caret-blink 0.8s steps(1) infinite;
}
@keyframes caret-blink {
    50% { opacity: 0; }
}

/* Banderas del selector de idiomas */
.lang-flag {
    display: inline-block;
    width: 20px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    vertical-align: middle;
}
.lang-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 5px;
    border-radius: 6px;
    transition: background-color 0.15s ease, transform 0.15s ease;
}
.lang-chip:hover {
    background-color: #f3f4f6;
    transform: translateY(-1px);
}
.lang-chip.lang-active {
    background-color: #d1fae5;
    box-shadow: inset 0 0 0 1px #10b981;
}

/* Descripciones HTML de los alimentos: párrafos legibles */
.food-description p {
    margin-bottom: 0.75rem;
}
.food-description strong {
    color: #065f46;
}

/* Selector de orden sin flecha doble por defecto */
#sort {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1em;
    padding-right: 2rem;
}
