/* Ocultar etiquetas únicamente en el desplegable de recetas */
.cooked-tax-column:has(.cooked-tag) {
    display: none !important;
}
/* Centrar el desplegable respecto a la barra de búsqueda */
.cooked-recipe-search .cooked-field-wrap-select,
.cooked-recipe-search .cooked-browse-select {
    position: static;
}

.cooked-recipe-search .cooked-browse-select-block {
    left: 0 !important;
    right: 0 !important;
    width: calc(100% - 24px) !important;
    margin: 12px auto 0 !important;
    box-sizing: border-box;
    padding: 24px !important;
    gap: 24px;
    flex-wrap: wrap;
}

/* Repartir el espacio entre los grupos visibles */
.cooked-browse-select-block .cooked-tax-column {
    flex: 1 1 200px;
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
    box-sizing: border-box;
}

.cooked-browse-select-block .cooked-tax-column-title {
    white-space: normal !important;
    line-height: 1.4;
    margin-bottom: 14px;
}

.cooked-browse-select-block .cooked-tax-scrollable a {
    display: block;
    white-space: normal !important;
    line-height: 1.5;
    padding: 7px 0;
}

/* Móvil: grupos apilados y desplazamiento vertical */
@media (max-width: 767px) {
    .cooked-recipe-search .cooked-browse-select-block {
        flex-direction: column;
        flex-wrap: nowrap;
        padding: 20px !important;
        gap: 24px;
        max-height: 65vh;
        overflow-y: auto;
    }

    .cooked-browse-select-block .cooked-tax-column {
        flex: none;
        width: 100% !important;
    }

    .cooked-browse-select-block .cooked-tax-scrollable {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}